Electron: Enters listening-mode with WIFI_CONNECT_SKIP_LISTEN

Hi guys,

I disabled a SIM-card by error. Within minutes (or few hours) after the device cannot connect anymore the device entered into listening-mode.

The strange(?) thing is, that Cellular.connect(WIFI_CONNECT_SKIP_LISTEN); is called to connect to the network.

Is there anything I missed?
Is WIFI_CONNECT_SKIP_LISTEN still the correct way to prevent an electron from listening mode?
Is there any “backup”-solution like a watchdog-reset afer 30 minutes in listening-mode?

kind regards

Maybe the WIFI part of that switch might provide a clue why that’s not necessarily the correct switch :wink:

And what SYSTEM_MODE are you using?

yes, maybe the WIFI-constant isn’t appropriate (anymore). I’m right now using 0.6.0-rc.2
System-Mode is set to SEMI_AUTOMATIC

Or it's rather not applicable. I can't see it documented anywhere for Cellular
https://docs.particle.io/reference/firmware/electron/#connect-

the firmware contains more functions than the docs :smile:

I see, then we should perhaps remind @mdma of that intention to rename that :wink: