Async client for a single device.
Definition client.hpp:38
Shared base for the subsystems exposed by Client (log streaming, the various proxies,...
Definition subsystem.hpp:18
Bridges raw Z-Wave frames between a client and the device's Z-Wave radio.
Definition zwave_proxy.hpp:20
ZWaveProxy(Client &client)
Definition zwave_proxy.hpp:24
std::function< void(const ZWaveProxyFrame &)> FrameHandler
Definition zwave_proxy.hpp:22
void request(ZWaveProxyRequestType type, const std::string &data={}) const
Issue a proxy control request (subscribe, unsubscribe, home id change).
void send_frame(const std::string &data) const
Send a raw Z-Wave frame to the device.
void on_frame(FrameHandler handler)
Register a callback fired for each incoming ZWaveProxyFrame.
Typed mirrors of the ESPHome protobuf enums.
ZWaveProxyRequestType
Mirror of proto enum ZWaveProxyRequestType.
Definition enums.hpp:384
A raw Z-Wave frame exchanged with the device (api: ZWaveProxyFrame).
Definition zwave_proxy.hpp:15
std::string data
Definition zwave_proxy.hpp:16
Common base for the Client-owned subsystems.