ofono/doc/location-reporting-api.txt

40 lines
999 B
Plaintext
Raw Normal View History

2011-02-22 18:35:15 +00:00
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.
2011-02-24 01:06:07 +00:00
filedescriptor Request()
2011-02-22 18:35:15 +00:00
Asks to turn ON the NMEA stream and supplies the
gps device file descriptor. The external client should
2011-02-22 18:35:15 +00:00
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.
2011-02-22 18:35:15 +00:00
string Type [readonly]
Holds the type of the device. Currently only NMEA is
supported.