ESPHome 2026.8.0b4
Loading...
Searching...
No Matches
ble_client_state.cpp
Go to the documentation of this file.
1#include "ble_client_state.h"
2
4
6 switch (state) {
8 return "INIT";
10 return "DISCONNECTING";
12 return "IDLE";
14 return "DISCOVERED";
16 return "CONNECTING";
18 return "CONNECTED";
20 return "ESTABLISHED";
21 default:
22 return "UNKNOWN";
23 }
24}
25
26} // namespace esphome::ble_device_base
bool state
Definition fan.h:2
const char * client_state_to_string(ClientState state)