lorawan-orbiter-mac-gateway.h
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2017 University of Padova
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: Davide Magrin <magrinda@dei.unipd.it>
19  *
20  * Modified by: Bastien Tauran <bastien.tauran@viveris.fr>
21  */
22 
23 #ifndef LORAWAN_ORBITER_MAC_GATEWAY_H
24 #define LORAWAN_ORBITER_MAC_GATEWAY_H
25 
26 #include "lora-tag.h"
27 #include "lorawan-mac-gateway.h"
28 #include "lorawan-mac.h"
30 
31 #include <stdint.h>
32 
33 namespace ns3
34 {
35 
37 {
38  public:
39  static TypeId GetTypeId(void);
40 
42  LorawanOrbiterMacGateway(uint32_t satId, uint32_t beamId);
43  virtual ~LorawanOrbiterMacGateway();
44 
45  // Implementation of the LorawanMac interface
46  virtual void Send(Ptr<Packet> packet);
47 
48  // Implementation of the LorawanMac interface
49  // virtual void Receive (Ptr<Packet const> packet);
50  virtual void Receive(SatPhy::PacketContainer_t packets, Ptr<SatSignalParameters> /*rxParams*/);
51 
52  private:
53  // BB Frame configuration.
54  protected:
55 };
56 
57 } /* namespace ns3 */
58 
59 #endif /* LORAWAN_ORBITER_MAC_GATEWAY_H */
virtual void Send(Ptr< Packet > packet)
Send a packet.
virtual void Receive(SatPhy::PacketContainer_t packets, Ptr< SatSignalParameters >)
Receive a packet from the lower layer.
SatSignalParameters::PacketsInBurst_t PacketContainer_t
Define PacketContainer in SatPhy.
Definition: satellite-phy.h:79
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.