Skip to content

Commit cbdeb7d

Browse files
author
Antti Kauppila
committed
LoRa: Added API break warnings for lorawan_channelplan_t struct and it's components
1 parent dc98228 commit cbdeb7d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

features/lorawan/system/lorawan_data_structures.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ typedef enum {
142142

143143
/*!
144144
* LoRaMAC channel parameters definition.
145+
* DO NOT MODIFY, WILL BREAK THE API!
145146
*/
146147
typedef union {
147148
/*!
@@ -174,6 +175,7 @@ typedef union {
174175

175176
/*!
176177
* LoRaMAC channel definition.
178+
* DO NOT MODIFY, WILL BREAK THE API!
177179
*/
178180
typedef struct {
179181
/*!
@@ -1233,6 +1235,7 @@ typedef struct {
12331235

12341236
/**
12351237
* Structure to hold A list of LoRa Channels
1238+
* DO NOT MODIFY, WILL BREAK THE API!
12361239
*/
12371240
typedef struct lora_channels_s {
12381241
uint8_t id;
@@ -1720,6 +1723,9 @@ typedef struct {
17201723
mbed::Callback<uint8_t(void)> battery_level;
17211724
} lorawan_app_callbacks_t;
17221725

1726+
/**
1727+
* DO NOT MODIFY, WILL BREAK THE API!
1728+
*/
17231729
typedef struct lora_channelplan {
17241730
uint8_t nb_channels; // number of channels
17251731
loramac_channel_t *channels;

0 commit comments

Comments
 (0)