cellular -> NetLoss loop fix#1189
Conversation
When the modem detects a NetLoss, it usually enters a continuous loop of NetLoss, NetWait and NetStart when a Wi-Fi connection is used. The problem can be simulated with ‘cellular setstate NetLoss’. The fix provides that when a NetLoss loop is detected, the modem then performs a PowerOffON, which reliably solves the problem.
|
ZorG, I'd be very surprised if that was generally the case, as the cellular state machine has been very stable for me. A quick test run with my desk module: IOW, the module recovers from a Please show the log of a misbehaviour in the way you intend to solve with this PR. Please also show your modem model/firmware version -- there has been a report indicating issues with some firmware versions: #1151 (comment) Regards, |
|
|
I have a same problem with another model
|
|
Thanks for the cellular rx info, Tamas. This looks like your modems completely shut down their mobile network in that case, and fail to restart it. That really looks like a modem firmware bug. |
|
In some tests and feedback from the community, this fix leads sometime to a crash. However, if the modem is restarted directly without first terminating the data stream, it doesn't crash. I would currently prefer this solution. I wanted to limit the direct restart to my modem type, but apparently all SIM7600 in the model name are called SIM7600M. I don't know. edit: idea rejected There is no better solution here. |
|
New idea: I activated the data connection in Netwait, which allows the modem to reconnect very quickly. |
The fix in openvehicles#1189 sometimes causes the module to crash. This extended fix works perfectly on my modem. openvehicles#1191
The fix in openvehicles#1189 sometimes causes the module to crash. This extended fix works perfectly on my modem. openvehicles#1191
When the modem detects a NetLoss, it usually enters a continuous loop of NetLoss, NetWait and NetStart when a Wi-Fi connection is used. The problem can be simulated with ‘cellular setstate NetLoss’. The fix provides that when a NetLoss loop is detected, the modem then performs a PowerOffON, which reliably solves the problem.