ESPHome  2022.12.8
Public Member Functions
esphome::ble_client::BLEWriterClientNode Class Reference

#include <automation.h>

Inheritance diagram for esphome::ble_client::BLEWriterClientNode:
esphome::ble_client::BLEClientNode esphome::ble_client::BLEClientWriteAction< Ts >

Public Member Functions

 BLEWriterClientNode (BLEClient *ble_client)
 
void write (const std::vector< uint8_t > &value)
 
void set_service_uuid16 (uint16_t uuid)
 
void set_service_uuid32 (uint32_t uuid)
 
void set_service_uuid128 (uint8_t *uuid)
 
void set_char_uuid16 (uint16_t uuid)
 
void set_char_uuid32 (uint32_t uuid)
 
void set_char_uuid128 (uint8_t *uuid)
 
void gattc_event_handler (esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param) override
 
- Public Member Functions inherited from esphome::ble_client::BLEClientNode
virtual void gap_event_handler (esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param)
 
virtual void loop ()
 
void set_address (uint64_t address)
 
BLEClientparent ()
 
void set_ble_client_parent (BLEClient *parent)
 

Additional Inherited Members

- Data Fields inherited from esphome::ble_client::BLEClientNode
espbt::ESPBTClientclient
 
espbt::ClientState node_state
 
- Protected Attributes inherited from esphome::ble_client::BLEClientNode
BLEClientparent_
 
uint64_t address_
 

Detailed Description

Definition at line 40 of file automation.h.

Constructor & Destructor Documentation

◆ BLEWriterClientNode()

esphome::ble_client::BLEWriterClientNode::BLEWriterClientNode ( BLEClient ble_client)
inline

Definition at line 42 of file automation.h.

Member Function Documentation

◆ gattc_event_handler()

void esphome::ble_client::BLEWriterClientNode::gattc_event_handler ( esp_gattc_cb_event_t  event,
esp_gatt_if_t  gattc_if,
esp_ble_gattc_cb_param_t *  param 
)
overridevirtual

Implements esphome::ble_client::BLEClientNode.

Definition at line 41 of file automation.cpp.

◆ set_char_uuid128()

void esphome::ble_client::BLEWriterClientNode::set_char_uuid128 ( uint8_t *  uuid)
inline

Definition at line 56 of file automation.h.

◆ set_char_uuid16()

void esphome::ble_client::BLEWriterClientNode::set_char_uuid16 ( uint16_t  uuid)
inline

Definition at line 54 of file automation.h.

◆ set_char_uuid32()

void esphome::ble_client::BLEWriterClientNode::set_char_uuid32 ( uint32_t  uuid)
inline

Definition at line 55 of file automation.h.

◆ set_service_uuid128()

void esphome::ble_client::BLEWriterClientNode::set_service_uuid128 ( uint8_t *  uuid)
inline

Definition at line 52 of file automation.h.

◆ set_service_uuid16()

void esphome::ble_client::BLEWriterClientNode::set_service_uuid16 ( uint16_t  uuid)
inline

Definition at line 50 of file automation.h.

◆ set_service_uuid32()

void esphome::ble_client::BLEWriterClientNode::set_service_uuid32 ( uint32_t  uuid)
inline

Definition at line 51 of file automation.h.

◆ write()

void esphome::ble_client::BLEWriterClientNode::write ( const std::vector< uint8_t > &  value)

Definition at line 13 of file automation.cpp.


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