![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
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... | |
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.
| 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.
| [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.