From c6159f99cda94e836a5cf1e86bf5620d287885d9 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 1 Mar 2024 17:24:22 -0800 Subject: [PATCH] tici: enable SIM hot swap (#31680) * tici: enable SIM hot swap * only tizi --------- Co-authored-by: Comma Device old-commit-hash: a38a5e8bb4c0eda459ec42dd4e2f42e17e6dfef6 --- system/hardware/tici/hardware.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/hardware/tici/hardware.py b/system/hardware/tici/hardware.py index 8cb02c3d91..c1cb9da438 100644 --- a/system/hardware/tici/hardware.py +++ b/system/hardware/tici/hardware.py @@ -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="')