ESPHome 2026.5.0b1
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 <cstring>
7
9
10BLE2902::BLE2902() : BLEDescriptor(esp32_ble::ESPBTUUID::from_uint16(0x2902)) {
11 this->value_.attr_len = 2;
12 uint8_t data[2] = {0, 0};
13 memcpy(this->value_.attr_value, data, 2);
14}
15
16} // namespace esphome::esp32_ble_server
17
18#endif