Loading...
Searching...
No Matches
satellite-lora-conf.h
Go to the documentation of this file.
1/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/*
3 * Copyright (c) 2013 Magister Solutions Ltd
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation;
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 *
18 * Author: Bastien Tauran <bastien.tauran@viveris.fr>
19 */
20
21#ifndef SAT_LORA_CONF_H
22#define SAT_LORA_CONF_H
23
24#include "satellite-conf.h"
25
26#include "ns3/lorawan-mac-end-device-class-a.h"
27#include "ns3/lorawan-mac-gateway.h"
28
29namespace ns3
30{
31
36class SatLoraConf : public Object
37{
38 public:
39 typedef enum
40 {
44
49
50 virtual ~SatLoraConf()
51 {
52 }
53
58 static TypeId GetTypeId(void);
59
60 void SetConf(Ptr<LorawanMacGateway> gatewayMac);
61 void SetConf(Ptr<LorawanMacEndDeviceClassA> endDeviceMac);
62
63 void setSatConfAttributes(Ptr<SatConf> satConf);
64
65 private:
66 void SetEu863_870Conf(Ptr<LorawanMacGateway> gatewayMac);
67 void SetEu863_870Conf(Ptr<LorawanMacEndDeviceClassA> endDeviceMac);
68
69 void SetSatelliteConf(Ptr<LorawanMacGateway> gatewayMac);
70 void SetSatelliteConf(Ptr<LorawanMacEndDeviceClassA> endDeviceMac);
71
73};
74
75} // namespace ns3
76
77#endif /* SAT_LORA_CONF_H */
SatLoraConf()
Default constructor.
void SetConf(Ptr< LorawanMacGateway > gatewayMac)
void SetEu863_870Conf(Ptr< LorawanMacGateway > gatewayMac)
static TypeId GetTypeId(void)
Get the type ID.
@ SATELLITE
For Satellite.
PhyLayerStandard_t m_phyLayerStandard
void SetSatelliteConf(Ptr< LorawanMacGateway > gatewayMac)
void setSatConfAttributes(Ptr< SatConf > satConf)
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.