MKRNB icon indicating copy to clipboard operation
MKRNB copied to clipboard

nbAccess.status() doesn't change after removal of antenna

Open JeroenWur opened this issue 2 years ago • 0 comments

Hi all,

For a project I need to get the MKNBR connected to a Azure cloud server and yes, I did it! But then I started making it bulletproof. To simulate a loss of communication I just disconnect the antenna and check the signal strength via the nbScanner class. That seems to work and the unit stays operational and on the debug serial issues the problem with signal loss. But then just now and then the signal is up again for no apparent reason, the antenna is still disconnected. All the time the antenna is disconnect I keep on calling the ready() function and status() keeps returning value 3 -> READY. How is that possible? The signal is totally lost. What am I missing? Then the MQTT client wants to send data and the unit freezes and a WDT occurs. So, how do I tell the MQTT the connection has dropped and how to get the nbAccess to 'reset' when signal strength is lost.

JeroenWur avatar Oct 10 '22 14:10 JeroenWur