can detected disabled sim card

This commit is contained in:
2022-02-25 09:50:57 +01:00
parent 34dbe1d909
commit 4f78c79463
5 changed files with 37 additions and 19 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class CardPool:
if slot_number < 10:
self._send_command("AT+SWIT00-000{}\r".format(slot_number))
else:
self._send_command("AT+SWIT00-0{}\r".format(slot_number))
self._send_command("AT+SWIT00-00{}\r".format(slot_number))
# not work for the pool
def find_current_slot(self):