Merge pull request #6587 from AnttiKauppila/include_fix

LoRa: Internal include paths corrected
pull/6625/head
Cruz Monrreal 2018-04-12 18:31:28 -05:00 committed by GitHub
commit e1a63f9046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 38 additions and 27 deletions

View File

@ -19,7 +19,7 @@
#ifndef LORAWAN_BASE_H_
#define LORAWAN_BASE_H_
#include "lorawan/system/lorawan_data_structures.h"
#include "system/lorawan_data_structures.h"
#include "events/EventQueue.h"
class LoRaWANBase {

View File

@ -19,7 +19,7 @@
* limitations under the License.
*/
#include "lorawan/LoRaWANInterface.h"
#include "LoRaWANInterface.h"
using namespace events;

View File

@ -19,9 +19,9 @@
#define LORAWANINTERFACE_H_
#include "platform/Callback.h"
#include "lorawan/LoRaWANStack.h"
#include "lorawan/LoRaRadio.h"
#include "lorawan/LoRaWANBase.h"
#include "LoRaWANStack.h"
#include "LoRaRadio.h"
#include "LoRaWANBase.h"
class LoRaWANInterface: public LoRaWANBase {

View File

@ -27,7 +27,8 @@ SPDX-License-Identifier: BSD-3-Clause
#include <stdlib.h>
#include "platform/Callback.h"
#include "events/EventQueue.h"
#include "lorawan/LoRaWANStack.h"
#include "LoRaWANStack.h"
#if defined(FEATURE_COMMON_PAL)
#include "mbed_trace.h"
#define TRACE_GROUP "LSTK"

View File

@ -44,9 +44,10 @@
#include "events/EventQueue.h"
#include "platform/Callback.h"
#include "platform/NonCopyable.h"
#include "lorawan/system/LoRaWANTimer.h"
#include "lorastack/mac/LoRaMac.h"
#include "lorawan/system/lorawan_data_structures.h"
#include "system/LoRaWANTimer.h"
#include "system/lorawan_data_structures.h"
#include "LoRaRadio.h"
class LoRaWANStack: private mbed::NonCopyable<LoRaWANStack> {

View File

@ -22,6 +22,7 @@ Copyright (c) 2017, Arm Limited and affiliates.
SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdlib.h>
#include "LoRaMac.h"
#include "LoRaMacCrypto.h"

View File

@ -40,13 +40,16 @@
#ifndef MBED_LORAWAN_MAC_H__
#define MBED_LORAWAN_MAC_H__
#include "lorawan/system/LoRaWANTimer.h"
#include "lorastack/phy/LoRaPHY.h"
#include "lorawan/system/lorawan_data_structures.h"
#include "LoRaMacCommand.h"
#include "events/EventQueue.h"
#include "lorastack/phy/loraphy_target.h"
#include "lorastack/phy/LoRaPHY.h"
#include "system/LoRaWANTimer.h"
#include "system/lorawan_data_structures.h"
#include "LoRaMacChannelPlan.h"
#include "loraphy_target.h"
#include "LoRaMacCommand.h"
class LoRaMac {

View File

@ -23,7 +23,7 @@ Copyright (c) 2017, Arm Limited and affiliates.
SPDX-License-Identifier: BSD-3-Clause
*/
#include "lorastack/mac/LoRaMacChannelPlan.h"
#include "LoRaMacChannelPlan.h"
LoRaMacChannelPlan::LoRaMacChannelPlan() : _lora_phy(NULL)
{

View File

@ -28,7 +28,7 @@ SPDX-License-Identifier: BSD-3-Clause
#ifndef MBED_LORAWAN_LORAMACCHANNELPLAN_H_
#define MBED_LORAWAN_LORAMACCHANNELPLAN_H_
#include "lorawan/system/lorawan_data_structures.h"
#include "system/lorawan_data_structures.h"
#include "lorastack/phy/LoRaPHY.h"
class LoRaMacChannelPlan {

View File

@ -21,6 +21,7 @@ Copyright (c) 2017, Arm Limited and affiliates.
SPDX-License-Identifier: BSD-3-Clause
*/
#include "LoRaMacCommand.h"
#include "LoRaMac.h"

View File

@ -41,8 +41,8 @@
#define __LORAMACCOMMAND_H__
#include <stdint.h>
#include "lorawan/system/lorawan_data_structures.h"
#include "lorawan/lorastack/phy/LoRaPHY.h"
#include "system/lorawan_data_structures.h"
#include "lorastack/phy/LoRaPHY.h"
/*!
* Maximum MAC commands buffer size

View File

@ -25,12 +25,14 @@
#include <stdlib.h>
#include <stdint.h>
#include "lorastack/mac/LoRaMacCrypto.h"
#include "lorawan/system/lorawan_data_structures.h"
#include "mbedtls/aes.h"
#include "mbedtls/cmac.h"
#include "LoRaMacCrypto.h"
#include "system/lorawan_data_structures.h"
#if defined(MBEDTLS_CMAC_C) && defined(MBEDTLS_AES_C) && defined(MBEDTLS_CIPHER_C)
/**

View File

@ -26,7 +26,8 @@ SPDX-License-Identifier: BSD-3-Clause
#include <string.h>
#include <stdint.h>
#include <math.h>
#include "lorawan/lorastack/phy/LoRaPHY.h"
#include "LoRaPHY.h"
#define BACKOFF_DC_1_HOUR 100
#define BACKOFF_DC_10_HOURS 1000

View File

@ -34,11 +34,12 @@
#ifndef MBED_OS_LORAPHY_BASE_
#define MBED_OS_LORAPHY_BASE_
#include "lorawan/LoRaRadio.h"
#include "lorawan/system/LoRaWANTimer.h"
#include "lorawan/lorastack/phy/lora_phy_ds.h"
#include "platform/NonCopyable.h"
#include "system/LoRaWANTimer.h"
#include "LoRaRadio.h"
#include "lora_phy_ds.h"
class LoRaPHY : private mbed::NonCopyable<LoRaPHY> {
public:

View File

@ -34,7 +34,6 @@
#include "LoRaPHY.h"
/*!
* LoRaMac maximum number of channels
*/

View File

@ -31,7 +31,7 @@
#ifndef MBED_OS_LORA_PHY_DATASTRUCTURES_
#define MBED_OS_LORA_PHY_DATASTRUCTURES_
#include "lorawan/system/lorawan_data_structures.h"
#include "system/lorawan_data_structures.h"
/*!
* \brief Returns the minimum value between a and b.

View File

@ -18,7 +18,7 @@ Copyright (c) 2017, Arm Limited and affiliates.
SPDX-License-Identifier: BSD-3-Clause
*/
#include "lorawan/system/LoRaWANTimer.h"
#include "LoRaWANTimer.h"
LoRaWANTimeHandler::LoRaWANTimeHandler()
: _queue(NULL)

View File

@ -22,9 +22,10 @@ SPDX-License-Identifier: BSD-3-Clause
#define MBED_LORAWAN_SYS_TIMER_H__
#include <stdint.h>
#include "lorawan/system/lorawan_data_structures.h"
#include "events/EventQueue.h"
#include "lorawan_data_structures.h"
class LoRaWANTimeHandler
{
public: