lorawan: Update data type of dev_nonce in lorawan_join_otaa struct
Make the dev_nonce size match the LoRaWAN specification, which is 2 bytes. Signed-off-by: Lucas Dietrich <lucas.dietrich@socomec.com>
This commit is contained in:
parent
ba6c9c2136
commit
8b9e064823
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ struct lorawan_join_otaa {
|
||||||
* increasing for each OTAA join with the same EUI. The DevNonce
|
* increasing for each OTAA join with the same EUI. The DevNonce
|
||||||
* should be stored in non-volatile memory by the application.
|
* should be stored in non-volatile memory by the application.
|
||||||
*/
|
*/
|
||||||
uint32_t dev_nonce;
|
uint16_t dev_nonce;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue