io.edgehog.devicemanager.Geolocation v0.1
Generic Geolocation sampled data.
Geolocation allows geolocation sensors to stream location data, such as GPS data. Values availability depends on what sensors are present on devices and what measurement systems are in use. The id represents a unique identifier for an individual sensor.
About
This interface is of type datastream and is owned by the device, meaning that it is the device which initiates the data flow. Thanks to this type of interface, the device can send a mutable, ordered stream of data, with no concept of persistent state or synchronization.
Data gets sent with an object aggregation. Astarte expects the owner to send all of the interface's mappings at the same time, packed in a single message.
Mappings
The interface has the following mappings:
/%{id}/latitudewithdoubletype. Sampled latitude value./%{id}/longitudewithdoubletype. Sampled longitude value./%{id}/altitudewithdoubletype. Sampled altitude value./%{id}/accuracywithdoubletype. Sampled accuracy of the latitude and longitude properties./%{id}/altitudeAccuracywithdoubletype. Sampled accuracy of the altitude property./%{id}/headingwithdoubletype. Sampled value representing the direction towards which the device is facing./%{id}/speedwithdoubletype. Sampled value representing the velocity of the device.
/%{id}/latitude
Sampled latitude value.
This endpoint accepts values of type double: a double-precision floating-point number as specified by binary64, by the IEEE 754 standard.
The endpoint is parametric and id can be replaced with any valid string to send data on specialized paths.
The endpoint has a specific configuration for how data is stored, transferred and indexed. Astarte expects a valid timestamp to be attached each time data is produced. Data is considered delivered when the transport successfully sends the data regardless of the outcome. Data is discarded if the transport is temporarily uncapable of delivering it. Delivered data is kept for 5184000 seconds before it is erased from the database.
/%{id}/longitude
Sampled longitude value.
This endpoint accepts values of type double: a double-precision floating-point number as specified by binary64, by the IEEE 754 standard.
The endpoint is parametric and id can be replaced with any valid string to send data on specialized paths.
The endpoint has a specific configuration for how data is stored, transferred and indexed. Astarte expects a valid timestamp to be attached each time data is produced. Data is considered delivered when the transport successfully sends the data regardless of the outcome. Data is discarded if the transport is temporarily uncapable of delivering it. Delivered data is kept for 5184000 seconds before it is erased from the database.
/%{id}/altitude
Sampled altitude value.
This endpoint accepts values of type double: a double-precision floating-point number as specified by binary64, by the IEEE 754 standard.
The endpoint is parametric and id can be replaced with any valid string to send data on specialized paths.
The endpoint has a specific configuration for how data is stored, transferred and indexed. Astarte expects a valid timestamp to be attached each time data is produced. Data is considered delivered when the transport successfully sends the data regardless of the outcome. Data is discarded if the transport is temporarily uncapable of delivering it. Delivered data is kept for 5184000 seconds before it is erased from the database.
/%{id}/accuracy
Sampled accuracy of the latitude and longitude properties.
This endpoint accepts values of type double: a double-precision floating-point number as specified by binary64, by the IEEE 754 standard.
The endpoint is parametric and id can be replaced with any valid string to send data on specialized paths.
The endpoint has a specific configuration for how data is stored, transferred and indexed. Astarte expects a valid timestamp to be attached each time data is produced. Data is considered delivered when the transport successfully sends the data regardless of the outcome. Data is discarded if the transport is temporarily uncapable of delivering it. Delivered data is kept for 5184000 seconds before it is erased from the database.
/%{id}/altitudeAccuracy
Sampled accuracy of the altitude property.
This endpoint accepts values of type double: a double-precision floating-point number as specified by binary64, by the IEEE 754 standard.
The endpoint is parametric and id can be replaced with any valid string to send data on specialized paths.
The endpoint has a specific configuration for how data is stored, transferred and indexed. Astarte expects a valid timestamp to be attached each time data is produced. Data is considered delivered when the transport successfully sends the data regardless of the outcome. Data is discarded if the transport is temporarily uncapable of delivering it. Delivered data is kept for 5184000 seconds before it is erased from the database.
/%{id}/heading
Sampled value representing the direction towards which the device is facing.
This endpoint accepts values of type double: a double-precision floating-point number as specified by binary64, by the IEEE 754 standard.
The endpoint is parametric and id can be replaced with any valid string to send data on specialized paths.
The endpoint has a specific configuration for how data is stored, transferred and indexed. Astarte expects a valid timestamp to be attached each time data is produced. Data is considered delivered when the transport successfully sends the data regardless of the outcome. Data is discarded if the transport is temporarily uncapable of delivering it. Delivered data is kept for 5184000 seconds before it is erased from the database.
/%{id}/speed
Sampled value representing the velocity of the device.
This endpoint accepts values of type double: a double-precision floating-point number as specified by binary64, by the IEEE 754 standard.
The endpoint is parametric and id can be replaced with any valid string to send data on specialized paths.
The endpoint has a specific configuration for how data is stored, transferred and indexed. Astarte expects a valid timestamp to be attached each time data is produced. Data is considered delivered when the transport successfully sends the data regardless of the outcome. Data is discarded if the transport is temporarily uncapable of delivering it. Delivered data is kept for 5184000 seconds before it is erased from the database.