aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2020-10-22 12:45:42 +0200
committerStephan Gerhold <stephan@gerhold.net>2020-10-23 17:45:15 +0200
commitd9f024df6af2f8494c0e22ecf4818566ba8dd05f (patch)
treeff7caf4c2cb0c68812bd1ace29a2e3e2a59cfb10 /docs
parent8f9f2b68b50246767bd37954f9054752cc0a911f (diff)
loc: Add LOC Get/Set Engine Lock
This seems to allow blocking the location engine. When position sessions are locked, there are no position reports sent. I'm not exactly sure for what this is useful, but it's helpful to have the Get Engine Lock message to make sure that no-one else has locked the engine. The definitions have been translated from: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/location/tree/loc_api/loc_api_v02/location_service_v02.h?h=LA.BR.1.2.9.1-02310-8x16.0 https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/location/tree/loc_api/loc_api_v02/location_service_v02.c?h=LA.BR.1.2.9.1-02310-8x16.0
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-common.sections5
-rw-r--r--docs/reference/libqmi-glib/libqmi-glib-docs.xml4
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/reference/libqmi-glib/libqmi-glib-common.sections b/docs/reference/libqmi-glib/libqmi-glib-common.sections
index b5907f4..bebed64 100644
--- a/docs/reference/libqmi-glib/libqmi-glib-common.sections
+++ b/docs/reference/libqmi-glib/libqmi-glib-common.sections
@@ -1260,6 +1260,7 @@ QmiLocDeleteClockInfo
QmiLocDeleteGnssData
QmiLocNmeaType
QmiLocDeleteSvInfo
+QmiLocLockType
<SUBSECTION Methods>
qmi_loc_intermediate_report_state_get_string
qmi_loc_fix_recurrence_type_get_string
@@ -1283,6 +1284,7 @@ qmi_loc_delete_clock_info_build_string_from_mask
qmi_loc_delete_gnss_data_build_string_from_mask
qmi_loc_delete_sv_info_build_string_from_mask
qmi_loc_nmea_type_build_string_from_mask
+qmi_loc_lock_type_get_string
<SUBSECTION Private>
qmi_loc_intermediate_report_state_build_string_from_mask
qmi_loc_operation_mode_build_string_from_mask
@@ -1307,6 +1309,7 @@ qmi_loc_delete_cell_database_get_string
qmi_loc_delete_clock_info_get_string
qmi_loc_delete_sv_info_get_string
qmi_loc_nmea_type_get_string
+qmi_loc_lock_type_build_string_from_mask
<SUBSECTION Standard>
QMI_TYPE_LOC_INTERMEDIATE_REPORT_STATE
QMI_TYPE_LOC_FIX_RECURRENCE_TYPE
@@ -1329,6 +1332,7 @@ QMI_TYPE_LOC_DELETE_CELL_DATABASE
QMI_TYPE_LOC_DELETE_CLOCK_INFO
QMI_TYPE_LOC_DELETE_SV_INFO
QMI_TYPE_LOC_NMEA_TYPE
+QMI_TYPE_LOC_LOCK_TYPE
qmi_loc_intermediate_report_state_get_type
qmi_loc_fix_recurrence_type_get_type
qmi_loc_operation_mode_get_type
@@ -1350,6 +1354,7 @@ qmi_loc_delete_cell_database_get_type
qmi_loc_delete_clock_info_get_type
qmi_loc_delete_sv_info_get_type
qmi_loc_nmea_type_get_type
+qmi_loc_lock_type_get_type
</SECTION>
<SECTION>
diff --git a/docs/reference/libqmi-glib/libqmi-glib-docs.xml b/docs/reference/libqmi-glib/libqmi-glib-docs.xml
index 871fffe..5d0bc60 100644
--- a/docs/reference/libqmi-glib/libqmi-glib-docs.xml
+++ b/docs/reference/libqmi-glib/libqmi-glib-docs.xml
@@ -417,6 +417,8 @@
<xi:include href="xml/qmi-indication-loc-fix-recurrence-type.xml"/>
<xi:include href="xml/qmi-indication-loc-get-operation-mode.xml"/>
<xi:include href="xml/qmi-indication-loc-set-operation-mode.xml"/>
+ <xi:include href="xml/qmi-indication-loc-get-engine-lock.xml"/>
+ <xi:include href="xml/qmi-indication-loc-set-engine-lock.xml"/>
<xi:include href="xml/qmi-indication-loc-set-nmea-types.xml"/>
<xi:include href="xml/qmi-indication-loc-get-nmea-types.xml"/>
<xi:include href="xml/qmi-indication-loc-set-server.xml"/>
@@ -433,6 +435,8 @@
<xi:include href="xml/qmi-message-loc-register-events.xml"/>
<xi:include href="xml/qmi-message-loc-get-operation-mode.xml"/>
<xi:include href="xml/qmi-message-loc-set-operation-mode.xml"/>
+ <xi:include href="xml/qmi-message-loc-get-engine-lock.xml"/>
+ <xi:include href="xml/qmi-message-loc-set-engine-lock.xml"/>
<xi:include href="xml/qmi-message-loc-set-nmea-types.xml"/>
<xi:include href="xml/qmi-message-loc-get-nmea-types.xml"/>
<xi:include href="xml/qmi-message-loc-set-server.xml"/>