cancel
Showing results for 
Search instead for 
Did you mean: 

Join Resquest failure with the b-l072z-lrwan1 discovery kit

AJT
Associate III

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 :

0690X00000AtGNLQA3.png

0690X00000AtGNQQA3.png

here is the device parameter according server point of view :

0690X00000AtGNVQA3.png

  

and finally the error :

0690X00000AtGNaQAN.png

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 :

 0690X00000AtGNfQAN.png

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

1 REPLY 1
AJT
Associate III

I found the answer. In this picture, the third constant (LORAWAN_NWK_KEY) was not equal to the others :

0690X00000BuckSQAR.png