|
ESPHome 2026.8.0b4
|
Borrowed view of the backend-owned service table. More...
#include <ble_gatt_client.h>
Data Fields | |
| const GattService * | services {nullptr} |
| const GattCharacteristic * | characteristics {nullptr} |
| const GattDescriptor * | descriptors {nullptr} |
| uint16_t | service_count {0} |
| uint16_t | characteristic_count {0} |
| uint16_t | descriptor_count {0} |
Borrowed view of the backend-owned service table.
Valid from a successful on_service_discovery_done() until release_services(). Characteristics and descriptors are reached through the per-service/per-characteristic index ranges; the array totals let a consumer bounds-check those ranges instead of trusting the backend's discovery bookkeeping blindly.
Definition at line 73 of file ble_gatt_client.h.
| uint16_t esphome::ble_device_base::GattServiceTable::characteristic_count {0} |
Definition at line 78 of file ble_gatt_client.h.
| const GattCharacteristic* esphome::ble_device_base::GattServiceTable::characteristics {nullptr} |
Definition at line 75 of file ble_gatt_client.h.
| uint16_t esphome::ble_device_base::GattServiceTable::descriptor_count {0} |
Definition at line 79 of file ble_gatt_client.h.
| const GattDescriptor* esphome::ble_device_base::GattServiceTable::descriptors {nullptr} |
Definition at line 76 of file ble_gatt_client.h.
| uint16_t esphome::ble_device_base::GattServiceTable::service_count {0} |
Definition at line 77 of file ble_gatt_client.h.
| const GattService* esphome::ble_device_base::GattServiceTable::services {nullptr} |
Definition at line 74 of file ble_gatt_client.h.