Hello and thanks for any help in advance…
I’m having issues with putting my electron into System.sleep(RI_UC, RISING, SLEEP_NETWORK_STANDBY);
and then using a SMS RI-UC to wake it from its sleep.
I have all SMS features working and can turn off/on a digital pins. What I want to do is SMS the electron to put it into Network_Standby which works fine. (this part works fine, well puts it into Newtwork standby mode anyway)
However when I send it an SMS to wake up it received the SMS and either does nothing and goes back to sleep or crashes and resets the electron. I would like it to wake up and stay away
This is the part of my code to put it to sleep.
if (smsProvided_Command == “networkstandby”)
sendSMS(“Entering NETWORK Standby mode”, phoneReturn);
System.sleep(RI_UC, CHANGE, SLEEP_NETWORK_STANDBY);
Do I need to do any setting up of the RI_UC?
Do I need to send a specific SMS command to wake or should any SMS wake up the device??
Any help would be appreciated. I have searched all forums and Github but could find nothing that works for me.