ESPHome
2024.9.2
|
#include <ble_characteristic.h>
Public Member Functions | |
~BLECharacteristic () | |
void | parse_descriptors () |
void | release_descriptors () |
BLEDescriptor * | get_descriptor (espbt::ESPBTUUID uuid) |
BLEDescriptor * | get_descriptor (uint16_t uuid) |
BLEDescriptor * | get_descriptor_by_handle (uint16_t handle) |
esp_err_t | write_value (uint8_t *new_val, int16_t new_val_size) |
esp_err_t | write_value (uint8_t *new_val, int16_t new_val_size, esp_gatt_write_type_t write_type) |
Data Fields | |
bool | parsed = false |
espbt::ESPBTUUID | uuid |
uint16_t | handle |
esp_gatt_char_prop_t | properties |
std::vector< BLEDescriptor * > | descriptors |
BLEService * | service |
Definition at line 18 of file ble_characteristic.h.
esphome::esp32_ble_client::BLECharacteristic::~BLECharacteristic | ( | ) |
Definition at line 14 of file ble_characteristic.cpp.
BLEDescriptor * esphome::esp32_ble_client::BLECharacteristic::get_descriptor | ( | espbt::ESPBTUUID | uuid | ) |
Definition at line 59 of file ble_characteristic.cpp.
BLEDescriptor * esphome::esp32_ble_client::BLECharacteristic::get_descriptor | ( | uint16_t | uuid | ) |
Definition at line 68 of file ble_characteristic.cpp.
BLEDescriptor * esphome::esp32_ble_client::BLECharacteristic::get_descriptor_by_handle | ( | uint16_t | handle | ) |
Definition at line 71 of file ble_characteristic.cpp.
void esphome::esp32_ble_client::BLECharacteristic::parse_descriptors | ( | ) |
Definition at line 26 of file ble_characteristic.cpp.
void esphome::esp32_ble_client::BLECharacteristic::release_descriptors | ( | ) |
Definition at line 19 of file ble_characteristic.cpp.
esp_err_t esphome::esp32_ble_client::BLECharacteristic::write_value | ( | uint8_t * | new_val, |
int16_t | new_val_size | ||
) |
Definition at line 92 of file ble_characteristic.cpp.
esp_err_t esphome::esp32_ble_client::BLECharacteristic::write_value | ( | uint8_t * | new_val, |
int16_t | new_val_size, | ||
esp_gatt_write_type_t | write_type | ||
) |
Definition at line 81 of file ble_characteristic.cpp.
std::vector<BLEDescriptor *> esphome::esp32_ble_client::BLECharacteristic::descriptors |
Definition at line 25 of file ble_characteristic.h.
uint16_t esphome::esp32_ble_client::BLECharacteristic::handle |
Definition at line 23 of file ble_characteristic.h.
bool esphome::esp32_ble_client::BLECharacteristic::parsed = false |
Definition at line 21 of file ble_characteristic.h.
esp_gatt_char_prop_t esphome::esp32_ble_client::BLECharacteristic::properties |
Definition at line 24 of file ble_characteristic.h.
BLEService* esphome::esp32_ble_client::BLECharacteristic::service |
Definition at line 33 of file ble_characteristic.h.
espbt::ESPBTUUID esphome::esp32_ble_client::BLECharacteristic::uuid |
Definition at line 22 of file ble_characteristic.h.