Home/Support/Support Forum/How to properly shut down M1 device in Micropython
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to properly shut down M1 device in Micropython

0 votes
accoding to the manual
https://www.digi.com/resources/documentation/digidocs/90002219/default.htm#reference/r_unavailable_at.htm?TocPath=XBee%2520module%257C_____1
the SD command cannot be used in Micropython. 5% of My modules no longer function after 6 months. ( they cannot read their own IMEI) I was told by Ankur at Digi to not use Airplane mode when putting the module to sleep but instead use "SD" how do I properly put the module to sleep if I cannot use ATSD command? I have been using
x.atcmd('AM', 1) # Airplane mode before sleep
utime.sleep(30)
but this does not prevent corruption of the cellular module.
also afterwards I use:
x.sleep_now(90000,False)
this also does not prevent corruption of the cellular module. In 200 units, 12 have become corrupt within 6 months.
asked Dec 9, 2021 in Python by Jexx New to the Community (25 points)

Please log in or register to answer this question.

...