uim: add --uim-get-sim-state
authorDaniel Golle <daniel@makrotopia.org>
Sat, 6 Nov 2021 02:02:00 +0000 (02:02 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 6 Nov 2021 02:42:50 +0000 (02:42 +0000)
commit6f956265167945267d676c99f123a8c822f0a77b
tree996296a24a5e93237b2221861bec302899b28a5a
parentd647f8d89f68c286f56a6504678558f032da53cb
uim: add --uim-get-sim-state

Provide same output as --get-pin-status for SIM/modem which require
using uim instead of dms command for that.
For now only the first present SIM card with only the first application
on the card is supported (which should cover the vast majority of
cases and allows to remain compatible with --get-pin-status output)

Suggested-by: Arjun AK <arjunak234@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
commands-dms.c
commands-dms.h
commands-uim.c
commands-uim.h