diff options
author | Raphaƫl Jakse <raphael.freedesktop@jakse.fr> | 2023-10-18 15:12:30 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2023-12-11 12:37:42 +0000 |
commit | 63dd4ad263be6bd3d38cbbccac80993fe7351b52 (patch) | |
tree | 913a1c9b4d04b33fa159b41867ace0652571d3b8 /include/ModemManager-enums.h | |
parent | 224c04065d459356e98ce0e3bb32425ce344ad14 (diff) |
iface-location: allow enabling without SIM
When the modem is in a failed state because of a SIM-related error,
like a missing SIM, or if the modem is SIM-locked, allow the
Location interface to initialize and be enabled anyway.
This allows someone without a SIM to use the GPS, which does not
particularly require a phone subscription. It also allows
someone with a SIM to use the GPS even if the SIM is still
locked.
This patch was reworked, while keeping the original idea, by:
Aleksander Morgado <aleksander@aleksander.es>
Fixes #183
Diffstat (limited to 'include/ModemManager-enums.h')
-rw-r--r-- | include/ModemManager-enums.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index 240c1396..178c15f2 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -1113,8 +1113,13 @@ typedef enum { /*< underscore_name=mm_sms_cdma_service_category >*/ * @MM_MODEM_LOCATION_SOURCE_GPS_NMEA: GPS location given as NMEA traces. * @MM_MODEM_LOCATION_SOURCE_CDMA_BS: CDMA base station position. * @MM_MODEM_LOCATION_SOURCE_GPS_UNMANAGED: No location given, just GPS module setup. Since 1.4. - * @MM_MODEM_LOCATION_SOURCE_AGPS_MSA: Mobile Station Assisted A-GPS location requested. Since 1.12. - * @MM_MODEM_LOCATION_SOURCE_AGPS_MSB: Mobile Station Based A-GPS location requested. Since 1.12. + * @MM_MODEM_LOCATION_SOURCE_AGPS_MSA: Mobile Station Assisted A-GPS location requested. In + * MSA A-GPS, the position fix is computed by a server online. The modem must have a valid SIM + * card inserted and be enabled for this mode to be allowed. Since 1.12. + * @MM_MODEM_LOCATION_SOURCE_AGPS_MSB: Mobile Station Based A-GPS location requested. In MSB + * A-GPS, the position fix is computed by the modem, but it first gathers information from an + * online server to facilitate the process (e.g. ephemeris). The modem must have a valid SIM + * card inserted and be enabled for this mode to be allowed. Since 1.12. * * Sources of location information supported by the modem. * |