Files
MuditaOS/test/phone_modem_clear_sms_queue.py
Pawel Olejniczak de84e4d1b9 [CP-83] Update tests for unlocking phone and usb
Removed leftovers of old usb security tests implementation.
Added tests for unlocking via security endpoint.
2021-06-08 10:23:21 +02:00

18 lines
492 B
Python

#!/usr/bin/env python
# Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
from harness.harness import Harness
import sys
harness = Harness(sys.argv[1])
harness.connection.send_at("at+cmgl=\"all\"", 10000)
harness.connection.send_at("at+cmgd=1,4", 10000)
harness.connection.send_at("at+cmgd=0,4", 10000)
harness.connection.send_at("at+cmgd=2,4", 10000)
harness.connection.send_at("at+cmgl=\"all\"", 10000)