~aleteoryx/muditaos

ref: e8d1fd23a378169c85a6b9be7e21221ccf04eea0 muditaos/test/phone_modem_clear_sms_queue.py -rw-r--r-- 383 bytes
e8d1fd23 — Wiktor S. Ovalle Correa [EGD-5177] Change iosyscalls code style 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python
# Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

from harness.uart import connection

print(connection.AT("at+cmgl=\"all\""))

print(connection.AT("at+cmgd=1,4"))
print(connection.AT("at+cmgd=0,4"))
print(connection.AT("at+cmgd=2,4"))
print(connection.AT("at+cmgl=\"all\""))