aboutsummaryrefslogtreecommitdiffstats
path: root/libqmi-glib
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-18 09:16:44 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-18 13:14:38 +0200
commit202acdbdd2e10d3db3e08b96884aff5ff16606fd (patch)
tree18de325f2151ce0c097ad37e89d8fa41c0f3cf6c /libqmi-glib
parentc8137b6d0f27ea7b012d9c0656b437140d42f68f (diff)
downloadexternal_libqmi-202acdbdd2e10d3db3e08b96884aff5ff16606fd.zip
external_libqmi-202acdbdd2e10d3db3e08b96884aff5ff16606fd.tar.gz
external_libqmi-202acdbdd2e10d3db3e08b96884aff5ff16606fd.tar.bz2
pds: implement "Get/Set GPS Service State" requests/responses
Diffstat (limited to 'libqmi-glib')
-rw-r--r--libqmi-glib/qmi-enums-pds.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libqmi-glib/qmi-enums-pds.h b/libqmi-glib/qmi-enums-pds.h
index b20a0b9..bed6b26 100644
--- a/libqmi-glib/qmi-enums-pds.h
+++ b/libqmi-glib/qmi-enums-pds.h
@@ -122,4 +122,21 @@ typedef enum {
QMI_PDS_DATA_VALID_OPERATING_MODE = 1 << 22
} QmiPdsDataValid;
+/*****************************************************************************/
+/* Helper enums for the 'QMI PDS Get GPS Service State' request/response */
+
+/**
+ * QmiPdsTrackingSessionState:
+ * @QMI_PDS_TRACKING_SESSION_STATE_UNKNOWN: Unknown state.
+ * @QMI_PDS_TRACKING_SESSION_STATE_INACTIVE: Session inactive.
+ * @QMI_PDS_TRACKING_SESSION_STATE_ACTIVE: Session active.
+ *
+ * State of the tracking session.
+ */
+typedef enum {
+ QMI_PDS_TRACKING_SESSION_STATE_UNKNOWN = 0,
+ QMI_PDS_TRACKING_SESSION_STATE_INACTIVE = 1,
+ QMI_PDS_TRACKING_SESSION_STATE_ACTIVE = 2
+} QmiPdsTrackingSessionState;
+
#endif /* _LIBQMI_GLIB_QMI_ENUMS_PDS_H_ */