ofono/plugins
Martin Hundebøll 31cad076a4 quectel: handle sim states
The quectel M95 and MC60 modems are picky about when the sim is properly
initialized, so the logic to detect this needs to be in the quectel
plugin.

After doing basic initialization, a CPIN query is issued to detect sim
state.

If the sim is unlocked and ready, a timer is created to wait for the
modem state (AT+QINISTAT) to complete. At this point ofono is notified
about the initialized sim.

If the sim is locked, a listener for "+CPIN: READY" is set up to
know when a pin is entered. Once the indication is received, the timer
is set up as if the sim was unlocked from the beginning.

If the sim is busy/resetting, the CPIN query is issued again.
2019-09-10 08:41:12 -05:00
..
alcatel.c alcatel: Use at_util_open_device 2019-05-31 11:58:39 -05:00
allowed-apns.c plugins: Remove AllowedAccessPoints interface 2017-08-07 13:47:20 -05:00
bluez4.c bluez4: Remove unneeded casts 2016-04-22 15:25:54 -05:00
bluez4.h bluez4: Increase Bluez 4 D-Bus timeouts to 60 seconds 2013-02-26 14:15:44 -06:00
bluez5.c bluez5: fix crash on DBus transport disconnection 2016-11-10 10:18:26 -06:00
bluez5.h bluez5: Unify bt_register_profile_* into a single function 2013-04-25 03:38:11 -05:00
caif.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
calypso.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
cdma-provision.c cdma-provision: Add cdma provisioning plugin 2012-01-07 12:40:47 -06:00
cinterion.c cinterion: use Gemalto vendor in netreg 2018-10-29 15:01:22 -05:00
connman.c connman: Fix crash due to uninitialized path 2011-07-28 00:12:13 -05:00
dun_gw_bluez4.c bluetooth: Rename DUN GW plugin 2013-03-21 10:08:41 -05:00
dun_gw_bluez5.c bluez5: Unify bt_register_profile_* into a single function 2013-04-25 03:38:11 -05:00
emulator_fuzz.c emulator_fuzz: Add test plugin 2014-10-20 13:40:28 -05:00
file-provision.c file-provision: support for auth type of NONE 2018-10-09 10:43:31 -05:00
g1.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
gemalto.c gemalto: Move atoms to post_online 2019-01-03 17:13:58 -06:00
gobi.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
hfp_ag_bluez4.c bluetooth: Rename HFP AG plugin 2013-01-30 22:09:52 -06:00
hfp_ag_bluez5.c hfp_ag_bluez5: Remove unneeded forward declarations 2019-05-31 10:57:38 -05:00
hfp_hf_bluez4.c git: Fixup messed up permissions 2013-12-21 13:39:54 -06:00
hfp_hf_bluez5.c hfp_hf_bluez5: Rework code handling device changes 2017-05-04 12:34:31 -05:00
hso.c hso: Use at_util_open_device 2019-05-31 11:58:39 -05:00
huawei.c huawei: Use at_util_open_device 2019-05-31 11:58:39 -05:00
icera.c icera: Use at_util_open_device 2019-05-31 11:58:39 -05:00
ifx.c ifx: Use sim_initialized_notify 2017-11-08 21:41:34 -06:00
infineon.c infineon: Plugin for infineon modems 2015-10-13 21:35:00 -05:00
isiusb.c isiusb: Fix compiler warning with logical expression 2015-07-07 11:35:54 +02:00
linktop.c linktop: Use at_util_open_device 2019-05-31 11:58:39 -05:00
mbim.c treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
mbm.c mbm: Use at_util_open_device 2019-05-31 11:58:39 -05:00
mbpi.c mbpi: support for auth NONE 2018-10-09 10:44:17 -05:00
mbpi.h mbpi: Add mbpi_lookup_cdma_provider_name API 2011-11-16 03:53:28 -06:00
n900.c n900: Fix compiler warning with logical expression 2015-07-07 11:35:54 +02:00
nokia-gpio.c nokia-gpio: do not create links to gpios in /dev/cmt 2017-10-05 11:32:59 -05:00
nokia-gpio.h isi: Private header files don't need circular inclusion protection 2010-10-01 06:52:38 +02:00
nokia.c nokia: Use at_util_open_device 2019-05-31 11:58:39 -05:00
nokiacdma.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
novatel.c novatel: Use at_util_open_device 2019-05-31 11:58:39 -05:00
ofono-speedup.rules Add udev rules for SpeedUp U3501 2012-04-06 09:32:15 -05:00
ofono.rules ofono.rules: remove 'change' action 2017-03-26 20:44:52 -05:00
palmpre.c plugins: Update copyright information 2011-10-10 13:39:54 -07:00
phonesim.c phoneseim: Remove unneeded if 2019-04-29 14:09:56 -05:00
phonesim.conf build: Add example configuration for phonesim plugin 2010-10-25 20:48:55 +02:00
provision.c provision: Update to the new mbpi API 2011-11-14 14:10:54 -06:00
push-notification.c dbus: Use dbus_validate_path 2018-01-18 10:53:28 -06:00
quectel.c quectel: handle sim states 2019-09-10 08:41:12 -05:00
ril.c plugins/ril: enable cbs 2016-05-19 10:30:13 -05:00
ril.h ril: Plugin for Android modems 2015-10-13 21:34:56 -05:00
ril_intel.c plugins: Update to the new LTE API 2018-03-12 09:37:58 -05:00
rildev.c rildev: Do not create modems if no env var set 2015-10-15 10:01:09 -05:00
samsung.c samsung: Use at_util_open_device 2019-05-31 11:58:39 -05:00
sap.c bluetooth: Rename bluetooth plugins 2013-01-16 13:37:23 -06:00
sierra.c sierra: Use at_util_open_device 2019-05-31 11:58:39 -05:00
sim900.c sim800: fix typo in model check code 2019-02-08 14:10:11 -06:00
sim7100.c sim7100: Specify vendor ID while creating voicecall driver 2018-05-14 11:11:18 -05:00
smart-messaging.c dbus: Use dbus_validate_path 2018-01-18 10:53:28 -06:00
speedup.c speedup: Use at_util_open_device 2019-05-31 11:58:39 -05:00
speedupcdma.c speedupcdma: Use at_util_open_device 2019-05-31 11:58:39 -05:00
ste.c ste: signal sim initialized on EPEV 2017-11-08 21:41:34 -06:00
stemgr.c stemgr: Avoid shadowing of connection variable 2012-07-15 20:19:28 -03:00
stktest.c stktest: Remove usage of decode_at_error 2015-12-15 17:17:15 -06:00
telit.c telit: Use at_util_open_device 2019-05-31 11:58:39 -05:00
u8500.c u8500: Add missing fall through statement 2017-07-11 10:46:13 -07:00
ublox.c ublox: use custom netreg atom 2019-07-19 02:45:10 -05:00
udevng.c udevng: detect LARA R2 series 2019-07-19 02:47:29 -05:00
upower.c plugins: add upower battery monitor for bluetooth 2015-12-18 09:53:38 -06:00
wavecom.c wavecom: Use at_util_open_device 2019-05-31 11:58:39 -05:00
xmm7xxx.c xmm7xxx: Use at_util_open_device 2019-05-31 11:58:39 -05:00
zte.c zte: Use at_util_open_device 2019-05-31 11:58:39 -05:00