Control Surface disable-pipes
MIDI Control Surface library for Arduino
ble2902.h
Go to the documentation of this file.
1#pragma once
2
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#include <esp_gatts_api.h>
22
25void ble2902_handle_write(esp_gatt_if_t gatts_if,
26 esp_ble_gatts_cb_param_t *param);
30bool ble2902_notifications_enabled(uint16_t handle);
34bool ble2902_indications_enabled(uint16_t handle);
38uint16_t ble2902_get_value(uint16_t handle);
39
40#ifdef __cplusplus
41}
42#endif
bool ble2902_notifications_enabled(uint16_t handle)
Check if notifications are enabled by the client.
bool ble2902_indications_enabled(uint16_t handle)
Check if indications are enabled by the client.
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.