cancel
Showing results for 
Search instead for 
Did you mean: 

APPEUI and APP KEY go to 0's after reset on I-NUCLEO-LRWAN1

pmendes03
Associate

I can send commands to my end-node (NUCLEO L073RZ + I-NUCLEO-LRWAN1), and I downloaded the AT_MASTER project. I am able to change the APPKEY and other parameters, but when I reset the module to try and see it on LORIOT, the appkey and other parameters go back to what the same numbers, with 0's on APP EUI and etc. These parameteres aren't being saved on Flash I guess. 

 

I tried change them through TeraTerm with AT commands and also this code on main.c:

 

 

	uint8_t AppEUI[8] = { 0xE3, 0xE6, 0xEF, 0x9A, 0xA9, 0xDF, 0x9E, 0xD8 };

	LoRa_SetAppID(AppEUI);

	// Definição da chave de 16 bytes (128 bits)
	uint8_t AppKey[16] = { 0xE2, 0x4F, 0x43, 0xFF, 0xFE, 0x44, 0xC3, 0x93,
	                       0xE3, 0xE6, 0xEF, 0x9A, 0xA9, 0xDF, 0x9E, 0xD8 };

	// Chamando a função com o tipo correto (por exemplo, AT_APPKEY)
	LoRa_SetKey(AT_APPKEY, AppKey);

	Lora_UpdateConfigTable();

 

 

How can I solve this?

Thank you!

0 REPLIES 0