support multi modem pools
This commit is contained in:
@@ -124,3 +124,7 @@ class ModemPool:
|
||||
def _execut_USSD_cmd(self, cmd, ser) -> bytes:
|
||||
# the timeout for ussd command can be 120 s in mac
|
||||
return self._send_command(cmd, ser, 120)
|
||||
|
||||
def close(self):
|
||||
for serial in self._serial_list:
|
||||
serial.close()
|
||||
|
||||
Reference in New Issue
Block a user