DMS Telemetry. More...

Functions

void gos_dms_set_telemetry_callback (gos_dms_telemetry_callback_t callback)
 Set callback to allow for posting custom telemetry information to the DMS. More...
 
gos_result_t gos_dms_post_telemetry (void)
 Force the device to immediately post telemetry to the DMS. More...
 

Detailed Description

DMS Telemetry.

Function Documentation

◆ gos_dms_post_telemetry()

gos_result_t gos_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 gos_result_t

◆ gos_dms_set_telemetry_callback()

void gos_dms_set_telemetry_callback ( gos_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 gos_dms_post_telemetry() is called and/or every dms.telemetry.interval milliseconds.

Refer to gos_dms_telemetry_callback_t for more information about the callback.

Parameters
callbackCallback which enables posting custom telemetry to DMS. See gos_dms_telemetry_callback_t