uqmid: add uqmi_sim_decode_imsi() to decode EF.IMSI from UIM
authorAlexander Couzens <[email protected]>
Sun, 18 Aug 2024 22:48:30 +0000 (00:48 +0200)
committerDavid Bauer <[email protected]>
Sat, 31 May 2025 20:41:00 +0000 (22:41 +0200)
commitf1ad9c1cfba3c1467af2c289ee40de64aae09531
tree4c53803e3659a202044d71617bc9cf840c40690b
parent57871203a47d55f66511fb54e4063bcc3f72c6c0
uqmid: add uqmi_sim_decode_imsi() to decode EF.IMSI from UIM

SIM or USIM based files are encoded in BCD format and
QMI doesn't offer a direct method to get the IMSI when only the UIM
service is available.

Signed-off-by: Alexander Couzens <[email protected]>
uqmid/CMakeLists.txt
uqmid/sim.c
uqmid/sim.h
uqmid/test_sim.c [new file with mode: 0644]