AVnet ATT Starter Kit - Power save mode?

Solved
jflynn129's picture
jflynn129
Moderator(4)

NOTE: This question re-posted from the mbed.org website.

Does anyone have some example code utilizing a power save mode with the ATT IOT starter kit?

I am polling only once every 30 or 60 minutes, and would like to save battery by shutting down the cellular modem board.

Any ideas

 

jflynn129's picture
jflynn129
Moderator(4)

We currently do not have power saving enabled in the low-level driver because there were complications with the internal WNC firmware. The problem was that it would sometimes go into sleep mode then not wake back up or would fail to find the Cell Tower and would have to go though the CC search which takes a while.

We believe this problem is fixed with the latest Modem software (available at: http://cloudconnectkits.org/discussion-forums/att-cellular-iot-starter-kit-software). We have not implemented any power-saving modes yet so it is officially unsupported. That being said, the commands to send the WNC into various sleep modes is:

For idle mode power settings At%setcfg=”pw_idle”,<”None”/”LiteHbr”/”Default”/”Deep”>

For no-service power settings (which is also active in LTE PSM mode) At%setcfg=”pw_idle”,<”None”/”LiteHbr”/”Default”/”Deep”>

To get current power setting use At%getcfg=”pw_mode” Where 0 - default 4 - none 3 - deep sleep 8 – lite hibernation.