42 esp_gattc_char_elem_t result;
47 esp_ble_gattc_get_all_char(this->
client->
get_gattc_if(), this->client->get_conn_id(), this->start_handle,
48 this->end_handle, &result, &count, offset);
49 if (
status == ESP_GATT_INVALID_OFFSET ||
status == ESP_GATT_NOT_FOUND) {
52 if (
status != ESP_GATT_OK) {
54 this->client->address_str().c_str(),
status);
62 characteristic->
uuid = espbt::ESPBTUUID::from_uuid(result.uuid);
63 characteristic->
properties = result.properties;
64 characteristic->
handle = result.char_handle;
68 this->client->address_str().c_str(), characteristic->
uuid.
to_string().c_str(), characteristic->
handle,