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
12 lines
341 B
Python
12 lines
341 B
Python
#!/bin/python3
|
|
# Phone wait for system start + 8 sec for GSM to end it's work and unlock
|
|
from harness.common import Serial
|
|
import logging
|
|
logging.basicConfig(format='%(asctime)s %(message)s', level=logging.DEBUG)
|
|
log = logging.getLogger(__name__)
|
|
|
|
conn = Serial()
|
|
data = conn.read(30)
|
|
log.debug("SYS Started! {}".format(data))
|
|
conn.sleep(8)
|