diff options
author | Kalle Valo <kalle.valo@canonical.com> | 2010-09-20 15:40:26 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-09-21 02:08:24 +0900 |
commit | 940eaffa725c2f514ddd3b9ebd8f4dd6e47a9235 (patch) | |
tree | 606938a4b11f653d9f55703f924f7c34ef3f3e4e /src/util.c | |
parent | 9f906504a572c08a8767380ca4d0511af757e798 (diff) | |
download | ofono-940eaffa725c2f514ddd3b9ebd8f4dd6e47a9235.tar.bz2 |
huawei: poll sim state
On my Huawei E1552 when I plug in the modem (ie. cold start) with PIN locked
SIM, the sim state is 255 (HUAWEI_SIM_STATE_NOT_EXISTENT). As the modem
doesn't send ^SIMST notifications, poll the sim state until it's ready.
In theory it might be possible to do this better, for example follow
^BOOT notifications or something, but it's unknown what parameter we
should check for.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions