mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-03 20:57:19 -04:00
* added GSM AT commands on 'Commands' channel * refactor (for better console/script) handling * docs update * GSM request asynch send back on uart to requester
11 lines
271 B
Python
11 lines
271 B
Python
from harness.uart import conn, log
|
|
# it would be much better to wait for ok in script, but resend doesn't work now...
|
|
# due to Service Cellular arch
|
|
|
|
conn.gsm("at+qsimdet=1,0\r")
|
|
conn.sleep(10)
|
|
conn.gsm("AT+QSIMSTAT=1\r")
|
|
conn.sleep(10)
|
|
conn.gsm("at&w\r")
|
|
conn.sleep(10)
|