Files
sunnypilot/system
Trey Moen 96d55a3283 modem: robust identity read on SIM hot-swap (#37954)
modem.py: retry identity read until valid; stay in INIT on partial reads

Under rapid SIM hot-swap stress, AT identity reads (CGSN/QCCID/CIMI/GMR) can return
empty values or echo the command itself. Validate each field before accepting it,
retry the whole sequence in a loop, and stay in INITIALIZING (rather than progressing
to SEARCHING) until imei and iccid are populated. Prevents stale/empty identity from
being published to /dev/shm/modem after a glitchy reinit.
2026-05-02 19:52:11 -07:00
..
2025-12-28 10:42:49 -08:00
2026-04-24 13:24:29 -07:00
2026-05-02 10:04:53 -07:00
2024-11-13 21:27:23 -08:00
2026-05-02 10:04:53 -07:00
2025-09-07 11:32:44 -07:00