diff options
author | Carlo Lobrano <c.lobrano@gmail.com> | 2017-06-01 11:04:04 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-06-05 14:04:42 +0200 |
commit | 4cd5044bfd5d2394b5001c4c6de63b181b0051bf (patch) | |
tree | 546529ba13ada6fd268a132084053682207c265a /.gitignore | |
parent | b5e94185bb487d39f75537755c1ea03b40737ca8 (diff) | |
download | ModemManager-4cd5044bfd5d2394b5001c4c6de63b181b0051bf.tar.gz |
telit: manage QSS transitions
Currently, Telit's SIM swap implementation is stateless and
based on #QSS unsolicited messages 0/1 (SIM_REMOVED/SIM_INSERTED).
However, the user might have configured the modem in order to provide a
more detailed information, with #QSS values 2/3 (SIM UNLOCKED/SIM READY).
In this case and with current implementation, even receiving "#QSS: 3" will
trigger the "SIM swap" logic. The same issue might occur in other use cases
too, i.e. with SIM locked or when the message is received from both USB
ports.
This patch makes SIM swap implementation stateful, and it considers as an
actual SIM swap, only transitions from #QSS: 0 to #QSS: 1/2/3 and vice
versa.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 9e79d2586..685ff84f4 100644 --- a/.gitignore +++ b/.gitignore @@ -175,6 +175,8 @@ Makefile.in /plugins/ublox/mm-ublox-enums-types.[ch] +/plugins/telit/mm-telit-enums-types.[ch] + /test/lsudev /test/mmtty /test/mmrules |