Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Listening Mode Timeout defaults and set|get API [ch318] #1182
This PR addresses an issue with Electrons primarily where they can start flashing blue (Listening Mode) due to reconnects that result in no SIM found. This can happen if there is significant shock and vibration on a loose or oxidized SIM contact during a power cycle. Upon exiting Listening Mode, a power cycle and reset of the modem will occur if the SIM is not found. If it continues to be unresponsive, Listening Mode will be re-entered. Additionally, previously once in Listening Mode required user intervention to exit. Now there is a default 5 minute timeout applied to Cellular devices only. Wi-Fi devices continue to have the same behavior with no timeout from Listening Mode, and both Cellular and Wi-Fi timeouts are user configurable.
Also added an API
See included Docs included in PR for more info (link above will not be live until 0.7.0-rc.1 is released)