Files
MuditaOS/test/phone_start.py
pholat 2b275d7951 [EGD-2571] added GSM command sending & small refactor
* added GSM AT commands on 'Commands' channel
* refactor (for better console/script) handling
* docs update
* GSM request asynch send back on uart to requester
2020-02-11 08:41:26 +00:00

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)