The GNSS receiver configuration is highly proprietary.
Some are configured through the GNSS port itself, some through other
ports. The properties themselves vary among the manufacturers, with no
standard available. Besides, ofono doesn't handle any state for a GNSS
receiver.

Therefore, this extensions allows to get and set directly D-Bus
properties by the driver.
---
 include/location-reporting.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/location-reporting.h b/include/location-reporting.h
index 0717f710..d3f013d2 100644
--- a/include/location-reporting.h
+++ b/include/location-reporting.h
@@ -52,6 +52,9 @@ struct ofono_location_reporting_driver {
                        ofono_location_reporting_enable_cb_t cb, void *data);
        void (*disable)(struct ofono_location_reporting *lr,
                        ofono_location_reporting_disable_cb_t cb, void *data);
+       void (*get_properties)(struct ofono_location_reporting *lr,
+                                                               void *_dict);
+       void* (*set_property)(struct ofono_location_reporting *lr, void *_msg);
 };
 
 int ofono_location_reporting_driver_register(
-- 
2.17.1

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to