3#if CONFIG_BT_BLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED
20 return "ESP_GATTS_ADD_CHAR_DESCR_EVT";
33 return "ESP_GATTS_CREAT_ATTR_TAB_EVT";
36 return "ESP_GATTS_SEND_SERVICE_CHANGE_EVT";
38 default:
return "<invalid>";
53 default:
return "<invalid>";
66 return "ESP_LE_AUTH_REQ_SC_MITM_BOND";
67 default:
return "<invalid>";
74 return "ESP_GAP_BLE_ADV_DATA_SET_COMPLETE_EVT";
76 return "ESP_GAP_BLE_SCAN_RSP_DATA_SET_COMPLETE_EVT";
78 return "ESP_GAP_BLE_SCAN_PARAM_SET_COMPLETE_EVT";
81 return "ESP_GAP_BLE_ADV_DATA_RAW_SET_COMPLETE_EVT";
83 return "ESP_GAP_BLE_SCAN_RSP_DATA_RAW_SET_COMPLETE_EVT";
85 return "ESP_GAP_BLE_ADV_START_COMPLETE_EVT";
87 return "ESP_GAP_BLE_SCAN_START_COMPLETE_EVT";
92 return "ESP_GAP_BLE_PASSKEY_NOTIF_EVT";
99 return "ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT";
101 return "ESP_GAP_BLE_SCAN_STOP_COMPLETE_EVT";
103 return "ESP_GAP_BLE_SET_STATIC_RAND_ADDR_EVT";
105 return "ESP_GAP_BLE_UPDATE_CONN_PARAMS_EVT";
107 return "ESP_GAP_BLE_SET_PKT_LENGTH_COMPLETE_EVT";
109 return "ESP_GAP_BLE_SET_LOCAL_PRIVACY_COMPLETE_EVT";
111 return "ESP_GAP_BLE_REMOVE_BOND_DEV_COMPLETE_EVT";
113 return "ESP_GAP_BLE_CLEAR_BOND_DEV_COMPLETE_EVT";
115 return "ESP_GAP_BLE_GET_BOND_DEV_COMPLETE_EVT";
117 return "ESP_GAP_BLE_READ_RSSI_COMPLETE_EVT";
119 return "ESP_GAP_BLE_UPDATE_WHITELIST_COMPLETE_EVT";
121 return "ESP_GAP_BLE_UPDATE_DUPLICATE_EXCEPTIONAL_LIST_COMPLETE_EVT";
123 default:
return "<invalid>";
Helpers for printing the names of enum values of the ESP32 Bluetooth API.
const char * esp_gatts_cb_event_to_string(esp_gatts_cb_event_t event)
const char * esp_ble_key_type_to_string(esp_ble_key_type_t key_type)
const char * esp_gap_ble_cb_event_to_string(esp_gap_ble_cb_event_t event)
const char * esp_ble_auth_req_to_string(esp_ble_auth_req_t auth_type)
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.