mirror of https://github.com/commaai/openpilot.git
tici: enable SIM hot swap (#31680)
* tici: enable SIM hot swap
* only tizi
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a38a5e8bb4
This commit is contained in:
parent
e179c61a4b
commit
c6159f99cd
|
@ -478,6 +478,12 @@ class Tici(HardwareBase):
|
|||
'AT+QNVFW="/nv/item_files/ims/IMS_enable",00',
|
||||
'AT+QNVFW="/nv/item_files/modem/mmode/ue_usage_setting",01',
|
||||
]
|
||||
if self.get_device_type() == "tizi":
|
||||
cmds += [
|
||||
# SIM hot swap
|
||||
'AT+QSIMDET=1,0',
|
||||
'AT+QSIMSTAT=1',
|
||||
]
|
||||
|
||||
# clear out old blue prime initial APN
|
||||
os.system('mmcli -m any --3gpp-set-initial-eps-bearer-settings="apn="')
|
||||
|
|
Loading…
Reference in New Issue