use multi-thread to wait sms

This commit is contained in:
2022-04-12 21:17:19 +02:00
parent 2fdd7f9b38
commit a710f4eb63
9 changed files with 88 additions and 67 deletions
+2 -2
View File
@@ -67,8 +67,8 @@ class LogSender:
)
return response
def send_sms_reception_log(self, phone, sms_text):
msg = "phone:{}, sms:{}".format(phone, sms_text)
def send_sms_reception_log(self, phone, sms_text, ccid):
msg = "from:{}, sms:{}, ccid{}".format(phone, sms_text, ccid)
self.send_log(msg=msg, subject=LOG_SUBJECT_SMS, type=TYPE_SMS_RECEIVED)
def send_timeout_log(self, serial_modem: SerialModem):