freesmartphone.org Framework DBus Interface Specification

org.freedesktop.Gypsy.Position

Description

The Position interface is used to get the GPS position.

Namespace

org.freedesktop.Gypsy.Position

Methods

Signals

Errors

None

Methods

GetPosition ( ) → iiddd

Description: Get the GPS coordinates.

Returns

i: fields

Bit mask, gives fields validity.

i: tstamp

This is the seconds elapsed since epoch.

d: lat

Latitude in decimal degrees.

d: lon

Longitude in decimal degrees.

d: alt

Altitude in meters.

Signals

PositionChanged ( iiddd )

Description: Emitted when one or more of the fields has changed. See GetPosition() for values.

Parameters

i: fields

Bit mask, gives fields validity.

i: tstamp

This is the seconds elapsed since epoch.

d: lat

Latitude in decimal degrees.

d: lon

Longitude in decimal degrees.

d: alt

Altitude in meters.


| Specified 2008-2009 by the Freesmartphone.org team. | Join us and discuss further drafts smartphones-standards (at) linuxtogo (dot) org