Loading...
Searching...
No Matches
satellite-gw-helper-lora.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 * Copyright (c) 2018 CNES
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation;
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * Author: Bastien Tauran <bastien.tauran@viveris.fr>
20 */
21
22#ifndef SATELLITE_GW_HELPER_LORA_H
23#define SATELLITE_GW_HELPER_LORA_H
24
25#include "satellite-gw-helper.h"
26
27#include "ns3/satellite-channel.h"
28#include "ns3/satellite-mac.h"
29#include "ns3/satellite-ncc.h"
30#include "ns3/satellite-superframe-sequence.h"
31#include "ns3/satellite-typedefs.h"
32
33#include <stdint.h>
34
35namespace ns3
36{
37
44{
45 public:
50 static TypeId GetTypeId(void);
51
56
62 uint32_t fwdLinkCarrierCount,
63 Ptr<SatSuperframeSeq> seq,
67 RandomAccessSettings_s randomAccessSettings);
68
70 {
71 }
72
91 virtual Ptr<NetDevice> Install(Ptr<Node> n,
92 uint32_t gwId,
93 uint32_t satId,
94 uint32_t beamId,
95 uint32_t feederSatId,
96 uint32_t feederBeamId,
97 Ptr<SatChannel> fCh,
98 Ptr<SatChannel> rCh,
100 Ptr<SatNcc> ncc,
101 Ptr<SatLowerLayerServiceConf> llsConf);
102};
103
104} // namespace ns3
105
106#endif /* SATELLITE_GW_HELPER_LORA_H */
SatGwHelper()
Default constructor.
virtual Ptr< NetDevice > Install(Ptr< Node > n, uint32_t gwId, uint32_t satId, uint32_t beamId, uint32_t feederSatId, uint32_t feederBeamId, Ptr< SatChannel > fCh, Ptr< SatChannel > rCh, SatPhy::ChannelPairGetterCallback cbChannel, Ptr< SatNcc > ncc, Ptr< SatLowerLayerServiceConf > llsConf)
SatGwHelperLora()
Default constructor.
static TypeId GetTypeId(void)
Get the type ID.
Callback< uint32_t, Ptr< SatControlMessage > > ReserveCtrlMsgCallback
Callback to reserve an id and initially store the control message.
Callback< uint32_t, uint32_t > SendCtrlMsgCallback
Callback to send a control message and allocate a recv ID for it.
Callback< Ptr< SatControlMessage >, uint32_t > ReadCtrlMsgCallback
Callback to read control messages from container storing control messages.
Callback< SatChannelPair::ChannelPair_t, uint32_t, uint32_t > ChannelPairGetterCallback
Callback for retrieving a pair of SatChannel associated to a beam.
Callback< double, SatEnums::ChannelType_t, uint32_t, SatEnums::CarrierBandwidthType_t > CarrierBandwidthConverter_t
Callback for carrier bandwidths.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.