diff options
author | Rafael Ignacio Zurita <rafael.zurita@profusion.mobi> | 2011-02-22 15:35:15 -0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-02-23 17:19:38 -0600 |
commit | 2ce775c106bcb95d1356fecf8efdb9ec9ac5c3ae (patch) | |
tree | 8cec2589c1474a47b13d4c29de4894bab1c1b1e4 /doc/location-reporting-api.txt | |
parent | a5bcf1c9b344a4e083eb2714e7bdda3fde02afbf (diff) | |
download | ofono-2ce775c106bcb95d1356fecf8efdb9ec9ac5c3ae.tar.bz2 |
location-reporting: add documentation
Diffstat (limited to 'doc/location-reporting-api.txt')
-rw-r--r-- | doc/location-reporting-api.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/location-reporting-api.txt b/doc/location-reporting-api.txt new file mode 100644 index 00000000..b8ce840b --- /dev/null +++ b/doc/location-reporting-api.txt @@ -0,0 +1,39 @@ +Location Reporting Hierarchy [experimental] +================= + +Service org.ofono +Interface org.ofono.LocationReporting +Object path [variable prefix]/{modem0,modem1,...} + +Methods dict GetProperties() + + Returns all LocationReporting properties. See the + properties section for available properties. + + byte Request() + + Asks to turn ON the NMEA stream and supplies the + gps device file descriptor. The external cliend should + use the file descriptor to receive the NMEA data. + + Possible Errors: [service].Error.InProgress + [service].Error.InUse + [service].Error.Failed + + void Release() + + Releases the gps device file descriptor and turns + OFF the NMEA stream. + + Possible Errors: [service].Error.InProgress + [service].Error.NotAvailable + [service].Error.Failed + +Properties boolean Enabled [readonly] + + Boolean representing the state of the NMEA stream. + + string Type [readonly] + + Holds the type of the device. Currently only NMEA is + supported. |