1 #include "ble_service.h" 9 namespace esp32_ble_client {
11 static const char *
const TAG =
"esp32_ble_client";
17 if (chr->uuid == uuid)
36 this->characteristics.clear();
42 esp_gattc_char_elem_t result;
49 if (status == ESP_GATT_INVALID_OFFSET || status == ESP_GATT_NOT_FOUND) {
52 if (status != ESP_GATT_OK) {
63 characteristic->
properties = result.properties;
64 characteristic->
handle = result.char_handle;
BLECharacteristic * get_characteristic(espbt::ESPBTUUID uuid)
esp_gatt_char_prop_t properties
uint16_t get_conn_id() const
std::vector< BLECharacteristic * > characteristics
std::string address_str() const
static ESPBTUUID from_uuid(esp_bt_uuid_t uuid)
static ESPBTUUID from_uint16(uint16_t uuid)
uint8_t get_connection_index() const
void parse_characteristics()
std::string to_string() const
void release_characteristics()
Implementation of SPI Controller mode.