From cbdeb7dc4ba79231ba519b07fa07b07adaf434bf Mon Sep 17 00:00:00 2001 From: Antti Kauppila Date: Tue, 20 Mar 2018 17:42:53 +0200 Subject: [PATCH] LoRa: Added API break warnings for lorawan_channelplan_t struct and it's components --- features/lorawan/system/lorawan_data_structures.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/features/lorawan/system/lorawan_data_structures.h b/features/lorawan/system/lorawan_data_structures.h index 8c760187c6..4fc543da9e 100644 --- a/features/lorawan/system/lorawan_data_structures.h +++ b/features/lorawan/system/lorawan_data_structures.h @@ -142,6 +142,7 @@ typedef enum { /*! * LoRaMAC channel parameters definition. + * DO NOT MODIFY, WILL BREAK THE API! */ typedef union { /*! @@ -174,6 +175,7 @@ typedef union { /*! * LoRaMAC channel definition. + * DO NOT MODIFY, WILL BREAK THE API! */ typedef struct { /*! @@ -1233,6 +1235,7 @@ typedef struct { /** * Structure to hold A list of LoRa Channels + * DO NOT MODIFY, WILL BREAK THE API! */ typedef struct lora_channels_s { uint8_t id; @@ -1720,6 +1723,9 @@ typedef struct { mbed::Callback battery_level; } lorawan_app_callbacks_t; +/** + * DO NOT MODIFY, WILL BREAK THE API! + */ typedef struct lora_channelplan { uint8_t nb_channels; // number of channels loramac_channel_t *channels;