From d9f024df6af2f8494c0e22ecf4818566ba8dd05f Mon Sep 17 00:00:00 2001 From: Stephan Gerhold Date: Thu, 22 Oct 2020 12:45:42 +0200 Subject: 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 --- data/qmi-service-loc.json | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'data') diff --git a/data/qmi-service-loc.json b/data/qmi-service-loc.json index e18a5511..5519c044 100644 --- a/data/qmi-service-loc.json +++ b/data/qmi-service-loc.json @@ -475,6 +475,52 @@ // ********************************************************************************* + { "name" : "Set Engine Lock", + "type" : "Message", + "service" : "LOC", + "id" : "0x003A", + "since" : "1.28", + "input" : [ { "name" : "Lock Type", + "id" : "0x01", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiLocLockType" } ], + "output" : [ { "common-ref" : "Operation Result" } ] }, + + { "name" : "Set Engine Lock", + "type" : "Indication", + "service" : "LOC", + "id" : "0x003A", + "since" : "1.28", + "output" : [ { "common-ref" : "LOC Indication Status" , + "since" : "1.28" } ] }, + + // ********************************************************************************* + + { "name" : "Get Engine Lock", + "type" : "Message", + "service" : "LOC", + "id" : "0x003B", + "since" : "1.28", + "output" : [ { "common-ref" : "Operation Result" } ] }, + + { "name" : "Get Engine Lock", + "type" : "Indication", + "service" : "LOC", + "id" : "0x003B", + "since" : "1.28", + "output" : [ { "common-ref" : "LOC Indication Status", + "since" : "1.28" }, + { "name" : "Lock Type", + "id" : "0x10", + "type" : "TLV", + "since" : "1.28", + "format" : "guint32", + "public-format" : "QmiLocLockType" } ] }, + + // ********************************************************************************* + { "name" : "Set NMEA Types", "type" : "Message", "service" : "LOC", -- cgit v1.2.1