2019-12-03 12:42 PM
Hello,
i'm trying to send data to a server thanks to b-l072z-lrwan1 discovery kit but i can't even start the connexion between them.
Here are the parameters that i've set/chosen on the server :
here is the device parameter according server point of view :
and finally the error :
you can find the commissionning.h that i have attached AND the main.c (it's the same main.c as the end node project excepted that i've chenged LORAWAN_DEFAULT_DATA_RATE (DR0 to DR5) and LORAWAN_ADR_STATE (ON to OFF)
Here you can also check the debug frames printed when i launch the program in debug mode :
1 means that LoRaMacMibSetRequestConfirm function returns "LORAMAC_STATUS_BUSY"
0 means that LoRaMacMibSetRequestConfirm function returns "LORAMAC_STATUS_OK"
I don't know why i can't send data to the server whereas all key are the same on both sides.
Maybe should i check the the appkey again... any help ?
thanks
regards
Thibaud
2019-12-15 02:14 AM
I found the answer. In this picture, the third constant (LORAWAN_NWK_KEY) was not equal to the others :