diff options
author | Stephan Gerhold <stephan@gerhold.net> | 2020-10-22 12:45:42 +0200 |
---|---|---|
committer | Stephan Gerhold <stephan@gerhold.net> | 2020-10-23 17:45:15 +0200 |
commit | d9f024df6af2f8494c0e22ecf4818566ba8dd05f (patch) | |
tree | ff7caf4c2cb0c68812bd1ace29a2e3e2a59cfb10 /data | |
parent | 8f9f2b68b50246767bd37954f9054752cc0a911f (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 'data')
-rw-r--r-- | data/qmi-service-loc.json | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/data/qmi-service-loc.json b/data/qmi-service-loc.json index e18a551..5519c04 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", |