Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Functions
ble2902.h File Reference

Detailed Description

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>
+ Include dependency graph for ble2902.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.
 

Function Documentation

◆ ble2902_handle_write()

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.

◆ ble2902_get_value()

uint16_t ble2902_get_value ( uint16_t handle)

Get the value of the descriptor.

Parameters
handleThe handle of the CCC descriptor.