3#if CONFIG_BT_BLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED
19 ESP_LOGI(
"MIDIBLE",
"Registering MIDI app");
21 ESP_LOGE(
"MIDIBLE",
"Register app failed, app_id %04x, status: %d",
44 ESP_LOGE(
"MIDIBLE",
"Advertising start failed");
49 ESP_LOGE(
"MIDIBLE",
"Advertising stop failed");
75 "config local privacy failed, error status = %d",
76 param->local_privacy_cmpl.status);
Advertising the MIDI service for Bluetooth Low Energy.
bool advertising_handle_config_complete_event(esp_ble_gap_cb_param_t *param)
Callback that indicates that the configuration of the advertising data was complete.
bool advertising_config(void)
Configure the advertising data, register with the Bluetooth driver.
bool advertising_handle_config_response_complete_event(esp_ble_gap_cb_param_t *param)
Callback that indicates that the configuration of the advertising response data was complete.
Helpers for printing the names of enum values of the ESP32 Bluetooth API.
Helpers for printing Bluetooth events and status.
void print_gatts_event(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param)
void print_gap_event(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param)
void gap_event_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param)
void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param)
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.
Declarations of internal functions for the MIDI over BLE system, used in the midi-*....
void midi_register_interface(esp_gatt_if_t gatts_if)
uint16_t midi_get_app_id(void)
void midi_handle_gatts_event(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param)