ESPHome 2025.9.0
Loading...
Searching...
No Matches
api_pb2_service.h
Go to the documentation of this file.
1// This file was automatically generated with a tool.
2// See script/api_protobuf/api_protobuf.py
3#pragma once
4
6
7#include "api_pb2.h"
8
9namespace esphome::api {
10
12 public:
13#ifdef HAS_PROTO_MESSAGE_DUMP
14 protected:
15 void log_send_message_(const char *name, const std::string &dump);
16
17 public:
18#endif
19
20 bool send_message(const ProtoMessage &msg, uint8_t message_type) {
21#ifdef HAS_PROTO_MESSAGE_DUMP
22 this->log_send_message_(msg.message_name(), msg.dump());
23#endif
24 return this->send_message_(msg, message_type);
25 }
26
27 virtual void on_hello_request(const HelloRequest &value){};
28
29 virtual void on_connect_request(const ConnectRequest &value){};
30
31 virtual void on_disconnect_request(const DisconnectRequest &value){};
32 virtual void on_disconnect_response(const DisconnectResponse &value){};
33 virtual void on_ping_request(const PingRequest &value){};
34 virtual void on_ping_response(const PingResponse &value){};
35 virtual void on_device_info_request(const DeviceInfoRequest &value){};
36
37 virtual void on_list_entities_request(const ListEntitiesRequest &value){};
38
40
41#ifdef USE_COVER
42 virtual void on_cover_command_request(const CoverCommandRequest &value){};
43#endif
44
45#ifdef USE_FAN
46 virtual void on_fan_command_request(const FanCommandRequest &value){};
47#endif
48
49#ifdef USE_LIGHT
50 virtual void on_light_command_request(const LightCommandRequest &value){};
51#endif
52
53#ifdef USE_SWITCH
54 virtual void on_switch_command_request(const SwitchCommandRequest &value){};
55#endif
56
57 virtual void on_subscribe_logs_request(const SubscribeLogsRequest &value){};
58
59#ifdef USE_API_NOISE
61#endif
62
63#ifdef USE_API_HOMEASSISTANT_SERVICES
65#endif
66
67#ifdef USE_API_HOMEASSISTANT_STATES
69#endif
70
71#ifdef USE_API_HOMEASSISTANT_STATES
73#endif
74
75 virtual void on_get_time_response(const GetTimeResponse &value){};
76
77#ifdef USE_API_SERVICES
79#endif
80
81#ifdef USE_CAMERA
82 virtual void on_camera_image_request(const CameraImageRequest &value){};
83#endif
84
85#ifdef USE_CLIMATE
87#endif
88
89#ifdef USE_NUMBER
90 virtual void on_number_command_request(const NumberCommandRequest &value){};
91#endif
92
93#ifdef USE_SELECT
94 virtual void on_select_command_request(const SelectCommandRequest &value){};
95#endif
96
97#ifdef USE_SIREN
98 virtual void on_siren_command_request(const SirenCommandRequest &value){};
99#endif
100
101#ifdef USE_LOCK
102 virtual void on_lock_command_request(const LockCommandRequest &value){};
103#endif
104
105#ifdef USE_BUTTON
107#endif
108
109#ifdef USE_MEDIA_PLAYER
111#endif
112#ifdef USE_BLUETOOTH_PROXY
115#endif
116
117#ifdef USE_BLUETOOTH_PROXY
119#endif
120
121#ifdef USE_BLUETOOTH_PROXY
123#endif
124
125#ifdef USE_BLUETOOTH_PROXY
127#endif
128
129#ifdef USE_BLUETOOTH_PROXY
131#endif
132#ifdef USE_BLUETOOTH_PROXY
134#endif
135#ifdef USE_BLUETOOTH_PROXY
137#endif
138#ifdef USE_BLUETOOTH_PROXY
140#endif
141
142#ifdef USE_BLUETOOTH_PROXY
144#endif
145
146#ifdef USE_BLUETOOTH_PROXY
149#endif
150
151#ifdef USE_BLUETOOTH_PROXY
153#endif
154#ifdef USE_VOICE_ASSISTANT
156#endif
157
158#ifdef USE_VOICE_ASSISTANT
160#endif
161#ifdef USE_VOICE_ASSISTANT
163#endif
164#ifdef USE_VOICE_ASSISTANT
165 virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value){};
166#endif
167#ifdef USE_VOICE_ASSISTANT
169#endif
170#ifdef USE_VOICE_ASSISTANT
172#endif
173
174#ifdef USE_VOICE_ASSISTANT
176#endif
177
178#ifdef USE_VOICE_ASSISTANT
180#endif
181
182#ifdef USE_ALARM_CONTROL_PANEL
184#endif
185
186#ifdef USE_TEXT
187 virtual void on_text_command_request(const TextCommandRequest &value){};
188#endif
189
190#ifdef USE_DATETIME_DATE
191 virtual void on_date_command_request(const DateCommandRequest &value){};
192#endif
193
194#ifdef USE_DATETIME_TIME
195 virtual void on_time_command_request(const TimeCommandRequest &value){};
196#endif
197
198#ifdef USE_VALVE
199 virtual void on_valve_command_request(const ValveCommandRequest &value){};
200#endif
201
202#ifdef USE_DATETIME_DATETIME
204#endif
205
206#ifdef USE_UPDATE
208#endif
209 protected:
210 void read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override;
211};
212
214 public:
215 virtual bool send_hello_response(const HelloRequest &msg) = 0;
216 virtual bool send_connect_response(const ConnectRequest &msg) = 0;
217 virtual bool send_disconnect_response(const DisconnectRequest &msg) = 0;
218 virtual bool send_ping_response(const PingRequest &msg) = 0;
219 virtual bool send_device_info_response(const DeviceInfoRequest &msg) = 0;
220 virtual void list_entities(const ListEntitiesRequest &msg) = 0;
221 virtual void subscribe_states(const SubscribeStatesRequest &msg) = 0;
222 virtual void subscribe_logs(const SubscribeLogsRequest &msg) = 0;
223#ifdef USE_API_HOMEASSISTANT_SERVICES
225#endif
226#ifdef USE_API_HOMEASSISTANT_STATES
228#endif
229#ifdef USE_API_SERVICES
230 virtual void execute_service(const ExecuteServiceRequest &msg) = 0;
231#endif
232#ifdef USE_API_NOISE
234#endif
235#ifdef USE_BUTTON
236 virtual void button_command(const ButtonCommandRequest &msg) = 0;
237#endif
238#ifdef USE_CAMERA
239 virtual void camera_image(const CameraImageRequest &msg) = 0;
240#endif
241#ifdef USE_CLIMATE
242 virtual void climate_command(const ClimateCommandRequest &msg) = 0;
243#endif
244#ifdef USE_COVER
245 virtual void cover_command(const CoverCommandRequest &msg) = 0;
246#endif
247#ifdef USE_DATETIME_DATE
248 virtual void date_command(const DateCommandRequest &msg) = 0;
249#endif
250#ifdef USE_DATETIME_DATETIME
251 virtual void datetime_command(const DateTimeCommandRequest &msg) = 0;
252#endif
253#ifdef USE_FAN
254 virtual void fan_command(const FanCommandRequest &msg) = 0;
255#endif
256#ifdef USE_LIGHT
257 virtual void light_command(const LightCommandRequest &msg) = 0;
258#endif
259#ifdef USE_LOCK
260 virtual void lock_command(const LockCommandRequest &msg) = 0;
261#endif
262#ifdef USE_MEDIA_PLAYER
264#endif
265#ifdef USE_NUMBER
266 virtual void number_command(const NumberCommandRequest &msg) = 0;
267#endif
268#ifdef USE_SELECT
269 virtual void select_command(const SelectCommandRequest &msg) = 0;
270#endif
271#ifdef USE_SIREN
272 virtual void siren_command(const SirenCommandRequest &msg) = 0;
273#endif
274#ifdef USE_SWITCH
275 virtual void switch_command(const SwitchCommandRequest &msg) = 0;
276#endif
277#ifdef USE_TEXT
278 virtual void text_command(const TextCommandRequest &msg) = 0;
279#endif
280#ifdef USE_DATETIME_TIME
281 virtual void time_command(const TimeCommandRequest &msg) = 0;
282#endif
283#ifdef USE_UPDATE
284 virtual void update_command(const UpdateCommandRequest &msg) = 0;
285#endif
286#ifdef USE_VALVE
287 virtual void valve_command(const ValveCommandRequest &msg) = 0;
288#endif
289#ifdef USE_BLUETOOTH_PROXY
291#endif
292#ifdef USE_BLUETOOTH_PROXY
294#endif
295#ifdef USE_BLUETOOTH_PROXY
297#endif
298#ifdef USE_BLUETOOTH_PROXY
299 virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg) = 0;
300#endif
301#ifdef USE_BLUETOOTH_PROXY
303#endif
304#ifdef USE_BLUETOOTH_PROXY
306#endif
307#ifdef USE_BLUETOOTH_PROXY
309#endif
310#ifdef USE_BLUETOOTH_PROXY
312#endif
313#ifdef USE_BLUETOOTH_PROXY
316#endif
317#ifdef USE_BLUETOOTH_PROXY
319#endif
320#ifdef USE_BLUETOOTH_PROXY
322#endif
323#ifdef USE_VOICE_ASSISTANT
325#endif
326#ifdef USE_VOICE_ASSISTANT
328#endif
329#ifdef USE_VOICE_ASSISTANT
331#endif
332#ifdef USE_ALARM_CONTROL_PANEL
334#endif
335 protected:
336 void on_hello_request(const HelloRequest &msg) override;
337 void on_connect_request(const ConnectRequest &msg) override;
338 void on_disconnect_request(const DisconnectRequest &msg) override;
339 void on_ping_request(const PingRequest &msg) override;
340 void on_device_info_request(const DeviceInfoRequest &msg) override;
341 void on_list_entities_request(const ListEntitiesRequest &msg) override;
342 void on_subscribe_states_request(const SubscribeStatesRequest &msg) override;
343 void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override;
344#ifdef USE_API_HOMEASSISTANT_SERVICES
346#endif
347#ifdef USE_API_HOMEASSISTANT_STATES
349#endif
350#ifdef USE_API_SERVICES
351 void on_execute_service_request(const ExecuteServiceRequest &msg) override;
352#endif
353#ifdef USE_API_NOISE
355#endif
356#ifdef USE_BUTTON
357 void on_button_command_request(const ButtonCommandRequest &msg) override;
358#endif
359#ifdef USE_CAMERA
360 void on_camera_image_request(const CameraImageRequest &msg) override;
361#endif
362#ifdef USE_CLIMATE
363 void on_climate_command_request(const ClimateCommandRequest &msg) override;
364#endif
365#ifdef USE_COVER
366 void on_cover_command_request(const CoverCommandRequest &msg) override;
367#endif
368#ifdef USE_DATETIME_DATE
369 void on_date_command_request(const DateCommandRequest &msg) override;
370#endif
371#ifdef USE_DATETIME_DATETIME
373#endif
374#ifdef USE_FAN
375 void on_fan_command_request(const FanCommandRequest &msg) override;
376#endif
377#ifdef USE_LIGHT
378 void on_light_command_request(const LightCommandRequest &msg) override;
379#endif
380#ifdef USE_LOCK
381 void on_lock_command_request(const LockCommandRequest &msg) override;
382#endif
383#ifdef USE_MEDIA_PLAYER
385#endif
386#ifdef USE_NUMBER
387 void on_number_command_request(const NumberCommandRequest &msg) override;
388#endif
389#ifdef USE_SELECT
390 void on_select_command_request(const SelectCommandRequest &msg) override;
391#endif
392#ifdef USE_SIREN
393 void on_siren_command_request(const SirenCommandRequest &msg) override;
394#endif
395#ifdef USE_SWITCH
396 void on_switch_command_request(const SwitchCommandRequest &msg) override;
397#endif
398#ifdef USE_TEXT
399 void on_text_command_request(const TextCommandRequest &msg) override;
400#endif
401#ifdef USE_DATETIME_TIME
402 void on_time_command_request(const TimeCommandRequest &msg) override;
403#endif
404#ifdef USE_UPDATE
405 void on_update_command_request(const UpdateCommandRequest &msg) override;
406#endif
407#ifdef USE_VALVE
408 void on_valve_command_request(const ValveCommandRequest &msg) override;
409#endif
410#ifdef USE_BLUETOOTH_PROXY
412#endif
413#ifdef USE_BLUETOOTH_PROXY
414 void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override;
415#endif
416#ifdef USE_BLUETOOTH_PROXY
418#endif
419#ifdef USE_BLUETOOTH_PROXY
421#endif
422#ifdef USE_BLUETOOTH_PROXY
424#endif
425#ifdef USE_BLUETOOTH_PROXY
427#endif
428#ifdef USE_BLUETOOTH_PROXY
430#endif
431#ifdef USE_BLUETOOTH_PROXY
433#endif
434#ifdef USE_BLUETOOTH_PROXY
436#endif
437#ifdef USE_BLUETOOTH_PROXY
440#endif
441#ifdef USE_BLUETOOTH_PROXY
443#endif
444#ifdef USE_VOICE_ASSISTANT
446#endif
447#ifdef USE_VOICE_ASSISTANT
449#endif
450#ifdef USE_VOICE_ASSISTANT
452#endif
453#ifdef USE_ALARM_CONTROL_PANEL
455#endif
456};
457
458} // namespace esphome::api
virtual void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &value)
virtual void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &value)
void read_message(uint32_t msg_size, uint32_t msg_type, uint8_t *msg_data) override
virtual void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &value)
virtual void on_siren_command_request(const SirenCommandRequest &value)
virtual void on_hello_request(const HelloRequest &value)
virtual void on_subscribe_home_assistant_states_request(const SubscribeHomeAssistantStatesRequest &value)
virtual void on_bluetooth_gatt_notify_request(const BluetoothGATTNotifyRequest &value)
virtual void on_bluetooth_device_request(const BluetoothDeviceRequest &value)
virtual void on_home_assistant_state_response(const HomeAssistantStateResponse &value)
virtual void on_get_time_response(const GetTimeResponse &value)
virtual void on_voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &value)
virtual void on_bluetooth_gatt_read_descriptor_request(const BluetoothGATTReadDescriptorRequest &value)
virtual void on_list_entities_request(const ListEntitiesRequest &value)
virtual void on_noise_encryption_set_key_request(const NoiseEncryptionSetKeyRequest &value)
bool send_message(const ProtoMessage &msg, uint8_t message_type)
virtual void on_lock_command_request(const LockCommandRequest &value)
virtual void on_media_player_command_request(const MediaPlayerCommandRequest &value)
virtual void on_bluetooth_gatt_write_request(const BluetoothGATTWriteRequest &value)
virtual void on_subscribe_states_request(const SubscribeStatesRequest &value)
virtual void on_ping_response(const PingResponse &value)
virtual void on_valve_command_request(const ValveCommandRequest &value)
virtual void on_bluetooth_gatt_read_request(const BluetoothGATTReadRequest &value)
virtual void on_disconnect_request(const DisconnectRequest &value)
void log_send_message_(const char *name, const std::string &dump)
virtual void on_cover_command_request(const CoverCommandRequest &value)
virtual void on_subscribe_bluetooth_le_advertisements_request(const SubscribeBluetoothLEAdvertisementsRequest &value)
virtual void on_text_command_request(const TextCommandRequest &value)
virtual void on_select_command_request(const SelectCommandRequest &value)
virtual void on_fan_command_request(const FanCommandRequest &value)
virtual void on_camera_image_request(const CameraImageRequest &value)
virtual void on_subscribe_logs_request(const SubscribeLogsRequest &value)
virtual void on_bluetooth_gatt_write_descriptor_request(const BluetoothGATTWriteDescriptorRequest &value)
virtual void on_voice_assistant_audio(const VoiceAssistantAudio &value)
virtual void on_subscribe_voice_assistant_request(const SubscribeVoiceAssistantRequest &value)
virtual void on_connect_request(const ConnectRequest &value)
virtual void on_voice_assistant_announce_request(const VoiceAssistantAnnounceRequest &value)
virtual void on_climate_command_request(const ClimateCommandRequest &value)
virtual void on_ping_request(const PingRequest &value)
virtual void on_voice_assistant_response(const VoiceAssistantResponse &value)
virtual void on_light_command_request(const LightCommandRequest &value)
virtual void on_subscribe_bluetooth_connections_free_request(const SubscribeBluetoothConnectionsFreeRequest &value)
virtual void on_date_time_command_request(const DateTimeCommandRequest &value)
virtual void on_subscribe_homeassistant_services_request(const SubscribeHomeassistantServicesRequest &value)
virtual void on_switch_command_request(const SwitchCommandRequest &value)
virtual void on_voice_assistant_timer_event_response(const VoiceAssistantTimerEventResponse &value)
virtual void on_button_command_request(const ButtonCommandRequest &value)
virtual void on_voice_assistant_event_response(const VoiceAssistantEventResponse &value)
virtual void on_number_command_request(const NumberCommandRequest &value)
virtual void on_execute_service_request(const ExecuteServiceRequest &value)
virtual void on_bluetooth_scanner_set_mode_request(const BluetoothScannerSetModeRequest &value)
virtual void on_date_command_request(const DateCommandRequest &value)
virtual void on_unsubscribe_bluetooth_le_advertisements_request(const UnsubscribeBluetoothLEAdvertisementsRequest &value)
virtual void on_update_command_request(const UpdateCommandRequest &value)
virtual void on_disconnect_response(const DisconnectResponse &value)
virtual void on_device_info_request(const DeviceInfoRequest &value)
virtual void on_time_command_request(const TimeCommandRequest &value)
virtual bool send_voice_assistant_get_configuration_response(const VoiceAssistantConfigurationRequest &msg)=0
virtual void voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &msg)=0
void on_media_player_command_request(const MediaPlayerCommandRequest &msg) override
void on_subscribe_bluetooth_connections_free_request(const SubscribeBluetoothConnectionsFreeRequest &msg) override
void on_number_command_request(const NumberCommandRequest &msg) override
virtual void lock_command(const LockCommandRequest &msg)=0
virtual void text_command(const TextCommandRequest &msg)=0
void on_ping_request(const PingRequest &msg) override
virtual void subscribe_logs(const SubscribeLogsRequest &msg)=0
void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override
virtual void light_command(const LightCommandRequest &msg)=0
void on_device_info_request(const DeviceInfoRequest &msg) override
void on_camera_image_request(const CameraImageRequest &msg) override
virtual void select_command(const SelectCommandRequest &msg)=0
virtual void unsubscribe_bluetooth_le_advertisements(const UnsubscribeBluetoothLEAdvertisementsRequest &msg)=0
virtual void camera_image(const CameraImageRequest &msg)=0
void on_date_time_command_request(const DateTimeCommandRequest &msg) override
void on_bluetooth_gatt_write_request(const BluetoothGATTWriteRequest &msg) override
void on_update_command_request(const UpdateCommandRequest &msg) override
virtual void valve_command(const ValveCommandRequest &msg)=0
virtual void bluetooth_gatt_get_services(const BluetoothGATTGetServicesRequest &msg)=0
void on_bluetooth_gatt_notify_request(const BluetoothGATTNotifyRequest &msg) override
void on_text_command_request(const TextCommandRequest &msg) override
void on_select_command_request(const SelectCommandRequest &msg) override
virtual void climate_command(const ClimateCommandRequest &msg)=0
virtual void execute_service(const ExecuteServiceRequest &msg)=0
void on_lock_command_request(const LockCommandRequest &msg) override
void on_execute_service_request(const ExecuteServiceRequest &msg) override
void on_button_command_request(const ButtonCommandRequest &msg) override
virtual void bluetooth_gatt_read_descriptor(const BluetoothGATTReadDescriptorRequest &msg)=0
virtual bool send_noise_encryption_set_key_response(const NoiseEncryptionSetKeyRequest &msg)=0
void on_list_entities_request(const ListEntitiesRequest &msg) override
virtual void bluetooth_device_request(const BluetoothDeviceRequest &msg)=0
virtual bool send_subscribe_bluetooth_connections_free_response(const SubscribeBluetoothConnectionsFreeRequest &msg)=0
virtual void subscribe_home_assistant_states(const SubscribeHomeAssistantStatesRequest &msg)=0
void on_siren_command_request(const SirenCommandRequest &msg) override
virtual bool send_connect_response(const ConnectRequest &msg)=0
virtual void fan_command(const FanCommandRequest &msg)=0
void on_subscribe_home_assistant_states_request(const SubscribeHomeAssistantStatesRequest &msg) override
void on_subscribe_voice_assistant_request(const SubscribeVoiceAssistantRequest &msg) override
void on_hello_request(const HelloRequest &msg) override
void on_climate_command_request(const ClimateCommandRequest &msg) override
virtual void list_entities(const ListEntitiesRequest &msg)=0
void on_subscribe_bluetooth_le_advertisements_request(const SubscribeBluetoothLEAdvertisementsRequest &msg) override
virtual void number_command(const NumberCommandRequest &msg)=0
void on_unsubscribe_bluetooth_le_advertisements_request(const UnsubscribeBluetoothLEAdvertisementsRequest &msg) override
void on_connect_request(const ConnectRequest &msg) override
void on_fan_command_request(const FanCommandRequest &msg) override
virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg)=0
void on_subscribe_homeassistant_services_request(const SubscribeHomeassistantServicesRequest &msg) override
virtual void bluetooth_gatt_write(const BluetoothGATTWriteRequest &msg)=0
virtual void button_command(const ButtonCommandRequest &msg)=0
virtual void siren_command(const SirenCommandRequest &msg)=0
virtual void bluetooth_gatt_notify(const BluetoothGATTNotifyRequest &msg)=0
virtual bool send_device_info_response(const DeviceInfoRequest &msg)=0
virtual bool send_ping_response(const PingRequest &msg)=0
void on_alarm_control_panel_command_request(const AlarmControlPanelCommandRequest &msg) override
virtual void time_command(const TimeCommandRequest &msg)=0
virtual void subscribe_voice_assistant(const SubscribeVoiceAssistantRequest &msg)=0
void on_bluetooth_gatt_get_services_request(const BluetoothGATTGetServicesRequest &msg) override
virtual void cover_command(const CoverCommandRequest &msg)=0
virtual void bluetooth_scanner_set_mode(const BluetoothScannerSetModeRequest &msg)=0
virtual void update_command(const UpdateCommandRequest &msg)=0
virtual void subscribe_states(const SubscribeStatesRequest &msg)=0
virtual void switch_command(const SwitchCommandRequest &msg)=0
void on_bluetooth_gatt_read_request(const BluetoothGATTReadRequest &msg) override
virtual void datetime_command(const DateTimeCommandRequest &msg)=0
void on_bluetooth_scanner_set_mode_request(const BluetoothScannerSetModeRequest &msg) override
void on_date_command_request(const DateCommandRequest &msg) override
void on_time_command_request(const TimeCommandRequest &msg) override
virtual void bluetooth_gatt_write_descriptor(const BluetoothGATTWriteDescriptorRequest &msg)=0
virtual void subscribe_homeassistant_services(const SubscribeHomeassistantServicesRequest &msg)=0
void on_disconnect_request(const DisconnectRequest &msg) override
virtual void date_command(const DateCommandRequest &msg)=0
void on_voice_assistant_configuration_request(const VoiceAssistantConfigurationRequest &msg) override
void on_cover_command_request(const CoverCommandRequest &msg) override
void on_valve_command_request(const ValveCommandRequest &msg) override
void on_light_command_request(const LightCommandRequest &msg) override
virtual void alarm_control_panel_command(const AlarmControlPanelCommandRequest &msg)=0
virtual bool send_hello_response(const HelloRequest &msg)=0
virtual void media_player_command(const MediaPlayerCommandRequest &msg)=0
void on_voice_assistant_set_configuration(const VoiceAssistantSetConfiguration &msg) override
void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override
void on_bluetooth_gatt_read_descriptor_request(const BluetoothGATTReadDescriptorRequest &msg) override
void on_subscribe_states_request(const SubscribeStatesRequest &msg) override
void on_bluetooth_gatt_write_descriptor_request(const BluetoothGATTWriteDescriptorRequest &msg) override
virtual void subscribe_bluetooth_le_advertisements(const SubscribeBluetoothLEAdvertisementsRequest &msg)=0
virtual bool send_disconnect_response(const DisconnectRequest &msg)=0
void on_noise_encryption_set_key_request(const NoiseEncryptionSetKeyRequest &msg) override
void on_switch_command_request(const SwitchCommandRequest &msg) override
virtual const char * message_name() const
Definition proto.h:346
std::string dump() const
Definition proto.cpp:80
bool send_message_(const ProtoMessage &msg, uint8_t message_type)
Definition proto.h:814