ESPHome  2024.10.2
Public Member Functions
esphome::esp32_ble_server::BLE2901 Class Reference

#include <ble_2901.h>

Inheritance diagram for esphome::esp32_ble_server::BLE2901:
esphome::esp32_ble_server::BLEDescriptor

Public Member Functions

 BLE2901 (const std::string &value)
 
 BLE2901 (const uint8_t *data, size_t length)
 
- Public Member Functions inherited from esphome::esp32_ble_server::BLEDescriptor
 BLEDescriptor (ESPBTUUID uuid, uint16_t max_len=100)
 
virtual ~BLEDescriptor ()
 
void do_create (BLECharacteristic *characteristic)
 
void set_value (const std::string &value)
 
void set_value (const uint8_t *data, size_t length)
 
void gatts_event_handler (esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param)
 
bool is_created ()
 
bool is_failed ()
 

Additional Inherited Members

- Protected Types inherited from esphome::esp32_ble_server::BLEDescriptor
enum  State : uint8_t { FAILED = 0x00, INIT, CREATING, CREATED }
 
- Protected Attributes inherited from esphome::esp32_ble_server::BLEDescriptor
BLECharacteristiccharacteristic_ {nullptr}
 
ESPBTUUID uuid_
 
uint16_t handle_ {0xFFFF}
 
esp_attr_value_t value_
 
esp_gatt_perm_t permissions_ = ESP_GATT_PERM_READ | ESP_GATT_PERM_WRITE
 
enum esphome::esp32_ble_server::BLEDescriptor::State INIT
 

Detailed Description

Definition at line 10 of file ble_2901.h.

Constructor & Destructor Documentation

◆ BLE2901() [1/2]

esphome::esp32_ble_server::BLE2901::BLE2901 ( const std::string &  value)

Definition at line 9 of file ble_2901.cpp.

◆ BLE2901() [2/2]

esphome::esp32_ble_server::BLE2901::BLE2901 ( const uint8_t *  data,
size_t  length 
)

Definition at line 10 of file ble_2901.cpp.


The documentation for this class was generated from the following files: