can read otp
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
from gsmmodem import GsmModem
|
||||
|
||||
from pojo.contact_pojo import ContactPojo
|
||||
|
||||
|
||||
@dataclass
|
||||
class SerialModem():
|
||||
ccid: str
|
||||
phone_number: str
|
||||
phone_number = None
|
||||
modem: GsmModem
|
||||
contact: ContactPojo
|
||||
contact = None
|
||||
|
||||
def __init__(self, modem: GsmModem):
|
||||
def __init__(self, modem: GsmModem, ccid: str = None):
|
||||
self.modem = modem
|
||||
self.ccid = ccid
|
||||
|
||||
Reference in New Issue
Block a user