SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (ModusToolbox)
Loading...
Searching...
No Matches
ble_nus_diag_t Struct Reference

#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

Detailed Description

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).

Field Documentation

◆ disconnect_count

uint32_t ble_nus_diag_t::disconnect_count

◆ last_disconnect_reason

uint8_t ble_nus_diag_t::last_disconnect_reason

◆ advert_restart_attempts

uint32_t ble_nus_diag_t::advert_restart_attempts

◆ last_advert_restart_result

int ble_nus_diag_t::last_advert_restart_result

◆ deinit_in_progress_at_last_disconnect

uint8_t ble_nus_diag_t::deinit_in_progress_at_last_disconnect

◆ boot_advert_attempts

uint32_t ble_nus_diag_t::boot_advert_attempts

◆ last_boot_advert_result

int ble_nus_diag_t::last_boot_advert_result

The documentation for this struct was generated from the following file: