Skip to content

Commit f0fe122

Browse files
author
Hasnain Virk
committed
Moving LoRaRadio and LoRaWANBAse to lorawan
LoRaRadio and LoRaWANBase use to exist under netsocket/. However, their logical location should be where the actual stack exists.
1 parent 4432ad9 commit f0fe122

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

features/netsocket/LoRaRadio.h renamed to features/lorawan/LoRaRadio.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
#ifndef LORARADIO_H_
1919
#define LORARADIO_H_
2020

21-
#include <stdint.h>
21+
#include "platform/Callback.h"
2222
#include "PinNames.h"
23-
#include "Callback.h"
2423

2524
/**
2625
* Structure to hold RF controls for LoRa Radio.
File renamed without changes.

features/lorawan/LoRaWANInterface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
#define LORAWANINTERFACE_H_
2020

2121
#include "platform/Callback.h"
22-
#include "netsocket/LoRaWANBase.h"
2322
#include "lorawan/LoRaWANStack.h"
24-
#include "netsocket/LoRaRadio.h"
23+
#include "lorawan/LoRaRadio.h"
24+
#include "lorawan/LoRaWANBase.h"
2525

2626
class LoRaWANInterface: public LoRaWANBase {
2727

features/lorawan/lorastack/phy/LoRaPHY.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
#ifndef MBED_OS_LORAPHY_BASE_
3535
#define MBED_OS_LORAPHY_BASE_
3636

37+
#include "lorawan/LoRaRadio.h"
3738
#include "lorawan/system/LoRaWANTimer.h"
3839
#include "lorawan/lorastack/phy/lora_phy_ds.h"
39-
#include "netsocket/LoRaRadio.h"
4040
#include "platform/NonCopyable.h"
4141

4242
class LoRaPHY : private mbed::NonCopyable<LoRaPHY> {

0 commit comments

Comments
 (0)