tici: always configure modem as data-centric (#24663)

According to the Quectel docs, this is how it should be configured
for both AT&T and T-Mobile (and likely any other carriers).
old-commit-hash: 5f00c6eca7
taco
Adeeb Shihadeh 3 years ago committed by GitHub
parent 402a0800dd
commit b9453b2280
  1. 7
      selfdrive/hardware/tici/hardware.py

@ -457,8 +457,7 @@ class Tici(HardwareBase):
def configure_modem(self):
sim_id = self.get_sim_info().get('sim_id', '')
# blue prime config
if sim_id.startswith('8901410'):
# configure modem as data-centric
cmds = [
'AT+QNVW=5280,0,"0102000000000000"',
'AT+QNVFW="/nv/item_files/ims/IMS_enable",00',
@ -470,8 +469,10 @@ class Tici(HardwareBase):
modem.Command(cmd, math.ceil(TIMEOUT), dbus_interface=MM_MODEM, timeout=TIMEOUT)
except Exception:
pass
os.system('mmcli -m 0 --3gpp-set-initial-eps-bearer-settings="apn=Broadband"')
# blue prime config
if sim_id.startswith('8901410'):
os.system('mmcli -m 0 --3gpp-set-initial-eps-bearer-settings="apn=Broadband"')
def get_networks(self):
r = {}

Loading…
Cancel
Save