Handling the Client Characteristic Configuration Descriptor (UUID 0x2902) for MIDI over Bluetooth Low Energy.
Determines whether notifications are enabled or not.
Definition in file ble2902.h.
#include <esp_gatts_api.h>
Go to the source code of this file.
Functions | |
void | ble2902_handle_write (esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param) |
Callback when the client writes to the descriptor. | |
uint16_t | ble2902_get_value (uint16_t handle) |
Get the value of the descriptor. | |
void ble2902_handle_write | ( | esp_gatt_if_t | gatts_if, |
esp_ble_gatts_cb_param_t * | param ) |
Callback when the client writes to the descriptor.
Currently only prints debug information or error messages.
uint16_t ble2902_get_value | ( | uint16_t | handle | ) |
Get the value of the descriptor.
handle | The handle of the CCC descriptor. |