3#if CONFIG_BT_BLE_ENABLED || CONFIG_BT_BLUEDROID_ENABLED
17#include <esp_gatt_defs.h>
24 0x00, 0xc7, 0xc4, 0x4e, 0xe3, 0x6c,
28 0x5a, 0x0e, 0xb8, 0x03,
34 0xf3, 0x6b, 0x10, 0x9d, 0x66, 0xf2,
38 0xdb, 0xe5, 0x72, 0x77,
144 ESP_LOGE(
"MIDIBLE",
"Create attribute table failed, error code: %d",
153 "Create attribute table error, num_handle (%d) "
154 "doesn't equal MIDI_ATTRIBUTE_TABLE_SIZE (%d)",
159 "Created attribute table successfully, number of "
161 param->add_attr_tab.num_handle);
Advertising the MIDI service for Bluetooth Low Energy.
void advertising_set_service_uuid(const uint8_t uuid[], uint16_t length)
Set the UUID of the service to be advertised.
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_handle_register_app_event(esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param)
void midi_register_interface(esp_gatt_if_t gatts_if)
uint16_t midi_get_app_id(void)
uint16_t midi_get_gatts_if(void)
void midi_handle_create_attribute_table_event(esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param)
uint16_t midi_get_service_handle(void)
uint16_t midi_get_descriptor_handle(void)
uint16_t midi_get_characteristic_handle(void)