|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (MTB & µPython)
|
#include <ble_nus.h>
Data Fields | |
| uint32_t | disconnect_count |
| uint8_t | last_disconnect_reason |
| uint32_t | advert_restart_attempts |
| int | last_advert_restart_result |
| uint8_t | deinit_in_progress_at_last_disconnect |
| uint32_t | boot_advert_attempts |
| int | last_boot_advert_result |
Diagnostic snapshot reported in the _diag.ble block of the bento.fw.query reply: disconnect and re-advertising counters, and the result of the latest attempts, for diagnosing a board the desktop cannot find again after a link drop. The result fields hold AIROC wiced_result_t codes (0 = WICED_BT_SUCCESS).
| uint32_t ble_nus_diag_t::disconnect_count |
| uint8_t ble_nus_diag_t::last_disconnect_reason |
| uint32_t ble_nus_diag_t::advert_restart_attempts |
| int ble_nus_diag_t::last_advert_restart_result |
| uint8_t ble_nus_diag_t::deinit_in_progress_at_last_disconnect |
| uint32_t ble_nus_diag_t::boot_advert_attempts |
| int ble_nus_diag_t::last_boot_advert_result |