RAK4270 Default Parameters will "zero" EUI

Issue:
When using the command at+set_config=lora:default_parameters, the Device EUI is changed to “DevEui: 0000000000000000” and not to the factory default.

See example below:

Setup:
(13:58:12.894) at+version
(13:58:12.960) OK V3.3.0.15
(13:58:16.418) at+set_config=lora:default_parameters
(13:58:16.467) OK
(13:58:17.733) at+get_config=lora:status
(13:58:17.783) OK Work Mode: LoRaWAN
(13:58:17.783) Region: AU915
(13:58:17.783) MulticastEnable: false
(13:58:17.807) at+get_config=lora:channel
(13:58:17.818) DutycycleEnable: false
(13:58:17.818) Send_repeat_cnt: 0
(13:58:17.818) Join_mode: OTAA
(13:58:17.818) DevEui: 0000000000000000
(13:58:17.818) AppEui: 0000000000000000
(13:58:17.818) AppKey: 00000000000000000000000000000000
(13:58:17.818) Class: A

As you can see above the DevEui is not “00”, where I would expect the value to be the factory, same as in the Module QR sticker.

Thanks!

1 Like

Welcome to RAK forum @Wisen :slight_smile:

I will forward this to the R&D team.

There isn’t anywhere in the module to permanently store the keys outside of the flash on the MCU so they are overwritten when the device is reflashed or, it would seem, set to default.

In theory the default parameters command could leave the Dev & App EUI’s alone.

But a reflash will get it every time.

1 Like

Thanks for that! I was under the impression the module had a proper EUI hardware ID inside. In this case, I’ll make sure my application uses a hardware EUI chip.

There is one on the outside of the module on the label - so you can get it up to the release version you want, configure using the EUI and then deploy.

1 Like

Thanks @nmcc, I guess using the label in low volumes might work, so I can store the EUI inside my host MCU permanently.

For mass-production, could be complicated to rely on the label so a hardware EUI EEPROM (https://www.microchip.com/ParamChartSearch/chart.aspx?branchID=7044) or maybe some unique host MCU serial number could be more appropriated.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.