ESPHome 2025.9.0-dev
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 virtual void on_get_time_request(const GetTimeRequest &value){};
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 virtual bool send_get_time_response(const GetTimeRequest &msg) = 0;
230#ifdef USE_API_SERVICES
231 virtual void execute_service(const ExecuteServiceRequest &msg) = 0;
232#endif
233#ifdef USE_API_NOISE
235#endif
236#ifdef USE_BUTTON
237 virtual void button_command(const ButtonCommandRequest &msg) = 0;
238#endif
239#ifdef USE_CAMERA
240 virtual void camera_image(const CameraImageRequest &msg) = 0;
241#endif
242#ifdef USE_CLIMATE
243 virtual void climate_command(const ClimateCommandRequest &msg) = 0;
244#endif
245#ifdef USE_COVER
246 virtual void cover_command(const CoverCommandRequest &msg) = 0;
247#endif
248#ifdef USE_DATETIME_DATE
249 virtual void date_command(const DateCommandRequest &msg) = 0;
250#endif
251#ifdef USE_DATETIME_DATETIME
252 virtual void datetime_command(const DateTimeCommandRequest &msg) = 0;
253#endif
254#ifdef USE_FAN
255 virtual void fan_command(const FanCommandRequest &msg) = 0;
256#endif
257#ifdef USE_LIGHT
258 virtual void light_command(const LightCommandRequest &msg) = 0;
259#endif
260#ifdef USE_LOCK
261 virtual void lock_command(const LockCommandRequest &msg) = 0;
262#endif
263#ifdef USE_MEDIA_PLAYER
265#endif
266#ifdef USE_NUMBER
267 virtual void number_command(const NumberCommandRequest &msg) = 0;
268#endif
269#ifdef USE_SELECT
270 virtual void select_command(const SelectCommandRequest &msg) = 0;
271#endif
272#ifdef USE_SIREN
273 virtual void siren_command(const SirenCommandRequest &msg) = 0;
274#endif
275#ifdef USE_SWITCH
276 virtual void switch_command(const SwitchCommandRequest &msg) = 0;
277#endif
278#ifdef USE_TEXT
279 virtual void text_command(const TextCommandRequest &msg) = 0;
280#endif
281#ifdef USE_DATETIME_TIME
282 virtual void time_command(const TimeCommandRequest &msg) = 0;
283#endif
284#ifdef USE_UPDATE
285 virtual void update_command(const UpdateCommandRequest &msg) = 0;
286#endif
287#ifdef USE_VALVE
288 virtual void valve_command(const ValveCommandRequest &msg) = 0;
289#endif
290#ifdef USE_BLUETOOTH_PROXY
292#endif
293#ifdef USE_BLUETOOTH_PROXY
295#endif
296#ifdef USE_BLUETOOTH_PROXY
298#endif
299#ifdef USE_BLUETOOTH_PROXY
300 virtual void bluetooth_gatt_read(const BluetoothGATTReadRequest &msg) = 0;
301#endif
302#ifdef USE_BLUETOOTH_PROXY
304#endif
305#ifdef USE_BLUETOOTH_PROXY
307#endif
308#ifdef USE_BLUETOOTH_PROXY
310#endif
311#ifdef USE_BLUETOOTH_PROXY
313#endif
314#ifdef USE_BLUETOOTH_PROXY
317#endif
318#ifdef USE_BLUETOOTH_PROXY
320#endif
321#ifdef USE_BLUETOOTH_PROXY
323#endif
324#ifdef USE_VOICE_ASSISTANT
326#endif
327#ifdef USE_VOICE_ASSISTANT
329#endif
330#ifdef USE_VOICE_ASSISTANT
332#endif
333#ifdef USE_ALARM_CONTROL_PANEL
335#endif
336 protected:
337 void on_hello_request(const HelloRequest &msg) override;
338 void on_connect_request(const ConnectRequest &msg) override;
339 void on_disconnect_request(const DisconnectRequest &msg) override;
340 void on_ping_request(const PingRequest &msg) override;
341 void on_device_info_request(const DeviceInfoRequest &msg) override;
342 void on_list_entities_request(const ListEntitiesRequest &msg) override;
343 void on_subscribe_states_request(const SubscribeStatesRequest &msg) override;
344 void on_subscribe_logs_request(const SubscribeLogsRequest &msg) override;
345#ifdef USE_API_HOMEASSISTANT_SERVICES
347#endif
348#ifdef USE_API_HOMEASSISTANT_STATES
350#endif
351 void on_get_time_request(const GetTimeRequest &msg) override;
352#ifdef USE_API_SERVICES
353 void on_execute_service_request(const ExecuteServiceRequest &msg) override;
354#endif
355#ifdef USE_API_NOISE
357#endif
358#ifdef USE_BUTTON
359 void on_button_command_request(const ButtonCommandRequest &msg) override;
360#endif
361#ifdef USE_CAMERA
362 void on_camera_image_request(const CameraImageRequest &msg) override;
363#endif
364#ifdef USE_CLIMATE
365 void on_climate_command_request(const ClimateCommandRequest &msg) override;
366#endif
367#ifdef USE_COVER
368 void on_cover_command_request(const CoverCommandRequest &msg) override;
369#endif
370#ifdef USE_DATETIME_DATE
371 void on_date_command_request(const DateCommandRequest &msg) override;
372#endif
373#ifdef USE_DATETIME_DATETIME
375#endif
376#ifdef USE_FAN
377 void on_fan_command_request(const FanCommandRequest &msg) override;
378#endif
379#ifdef USE_LIGHT
380 void on_light_command_request(const LightCommandRequest &msg) override;
381#endif
382#ifdef USE_LOCK
383 void on_lock_command_request(const LockCommandRequest &msg) override;
384#endif
385#ifdef USE_MEDIA_PLAYER
387#endif
388#ifdef USE_NUMBER
389 void on_number_command_request(const NumberCommandRequest &msg) override;
390#endif
391#ifdef USE_SELECT
392 void on_select_command_request(const SelectCommandRequest &msg) override;
393#endif
394#ifdef USE_SIREN
395 void on_siren_command_request(const SirenCommandRequest &msg) override;
396#endif
397#ifdef USE_SWITCH
398 void on_switch_command_request(const SwitchCommandRequest &msg) override;
399#endif
400#ifdef USE_TEXT
401 void on_text_command_request(const TextCommandRequest &msg) override;
402#endif
403#ifdef USE_DATETIME_TIME
404 void on_time_command_request(const TimeCommandRequest &msg) override;
405#endif
406#ifdef USE_UPDATE
407 void on_update_command_request(const UpdateCommandRequest &msg) override;
408#endif
409#ifdef USE_VALVE
410 void on_valve_command_request(const ValveCommandRequest &msg) override;
411#endif
412#ifdef USE_BLUETOOTH_PROXY
414#endif
415#ifdef USE_BLUETOOTH_PROXY
416 void on_bluetooth_device_request(const BluetoothDeviceRequest &msg) override;
417#endif
418#ifdef USE_BLUETOOTH_PROXY
420#endif
421#ifdef USE_BLUETOOTH_PROXY
423#endif
424#ifdef USE_BLUETOOTH_PROXY
426#endif
427#ifdef USE_BLUETOOTH_PROXY
429#endif
430#ifdef USE_BLUETOOTH_PROXY
432#endif
433#ifdef USE_BLUETOOTH_PROXY
435#endif
436#ifdef USE_BLUETOOTH_PROXY
438#endif
439#ifdef USE_BLUETOOTH_PROXY
442#endif
443#ifdef USE_BLUETOOTH_PROXY
445#endif
446#ifdef USE_VOICE_ASSISTANT
448#endif
449#ifdef USE_VOICE_ASSISTANT
451#endif
452#ifdef USE_VOICE_ASSISTANT
454#endif
455#ifdef USE_ALARM_CONTROL_PANEL
457#endif
458};
459
460} // 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_get_time_request(const GetTimeRequest &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
void on_get_time_request(const GetTimeRequest &msg) override
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 bool send_get_time_response(const GetTimeRequest &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:84
bool send_message_(const ProtoMessage &msg, uint8_t message_type)
Definition proto.h:814