10 #include <esp_bt_defs.h> 11 #include <esp_gap_ble_api.h> 12 #include <esp_gatt_common_api.h> 13 #include <esp_gattc_api.h> 19 namespace ble_client {
23 using namespace esp32_ble_client;
30 esp_ble_gattc_cb_param_t *param){};
31 virtual void gap_event_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param) {}
50 void setup()
override;
51 void dump_config()
override;
54 bool gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if,
55 esp_ble_gattc_cb_param_t *param)
override;
57 void gap_event_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param)
override;
60 void set_enabled(
bool enabled);
65 this->nodes_.push_back(node);
73 bool all_nodes_established_();
void set_address(uint64_t address)
virtual void gap_event_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param)
std::vector< BLEClientNode * > nodes_
espbt::ESPBTClient * client
void set_ble_client_parent(BLEClient *parent)
void register_ble_node(BLEClientNode *node)
virtual void gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param)
Implementation of SPI Controller mode.
espbt::ClientState node_state