Update sim800l-relay.py
rodzic
55e3bc26ae
commit
6ac1a83729
|
@ -127,6 +127,7 @@ def send_sms(msgtext):
|
|||
########################################################################
|
||||
print(send_command('AT'))
|
||||
print(send_command('AT+CMGF=1'))
|
||||
print(send_command('AT+CNMI=1'))
|
||||
#______________________________________________________
|
||||
#delete all sms from sim800l memory
|
||||
#print(send_command('AT+CMGD=1,4'))
|
||||
|
@ -171,4 +172,4 @@ while True:
|
|||
do_action(msg_data[3])
|
||||
#______________________________________________________
|
||||
#NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
|
||||
########################################################################
|
||||
########################################################################
|
||||
|
|
Ładowanie…
Reference in New Issue