GPS Overview
GPS Device Service
The Global Positioning System (GPS) Device Service connects GPS sensors to Edge Xpert with the help of a GPS daemon. The GPS Device Service operates by reading data from the GPS daemon to which the physical GPS sensors are connected.
The Device Service is pre-configured with a running device based on a pre-existing GPS device profile. The supplied profile cannot be reconfigured and new profiles cannot be added.
Info
The GPS Device Service also supports the collection of National Marine Electronics Association (NMEA) based GPS devices. NMEA is a standard data format for marine-based GPS devices and so the GPS daemon will retrieve NMEA formatted data when an NMEA-based device is attached to it. This data will be collected by the GPS Device Service as per regular GPS data.
Key Features
The GPS Device Service supports reading of the following data from GPS sensors:
- Time
- Date
- Degrees from true north
- Speed of climb
- Vertical positioning
- Speed of travel
- Latitude
- Longitude
Supported Data Types
The GPS Device Service supports the following data types:
- String
- Float64
GPS Device Profile
The GPS Device Service uses a pre-defined device profile. This defines the commands that can be read from a GPS device, listed above in Key Features.
The device profile is used for all GPS devices and cannot be modified. However, it can be referenced in /usr/share/edgexpert/examples/device-services/gps/GPS.yaml
.
GPS Protocol Properties
The GPS Device Service uses a pre-defined device. Refer to GPS Configuration to update the protocol properties.
Using the GPS Device Service
Examples of setting up and using devices with the Edge Xpert GPS Device Service can be found at GPS Example.