aboutsummaryrefslogtreecommitdiff
path: root/src/mm-shared-qmi.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-07-02 00:31:50 +0200
committerDan Williams <dcbw@redhat.com>2018-08-21 13:26:08 +0000
commitd3b43bd0a6d80493703b7fa85e751981c101fe36 (patch)
tree79481c4578a588ab3db72859dfac7db6217bdf20 /src/mm-shared-qmi.h
parent091bf4dbd811a7e556613397cd0efa7b8998a2cd (diff)
shared-qmi: support for Qualcomm gpsOneXTRA assistance data
The gpsOneXTRA assistance data provides a convenient way to inject predicted orbit information into the module, without requiring to have an Internet connection in the module itself.
Diffstat (limited to 'src/mm-shared-qmi.h')
-rw-r--r--src/mm-shared-qmi.h86
1 files changed, 53 insertions, 33 deletions
diff --git a/src/mm-shared-qmi.h b/src/mm-shared-qmi.h
index 13b95850..31547e0f 100644
--- a/src/mm-shared-qmi.h
+++ b/src/mm-shared-qmi.h
@@ -62,38 +62,58 @@ gboolean mm_shared_qmi_ensure_client (MMSharedQmi *self,
/* Shared QMI location support */
-void mm_shared_qmi_location_load_capabilities (MMIfaceModemLocation *self,
- GAsyncReadyCallback callback,
- gpointer user_data);
-MMModemLocationSource mm_shared_qmi_location_load_capabilities_finish (MMIfaceModemLocation *self,
- GAsyncResult *res,
- GError **error);
-void mm_shared_qmi_enable_location_gathering (MMIfaceModemLocation *_self,
- MMModemLocationSource source,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gboolean mm_shared_qmi_enable_location_gathering_finish (MMIfaceModemLocation *self,
- GAsyncResult *res,
- GError **error);
-void mm_shared_qmi_disable_location_gathering (MMIfaceModemLocation *_self,
- MMModemLocationSource source,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gboolean mm_shared_qmi_disable_location_gathering_finish (MMIfaceModemLocation *self,
- GAsyncResult *res,
- GError **error);
-void mm_shared_qmi_location_load_supl_server (MMIfaceModemLocation *self,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gchar *mm_shared_qmi_location_load_supl_server_finish (MMIfaceModemLocation *self,
- GAsyncResult *res,
- GError **error);
-void mm_shared_qmi_location_set_supl_server (MMIfaceModemLocation *self,
- const gchar *supl,
- GAsyncReadyCallback callback,
- gpointer user_data);
-gboolean mm_shared_qmi_location_set_supl_server_finish (MMIfaceModemLocation *self,
- GAsyncResult *res,
- GError **error);
+void mm_shared_qmi_location_load_capabilities (MMIfaceModemLocation *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+MMModemLocationSource mm_shared_qmi_location_load_capabilities_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+void mm_shared_qmi_enable_location_gathering (MMIfaceModemLocation *_self,
+ MMModemLocationSource source,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_shared_qmi_enable_location_gathering_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+void mm_shared_qmi_disable_location_gathering (MMIfaceModemLocation *_self,
+ MMModemLocationSource source,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_shared_qmi_disable_location_gathering_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+void mm_shared_qmi_location_load_supl_server (MMIfaceModemLocation *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gchar *mm_shared_qmi_location_load_supl_server_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+void mm_shared_qmi_location_set_supl_server (MMIfaceModemLocation *self,
+ const gchar *supl,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_shared_qmi_location_set_supl_server_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+void mm_shared_qmi_location_load_supported_assistance_data (MMIfaceModemLocation *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+MMModemLocationAssistanceDataType mm_shared_qmi_location_load_supported_assistance_data_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+void mm_shared_qmi_location_inject_assistance_data (MMIfaceModemLocation *self,
+ const guint8 *data,
+ gsize data_size,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_shared_qmi_location_inject_assistance_data_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+void mm_shared_qmi_location_load_assistance_data_servers (MMIfaceModemLocation *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gchar **mm_shared_qmi_location_load_assistance_data_servers_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
#endif /* MM_SHARED_QMI_H */