#include <ble_descriptor.h>
Definition at line 23 of file ble_descriptor.h.
◆ State
◆ BLEDescriptor()
| esphome::esp32_ble_server::BLEDescriptor::BLEDescriptor |
( |
ESPBTUUID | uuid, |
|
|
uint16_t | max_len = 100, |
|
|
bool | read = true, |
|
|
bool | write = true ) |
◆ ~BLEDescriptor()
| esphome::esp32_ble_server::BLEDescriptor::~BLEDescriptor |
( |
| ) |
|
|
virtual |
◆ do_create()
| void esphome::esp32_ble_server::BLEDescriptor::do_create |
( |
BLECharacteristic * | characteristic | ) |
|
◆ gatts_event_handler()
| void esphome::esp32_ble_server::BLEDescriptor::gatts_event_handler |
( |
esp_gatts_cb_event_t | event, |
|
|
esp_gatt_if_t | gatts_if, |
|
|
esp_ble_gatts_cb_param_t * | param ) |
◆ get_uuid()
| ESPBTUUID esphome::esp32_ble_server::BLEDescriptor::get_uuid |
( |
| ) |
const |
|
inline |
◆ is_created()
| bool esphome::esp32_ble_server::BLEDescriptor::is_created |
( |
| ) |
|
|
inline |
◆ is_failed()
| bool esphome::esp32_ble_server::BLEDescriptor::is_failed |
( |
| ) |
|
|
inline |
◆ on_write()
| void esphome::esp32_ble_server::BLEDescriptor::on_write |
( |
std::function< void(std::span< const uint8_t >, uint16_t)> && | callback | ) |
|
|
inline |
◆ set_value() [1/3]
| void esphome::esp32_ble_server::BLEDescriptor::set_value |
( |
ByteBuffer | buffer | ) |
|
|
inline |
◆ set_value() [2/3]
| void esphome::esp32_ble_server::BLEDescriptor::set_value |
( |
std::initializer_list< uint8_t > | data | ) |
|
◆ set_value() [3/3]
| void esphome::esp32_ble_server::BLEDescriptor::set_value |
( |
std::vector< uint8_t > && | buffer | ) |
|
◆ set_value_impl_()
| void esphome::esp32_ble_server::BLEDescriptor::set_value_impl_ |
( |
const uint8_t * | data, |
|
|
size_t | length ) |
|
protected |
◆ characteristic_
| BLECharacteristic* esphome::esp32_ble_server::BLEDescriptor::characteristic_ {nullptr} |
|
protected |
◆ handle_
| uint16_t esphome::esp32_ble_server::BLEDescriptor::handle_ {0xFFFF} |
|
protected |
◆ INIT
◆ on_write_callback_
| std::unique_ptr<std::function<void(std::span<const uint8_t>, uint16_t)> > esphome::esp32_ble_server::BLEDescriptor::on_write_callback_ |
|
protected |
◆ permissions_
| esp_gatt_perm_t esphome::esp32_ble_server::BLEDescriptor::permissions_ {} |
|
protected |
◆ uuid_
| ESPBTUUID esphome::esp32_ble_server::BLEDescriptor::uuid_ |
|
protected |
◆ value_
| esp_attr_value_t esphome::esp32_ble_server::BLEDescriptor::value_ {} |
|
protected |
The documentation for this class was generated from the following files: