P
@nadvorvo said in NB-IoT modem - reliability:
Hi @peterp,
Thank you for your reply. Here you can find log for a1).
1 of 2 messages delivered to backend server
Thanks. So, this is good news. It means you should be able to wrap the detach/deinit into try/except and just keep going, right?
I'll try to debug this further on our side.
@nadvorvo said in NB-IoT modem - reliability:
@peterp said in NB-IoT modem - reliability:
b) after completing the test above, regardless of the outcome, please do also try the following: add the reset param to the detach command, like so: lte.detach(reset=True), then let it run again and let's see whether this behaves differently.
48 of 50 messages delivered to backend server
About this test. I should have expressed my self better. The idea here is to let this run (long term hopefully) and see whether it ever reaches the OSError, ie similar to this:
[AT-FAIL] +9504
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "nb_test2.py", line 58, in nb_test2
OSError: the requested operation failed
or some other "broken" state (exception, hang, etc).
All my debugging here circles around this reliability aspect tbh.
The fact that sometimes not 100% of messages go through, I would treat as a separate issue. Could it simply be that sometimes the network reception at that location is not ideal? What's the overall rate? Different device positioning? Different antenna positioning? Do you have any indication about reception using other devices or so? But, generally, I'd suggest at least as a step 1 let's focus on reliability, ie even if some packets are lost, the whole setup keeps going. Once that is established it's more meaningful to ask for overall failure rate over say, a few hours.