mirror of
https://github.com/estkme-group/lpac
synced 2026-06-10 01:02:10 +02:00
Modems that only have one sim slot may respond with NO_DEVICE_SUPPORT when we try to request the sim slot mapping in preparation for sim selection. This is (arguably) correct behavior when we're trying to select a sim slot that isn't there, but when we want to access slot 0, we shouldn't complain about it. So catch the situation where we receive the NO_DEVICE_SUPPORT error and consider the switch action successful if we're trying to access the first and only sim slot. While we're here, slightly improve two error lines to better indicate what's going wrong. Tested with EM7590 and EM9291 configured for only a single sim slot (`AT!CUSTOM="UIM2ENABLE",0`). Signed-off-by: Frans Klaver <frans.klaver@vislink.com> |
||
|---|---|---|
| .. | ||
| apdu | ||
| http | ||
| CMakeLists.txt | ||
| driver.h | ||
| euicc-driver-loader.c | ||
| euicc-driver-loader.h | ||
| libeuicc-driver-loader.pc.in | ||
| LICENSE | ||