ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
ble_2902.cpp
Go to the documentation of this file.
1#include "ble_2902.h"
3
4#ifdef USE_ESP32
5
6#include <esp_gatt_defs.h>
7
9
10// The client configuration value is always 2 bytes
11BLE2902::BLE2902() : BLEDescriptor(esp32_ble::ESPBTUUID::from_uint16(ESP_GATT_UUID_CHAR_CLIENT_CONFIG), 2) {
12 this->set_value({0, 0});
13}
14
15} // namespace esphome::esp32_ble_server
16
17#endif
void set_value(const uint8_t *data, size_t length)