ESPHome  2023.11.6
Public Member Functions
esphome::ble_client::BLEClientWriteAction< Ts > Class Template Reference

#include <automation.h>

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

Public Member Functions

 BLEClientWriteAction (BLEClient *ble_client)
void play (Ts... x) override
void set_value_template (std::function< std::vector< uint8_t >(Ts...)> func)
void set_value_simple (const std::vector< uint8_t > &value)
- Public Member Functions inherited from esphome::Action< Ts... >
virtual void play_complex (Ts... x)
virtual void stop_complex ()
virtual bool is_running ()
 Check if this or any of the following actions are currently running. More...
int num_running_total ()
 The total number of actions that are currently running in this plus any of the following actions in the chain. More...
- Public Member Functions inherited from esphome::ble_client::BLEWriterClientNode
 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::ClientState node_state
- Protected Member Functions inherited from esphome::Action< Ts... >
void play_next_ (Ts... x)
void play_next_tuple_ (const std::tuple< Ts... > &tuple, seq< S... >)
void play_next_tuple_ (const std::tuple< Ts... > &tuple)
virtual void stop ()
void stop_next_ ()
bool is_running_next_ ()
- Protected Attributes inherited from esphome::Action< Ts... >
friend ActionList< Ts... >
Action< Ts... > * next_
int num_running_
 The number of instances of this sequence in the list of actions that is currently being executed. More...
- Protected Attributes inherited from esphome::ble_client::BLEClientNode
uint64_t address_

Detailed Description

template<typename... Ts>
class esphome::ble_client::BLEClientWriteAction< Ts >

Definition at line 107 of file automation.h.

Constructor & Destructor Documentation

◆ BLEClientWriteAction()

template<typename... Ts>
esphome::ble_client::BLEClientWriteAction< Ts >::BLEClientWriteAction ( BLEClient ble_client)

Definition at line 109 of file automation.h.

Member Function Documentation

◆ play()

template<typename... Ts>
void esphome::ble_client::BLEClientWriteAction< Ts >::play ( Ts...  x)

Implements esphome::Action< Ts... >.

Definition at line 111 of file automation.h.

◆ set_value_simple()

template<typename... Ts>
void esphome::ble_client::BLEClientWriteAction< Ts >::set_value_simple ( const std::vector< uint8_t > &  value)

Definition at line 124 of file automation.h.

◆ set_value_template()

template<typename... Ts>
void esphome::ble_client::BLEClientWriteAction< Ts >::set_value_template ( std::function< std::vector< uint8_t >(Ts...)>  func)

Definition at line 119 of file automation.h.

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