Skip to content

Commit

Permalink
LoRa: Added API break warnings for lorawan_channelplan_t struct and i…
Browse files Browse the repository at this point in the history
…t's components
  • Loading branch information
Antti Kauppila committed Mar 21, 2018
1 parent dc98228 commit cbdeb7d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions features/lorawan/system/lorawan_data_structures.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ typedef enum {

/*!
* LoRaMAC channel parameters definition.
* DO NOT MODIFY, WILL BREAK THE API!
*/
typedef union {
/*!
Expand Down Expand Up @@ -174,6 +175,7 @@ typedef union {

/*!
* LoRaMAC channel definition.
* DO NOT MODIFY, WILL BREAK THE API!
*/
typedef struct {
/*!
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -1720,6 +1723,9 @@ typedef struct {
mbed::Callback<uint8_t(void)> 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;
Expand Down

0 comments on commit cbdeb7d

Please sign in to comment.