platypush.message.event.gps

class platypush.message.event.gps.GPSDeviceEvent(path, activated=None, native=False, bps=None, parity=None, stopbits=None, cycle=None, driver=None, *args, **kwargs)[source]

Event triggered when a new GPS device is connected or reconfigured

__init__(path, activated=None, native=False, bps=None, parity=None, stopbits=None, cycle=None, driver=None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.gps.GPSEvent(*args, **kwargs)[source]

Generic class for GPS events

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.gps.GPSUpdateEvent(device=None, latitude=None, longitude=None, altitude=None, mode=None, epv=None, eph=None, sep=None, *args, **kwargs)[source]

Event triggered upon GPS status update

__init__(device=None, latitude=None, longitude=None, altitude=None, mode=None, epv=None, eph=None, sep=None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.gps.GPSVersionEvent(release=None, rev=None, proto_major=None, proto_minor=None, *args, **kwargs)[source]

Event usually triggered on startup or reconnection, when the GPS device advertises its version parameters

__init__(release=None, rev=None, proto_major=None, proto_minor=None, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]