aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-enums.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-06-27 10:28:16 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-07-02 12:28:56 +0200
commitad67d68179263355510306c500f31a4d7f8cd87d (patch)
treea546b9790e9946db151cd35e2d6fd7a517e3a874 /include/ModemManager-enums.h
parent915a5beac0e10b0246adc9eefdb2dc29eb2c071e (diff)
location: new 'unmanaged' GPS setup
Standard GPS setup (raw/nmea) will both enable the GPS module and take full control of the GPS port. This prevents other processes from reading the NMEA traces from e.g. a tty. In order to handle this, a new 'unmanaged' GPS location source is introduced, which will just enable/disable the GPS module, without reading anything from the GPS port. Of course, both raw/nmea and unmanaged setups cannot be enabled at the same time.
Diffstat (limited to 'include/ModemManager-enums.h')
-rw-r--r--include/ModemManager-enums.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h
index 5ff799f0..87e5c5e7 100644
--- a/include/ModemManager-enums.h
+++ b/include/ModemManager-enums.h
@@ -818,15 +818,17 @@ typedef enum { /*< underscore_name=mm_sms_cdma_service_category >*/
* @MM_MODEM_LOCATION_SOURCE_GPS_RAW: GPS location given by predefined keys.
* @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.
*
* Sources of location information supported by the modem.
*/
typedef enum { /*< underscore_name=mm_modem_location_source >*/
- MM_MODEM_LOCATION_SOURCE_NONE = 0,
- MM_MODEM_LOCATION_SOURCE_3GPP_LAC_CI = 1 << 0,
- MM_MODEM_LOCATION_SOURCE_GPS_RAW = 1 << 1,
- MM_MODEM_LOCATION_SOURCE_GPS_NMEA = 1 << 2,
- MM_MODEM_LOCATION_SOURCE_CDMA_BS = 1 << 3,
+ MM_MODEM_LOCATION_SOURCE_NONE = 0,
+ MM_MODEM_LOCATION_SOURCE_3GPP_LAC_CI = 1 << 0,
+ MM_MODEM_LOCATION_SOURCE_GPS_RAW = 1 << 1,
+ MM_MODEM_LOCATION_SOURCE_GPS_NMEA = 1 << 2,
+ MM_MODEM_LOCATION_SOURCE_CDMA_BS = 1 << 3,
+ MM_MODEM_LOCATION_SOURCE_GPS_UNMANAGED = 1 << 4,
} MMModemLocationSource;
/**