Telemetry
DMS Telemetry and Geo-location. More...
Functions | |
void | zn_dms_set_telemetry_callback (zos_dms_telemetry_callback_t callback) |
Set callback to allow for posting custom telemetry information to the DMS. More... | |
zos_result_t | zn_dms_post_telemetry (void) |
Force the device to immediately post telemetry to the DMS. More... | |
zos_result_t | zn_dms_post_geolocation (void) |
API not currently supported. | |
Detailed Description
DMS Telemetry and Geo-location.
Function Documentation
zos_result_t zn_dms_post_telemetry | ( | void |
| ) |
Force the device to immediately post telemetry to the DMS.
This force the device to immediately post telemetry information to the DMS.
- Returns
- Result of API, see zos_result_t
void zn_dms_set_telemetry_callback | ( | zos_dms_telemetry_callback_t | callback | ) |
Set callback to allow for posting custom telemetry information to the DMS.
This sets a callback which is invoked when the device posts telemetry information to the DMS.
The callback executes in the Network Thread context. It is invoked when zn_dms_post_telemetry() is called and/or every dms.telemetry.interval milliseconds.
Refer to zos_dms_telemetry_callback_t for more information about the callback.
- Parameters
-
callback
Callback which enables posting custom telemetry to DMS. See zos_dms_telemetry_callback_t