mirror of
https://github.com/esphome/esphome.git
synced 2025-09-14 09:12:19 +01:00
feat: support ble_client that use security w/o pin codes (#3320)
This commit is contained in:
@@ -155,6 +155,7 @@ class ESPBTClient : public ESPBTDeviceListener {
|
||||
public:
|
||||
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 gap_event_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param) = 0;
|
||||
virtual void connect() = 0;
|
||||
void set_state(ClientState st) { this->state_ = st; }
|
||||
ClientState state() const { return state_; }
|
||||
|
Reference in New Issue
Block a user