Tile Diagnostics module. More...
Data Structures |
|
| struct | tile_tdg_module |
Functions |
|
| int | tile_tdg_register (struct tile_tdg_module *module) |
| int | tdg_add_data (void *data, uint8_t length) |
|
Add diagnostic data.
More...
|
|
| int | tdg_finish (void) |
|
Finish adding diagnostic data.
More...
|
|
Detailed Description
Tile Diagnostics module.
This module is used by Tile Lib to send diagnostic information to the Tile data collection system. Consult with Tile for the proper format for diagnostic data, if it is to be automatically parsed by the Tile backend.
Function Documentation
| int tdg_add_data | ( | void * | data , |
| uint8_t | length | ||
| ) |
Add diagnostic data.
Should be called during the call to get_diagnostics. This function can be called multiple times, for each piece of diagnostic info that is to be added.
- Parameters
-
[in] data Data to add to diagnostics. [in] length Length of data to add.
| int tdg_finish | ( | void | ) |
Finish adding diagnostic data.
Should be called during the call to get_diagnostics, after all data has been added.
| int tile_tdg_register | ( | struct tile_tdg_module * | module | ) |
Register the TDG module.