diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-04-10 12:55:11 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-10-11 12:18:16 +0200 |
commit | 4b80bd878d0fcb520f4811097900ebb5478a74fd (patch) | |
tree | b9b3ab5c41bcf93bbd6be4e6905808c3f8583056 /package/Makefile | |
parent | f171a86d064ac3fcfff05d286becae87c2e26b5f (diff) | |
download | upstream-4b80bd878d0fcb520f4811097900ebb5478a74fd.tar.gz upstream-4b80bd878d0fcb520f4811097900ebb5478a74fd.tar.bz2 upstream-4b80bd878d0fcb520f4811097900ebb5478a74fd.zip |
uqmi: evaluate pin-status output in qmi_setup function
Load the json output from uqmi --get-pin-status command and evaluate the
"pin1_status" value.
The following uqmi "pin1_status" values are evaluated:
- disabled
Do not verify PIN because SIM verification is disabled on this SIM
- blocked
Stop qmi_setup because SIM is locked and a PUK is required
- not_verified
SIM is not yet verified. Do a uqmi --verify-pin1 command if a SIM is
specified
- verified:
Do not verify the PIN because this was already done before
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'package/Makefile')
0 files changed, 0 insertions, 0 deletions