ESPHome  2021.11.3
Public Member Functions | Data Fields | Protected Attributes
esphome::ble_client::BLEClientNode Class Referenceabstract

#include <ble_client.h>

Inheritance diagram for esphome::ble_client::BLEClientNode:
esphome::airthings_wave_mini::AirthingsWaveMini esphome::airthings_wave_plus::AirthingsWavePlus esphome::am43::Am43 esphome::am43::Am43Component esphome::anova::Anova esphome::ble_client::BLEClientConnectTrigger esphome::ble_client::BLEClientDisconnectTrigger esphome::ble_client::BLEClientSwitch esphome::ble_client::BLESensor

Public Member Functions

virtual void gattc_event_handler (esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param)=0
 
virtual void loop ()
 
void set_address (uint64_t address)
 
BLEClientparent ()
 
void set_ble_client_parent (BLEClient *parent)
 

Data Fields

espbt::ESPBTClientclient
 
espbt::ClientState node_state
 

Protected Attributes

BLEClientparent_
 
uint64_t address_
 

Detailed Description

Definition at line 24 of file ble_client.h.

Member Function Documentation

◆ gattc_event_handler()

virtual void esphome::ble_client::BLEClientNode::gattc_event_handler ( esp_gattc_cb_event_t  event,
esp_gatt_if_t  gattc_if,
esp_ble_gattc_cb_param_t *  param 
)
pure virtual

◆ loop()

virtual void esphome::ble_client::BLEClientNode::loop ( )
inlinevirtual

◆ parent()

BLEClient* esphome::ble_client::BLEClientNode::parent ( )
inline

Definition at line 36 of file ble_client.h.

◆ set_address()

void esphome::ble_client::BLEClientNode::set_address ( uint64_t  address)
inline

Definition at line 29 of file ble_client.h.

◆ set_ble_client_parent()

void esphome::ble_client::BLEClientNode::set_ble_client_parent ( BLEClient parent)
inline

Definition at line 37 of file ble_client.h.

Field Documentation

◆ address_

uint64_t esphome::ble_client::BLEClientNode::address_
protected

Definition at line 41 of file ble_client.h.

◆ client

espbt::ESPBTClient* esphome::ble_client::BLEClientNode::client

Definition at line 30 of file ble_client.h.

◆ node_state

espbt::ClientState esphome::ble_client::BLEClientNode::node_state

Definition at line 34 of file ble_client.h.

◆ parent_

BLEClient* esphome::ble_client::BLEClientNode::parent_
protected

Definition at line 40 of file ble_client.h.


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