UART 输出log 如下:
I (5584) NimBLE: GATT procedure initiated: notify;
I (5584) NimBLE: att_handle=18
函数跟踪如下:
btc_blufi_protocol_handler()
case BLUFI_TYPE_CTRL_SUBTYPE_GET_VERSION: {
data[0] = BTC_BLUFI_GREAT_VER;
data[1] = BTC_BLUFI_SUB_VER;
btc_blufi_send_encap(type, &data[0], sizeof(data));
btc_blufi_send_encap
esp_blufi_send_encap
btc_blufi_send_notify
esp_blufi_send_notify
ble_gatts_notify_custom
ble_gattc_log_notify
ble_gattc_log_proc_init
BLE_HS_LOG(INFO, "GATT procedure initiated: %s", name)
1万+

被折叠的 条评论
为什么被折叠?



