# LoRa module forgetting configuration

**URL:** <https://forum.hardwario.com/t/lora-module-forgetting-configuration/647>\
**Category:** Uncategorized\
**Created:** [January 24, 2021, 2:45am UTC](https://forum.hardwario.com/t/lora-module-forgetting-configuration/647 "2021-01-24T02:45:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![janakj](https://forum.hardwario.com/user_avatar/forum.hardwario.com/janakj/32/498_2.png) [@janakj](https://forum.hardwario.com/u/janakj)\
**Post date:** [January 24, 2021, 2:45am UTC](https://forum.hardwario.com/t/lora-module-forgetting-configuration/647/1 "2021-01-24T02:45:27Z")

</div>

One of my LoRa modules stopped working recently. While debugging the problem via the AT interface, I found that the module had forgotten all of its settings:

```
AT$NWKSKEY?
$NWKSKEY:
OK

AT$APPSKEY?
$APPSKEY:
OK

AT$DEVEUI?
$DEVEUI:
OK

```

So, I tried to restore the settings and in the AT command interface it looked like that might have worked:

```
AT$DEVADDR=26015936
OK
AT$DEVADDR?
$DEVADDR: 26015936
OK

```

However, upon resetting the device, **all the settings** are gone again:

> AT$DEVEUI?  
> $DEVEUI:  
> OK

Has anybody seen this before? Any idea what could be causing the problem? Thank you.

-Jan

---

<div class="post-metadata">

**Author:** ![hub.martin](https://forum.hardwario.com/user_avatar/forum.hardwario.com/hub.martin/32/631_2.png) [@hub.martin](https://forum.hardwario.com/u/hub.martin)\
**Post date:** [January 26, 2021, 3:11pm UTC](https://forum.hardwario.com/t/lora-module-forgetting-configuration/647/2 "2021-01-26T15:11:58Z")

</div>

Hello Jan,  
can you answer please these questions?:

1. Can you share the project code for Core Module which communicates with LoRa Module?
2. Can you explain more detailed `stopped working recently`. For example it worked for days, weeks, years. What was the state of the battery? Did it stopped working after you replaced batteries?
3. Can you send order number or date/your address when you bought the module? You can send that as a direct message instead of this thread.

Thanks

---

<div class="post-metadata">

**Author:** ![janakj](https://forum.hardwario.com/user_avatar/forum.hardwario.com/janakj/32/498_2.png) [@janakj](https://forum.hardwario.com/u/janakj)\
**Post date:** [January 29, 2021, 6:44am UTC](https://forum.hardwario.com/t/lora-module-forgetting-configuration/647/3 "2021-01-29T06:44:29Z")

</div>

Hi Martin,

This particular device uses the [bcf-lora-climate-monitor](https://github.com/hardwario/bcf-lora-climate-monitor) firmware, without modifications. The device had been working fine for about three months and then one day the LoRa module suddenly died. There were no resets or battery replacements and the battery is close to full capacity.

I poked some more at this today, inserted a bunch of debugging statements in the code, and found out that the LoRa module fails to initialize and the function [lora\_callback](https://github.com/hardwario/bcf-lora-climate-monitor/blob/922be917b1c078b9aad153665d8a9947f107eaa6/app/application.c#L127) is invoked repeatedly with BC\_CMWX1ZZABZ\_EVENT\_ERROR. I don’t have physical access to the device at the moment, so this is probably all I can do right now.

-Jan

---

<div class="post-metadata">

**Author:** ![hub.martin](https://forum.hardwario.com/user_avatar/forum.hardwario.com/hub.martin/32/631_2.png) [@hub.martin](https://forum.hardwario.com/u/hub.martin)\
**Post date:** [February 3, 2021, 4:06pm UTC](https://forum.hardwario.com/t/lora-module-forgetting-configuration/647/4 "2021-02-03T16:06:51Z")

</div>

Thanks Jan, I’ve send you an email with possible solutions/ideas.

---

<div class="post-metadata">

**Author:** ![hub.martin](https://forum.hardwario.com/user_avatar/forum.hardwario.com/hub.martin/32/631_2.png) [@hub.martin](https://forum.hardwario.com/u/hub.martin)\
**Post date:** [December 3, 2021, 12:07pm UTC](https://forum.hardwario.com/t/lora-module-forgetting-configuration/647/5 "2021-12-03T12:07:36Z")

</div>


