]> Git Repo - esp-hosted.git/blame_incremental - common/esp_hosted_config.pb-c.c
Merge branch 'pr129_vuhailongkl97' into 'master'
[esp-hosted.git] / common / esp_hosted_config.pb-c.c
... / ...
CommitLineData
1/* Generated by the protocol buffer compiler. DO NOT EDIT! */
2/* Generated from: esp_hosted_config.proto */
3
4/* Do not generate deprecated warnings for self */
5#ifndef PROTOBUF_C__NO_DEPRECATED
6#define PROTOBUF_C__NO_DEPRECATED
7#endif
8
9#include "esp_hosted_config.pb-c.h"
10void scan_result__init
11 (ScanResult *message)
12{
13 static const ScanResult init_value = SCAN_RESULT__INIT;
14 *message = init_value;
15}
16size_t scan_result__get_packed_size
17 (const ScanResult *message)
18{
19 assert(message->base.descriptor == &scan_result__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21}
22size_t scan_result__pack
23 (const ScanResult *message,
24 uint8_t *out)
25{
26 assert(message->base.descriptor == &scan_result__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28}
29size_t scan_result__pack_to_buffer
30 (const ScanResult *message,
31 ProtobufCBuffer *buffer)
32{
33 assert(message->base.descriptor == &scan_result__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35}
36ScanResult *
37 scan_result__unpack
38 (ProtobufCAllocator *allocator,
39 size_t len,
40 const uint8_t *data)
41{
42 return (ScanResult *)
43 protobuf_c_message_unpack (&scan_result__descriptor,
44 allocator, len, data);
45}
46void scan_result__free_unpacked
47 (ScanResult *message,
48 ProtobufCAllocator *allocator)
49{
50 if(!message)
51 return;
52 assert(message->base.descriptor == &scan_result__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54}
55void connected_stalist__init
56 (ConnectedSTAList *message)
57{
58 static const ConnectedSTAList init_value = CONNECTED_STALIST__INIT;
59 *message = init_value;
60}
61size_t connected_stalist__get_packed_size
62 (const ConnectedSTAList *message)
63{
64 assert(message->base.descriptor == &connected_stalist__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66}
67size_t connected_stalist__pack
68 (const ConnectedSTAList *message,
69 uint8_t *out)
70{
71 assert(message->base.descriptor == &connected_stalist__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73}
74size_t connected_stalist__pack_to_buffer
75 (const ConnectedSTAList *message,
76 ProtobufCBuffer *buffer)
77{
78 assert(message->base.descriptor == &connected_stalist__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80}
81ConnectedSTAList *
82 connected_stalist__unpack
83 (ProtobufCAllocator *allocator,
84 size_t len,
85 const uint8_t *data)
86{
87 return (ConnectedSTAList *)
88 protobuf_c_message_unpack (&connected_stalist__descriptor,
89 allocator, len, data);
90}
91void connected_stalist__free_unpacked
92 (ConnectedSTAList *message,
93 ProtobufCAllocator *allocator)
94{
95 if(!message)
96 return;
97 assert(message->base.descriptor == &connected_stalist__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99}
100void ctrl_msg__req__get_mac_address__init
101 (CtrlMsgReqGetMacAddress *message)
102{
103 static const CtrlMsgReqGetMacAddress init_value = CTRL_MSG__REQ__GET_MAC_ADDRESS__INIT;
104 *message = init_value;
105}
106size_t ctrl_msg__req__get_mac_address__get_packed_size
107 (const CtrlMsgReqGetMacAddress *message)
108{
109 assert(message->base.descriptor == &ctrl_msg__req__get_mac_address__descriptor);
110 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
111}
112size_t ctrl_msg__req__get_mac_address__pack
113 (const CtrlMsgReqGetMacAddress *message,
114 uint8_t *out)
115{
116 assert(message->base.descriptor == &ctrl_msg__req__get_mac_address__descriptor);
117 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
118}
119size_t ctrl_msg__req__get_mac_address__pack_to_buffer
120 (const CtrlMsgReqGetMacAddress *message,
121 ProtobufCBuffer *buffer)
122{
123 assert(message->base.descriptor == &ctrl_msg__req__get_mac_address__descriptor);
124 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
125}
126CtrlMsgReqGetMacAddress *
127 ctrl_msg__req__get_mac_address__unpack
128 (ProtobufCAllocator *allocator,
129 size_t len,
130 const uint8_t *data)
131{
132 return (CtrlMsgReqGetMacAddress *)
133 protobuf_c_message_unpack (&ctrl_msg__req__get_mac_address__descriptor,
134 allocator, len, data);
135}
136void ctrl_msg__req__get_mac_address__free_unpacked
137 (CtrlMsgReqGetMacAddress *message,
138 ProtobufCAllocator *allocator)
139{
140 if(!message)
141 return;
142 assert(message->base.descriptor == &ctrl_msg__req__get_mac_address__descriptor);
143 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
144}
145void ctrl_msg__resp__get_mac_address__init
146 (CtrlMsgRespGetMacAddress *message)
147{
148 static const CtrlMsgRespGetMacAddress init_value = CTRL_MSG__RESP__GET_MAC_ADDRESS__INIT;
149 *message = init_value;
150}
151size_t ctrl_msg__resp__get_mac_address__get_packed_size
152 (const CtrlMsgRespGetMacAddress *message)
153{
154 assert(message->base.descriptor == &ctrl_msg__resp__get_mac_address__descriptor);
155 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
156}
157size_t ctrl_msg__resp__get_mac_address__pack
158 (const CtrlMsgRespGetMacAddress *message,
159 uint8_t *out)
160{
161 assert(message->base.descriptor == &ctrl_msg__resp__get_mac_address__descriptor);
162 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
163}
164size_t ctrl_msg__resp__get_mac_address__pack_to_buffer
165 (const CtrlMsgRespGetMacAddress *message,
166 ProtobufCBuffer *buffer)
167{
168 assert(message->base.descriptor == &ctrl_msg__resp__get_mac_address__descriptor);
169 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
170}
171CtrlMsgRespGetMacAddress *
172 ctrl_msg__resp__get_mac_address__unpack
173 (ProtobufCAllocator *allocator,
174 size_t len,
175 const uint8_t *data)
176{
177 return (CtrlMsgRespGetMacAddress *)
178 protobuf_c_message_unpack (&ctrl_msg__resp__get_mac_address__descriptor,
179 allocator, len, data);
180}
181void ctrl_msg__resp__get_mac_address__free_unpacked
182 (CtrlMsgRespGetMacAddress *message,
183 ProtobufCAllocator *allocator)
184{
185 if(!message)
186 return;
187 assert(message->base.descriptor == &ctrl_msg__resp__get_mac_address__descriptor);
188 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
189}
190void ctrl_msg__req__get_mode__init
191 (CtrlMsgReqGetMode *message)
192{
193 static const CtrlMsgReqGetMode init_value = CTRL_MSG__REQ__GET_MODE__INIT;
194 *message = init_value;
195}
196size_t ctrl_msg__req__get_mode__get_packed_size
197 (const CtrlMsgReqGetMode *message)
198{
199 assert(message->base.descriptor == &ctrl_msg__req__get_mode__descriptor);
200 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
201}
202size_t ctrl_msg__req__get_mode__pack
203 (const CtrlMsgReqGetMode *message,
204 uint8_t *out)
205{
206 assert(message->base.descriptor == &ctrl_msg__req__get_mode__descriptor);
207 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
208}
209size_t ctrl_msg__req__get_mode__pack_to_buffer
210 (const CtrlMsgReqGetMode *message,
211 ProtobufCBuffer *buffer)
212{
213 assert(message->base.descriptor == &ctrl_msg__req__get_mode__descriptor);
214 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
215}
216CtrlMsgReqGetMode *
217 ctrl_msg__req__get_mode__unpack
218 (ProtobufCAllocator *allocator,
219 size_t len,
220 const uint8_t *data)
221{
222 return (CtrlMsgReqGetMode *)
223 protobuf_c_message_unpack (&ctrl_msg__req__get_mode__descriptor,
224 allocator, len, data);
225}
226void ctrl_msg__req__get_mode__free_unpacked
227 (CtrlMsgReqGetMode *message,
228 ProtobufCAllocator *allocator)
229{
230 if(!message)
231 return;
232 assert(message->base.descriptor == &ctrl_msg__req__get_mode__descriptor);
233 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
234}
235void ctrl_msg__resp__get_mode__init
236 (CtrlMsgRespGetMode *message)
237{
238 static const CtrlMsgRespGetMode init_value = CTRL_MSG__RESP__GET_MODE__INIT;
239 *message = init_value;
240}
241size_t ctrl_msg__resp__get_mode__get_packed_size
242 (const CtrlMsgRespGetMode *message)
243{
244 assert(message->base.descriptor == &ctrl_msg__resp__get_mode__descriptor);
245 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
246}
247size_t ctrl_msg__resp__get_mode__pack
248 (const CtrlMsgRespGetMode *message,
249 uint8_t *out)
250{
251 assert(message->base.descriptor == &ctrl_msg__resp__get_mode__descriptor);
252 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
253}
254size_t ctrl_msg__resp__get_mode__pack_to_buffer
255 (const CtrlMsgRespGetMode *message,
256 ProtobufCBuffer *buffer)
257{
258 assert(message->base.descriptor == &ctrl_msg__resp__get_mode__descriptor);
259 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
260}
261CtrlMsgRespGetMode *
262 ctrl_msg__resp__get_mode__unpack
263 (ProtobufCAllocator *allocator,
264 size_t len,
265 const uint8_t *data)
266{
267 return (CtrlMsgRespGetMode *)
268 protobuf_c_message_unpack (&ctrl_msg__resp__get_mode__descriptor,
269 allocator, len, data);
270}
271void ctrl_msg__resp__get_mode__free_unpacked
272 (CtrlMsgRespGetMode *message,
273 ProtobufCAllocator *allocator)
274{
275 if(!message)
276 return;
277 assert(message->base.descriptor == &ctrl_msg__resp__get_mode__descriptor);
278 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
279}
280void ctrl_msg__req__set_mode__init
281 (CtrlMsgReqSetMode *message)
282{
283 static const CtrlMsgReqSetMode init_value = CTRL_MSG__REQ__SET_MODE__INIT;
284 *message = init_value;
285}
286size_t ctrl_msg__req__set_mode__get_packed_size
287 (const CtrlMsgReqSetMode *message)
288{
289 assert(message->base.descriptor == &ctrl_msg__req__set_mode__descriptor);
290 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
291}
292size_t ctrl_msg__req__set_mode__pack
293 (const CtrlMsgReqSetMode *message,
294 uint8_t *out)
295{
296 assert(message->base.descriptor == &ctrl_msg__req__set_mode__descriptor);
297 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
298}
299size_t ctrl_msg__req__set_mode__pack_to_buffer
300 (const CtrlMsgReqSetMode *message,
301 ProtobufCBuffer *buffer)
302{
303 assert(message->base.descriptor == &ctrl_msg__req__set_mode__descriptor);
304 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
305}
306CtrlMsgReqSetMode *
307 ctrl_msg__req__set_mode__unpack
308 (ProtobufCAllocator *allocator,
309 size_t len,
310 const uint8_t *data)
311{
312 return (CtrlMsgReqSetMode *)
313 protobuf_c_message_unpack (&ctrl_msg__req__set_mode__descriptor,
314 allocator, len, data);
315}
316void ctrl_msg__req__set_mode__free_unpacked
317 (CtrlMsgReqSetMode *message,
318 ProtobufCAllocator *allocator)
319{
320 if(!message)
321 return;
322 assert(message->base.descriptor == &ctrl_msg__req__set_mode__descriptor);
323 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
324}
325void ctrl_msg__resp__set_mode__init
326 (CtrlMsgRespSetMode *message)
327{
328 static const CtrlMsgRespSetMode init_value = CTRL_MSG__RESP__SET_MODE__INIT;
329 *message = init_value;
330}
331size_t ctrl_msg__resp__set_mode__get_packed_size
332 (const CtrlMsgRespSetMode *message)
333{
334 assert(message->base.descriptor == &ctrl_msg__resp__set_mode__descriptor);
335 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
336}
337size_t ctrl_msg__resp__set_mode__pack
338 (const CtrlMsgRespSetMode *message,
339 uint8_t *out)
340{
341 assert(message->base.descriptor == &ctrl_msg__resp__set_mode__descriptor);
342 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
343}
344size_t ctrl_msg__resp__set_mode__pack_to_buffer
345 (const CtrlMsgRespSetMode *message,
346 ProtobufCBuffer *buffer)
347{
348 assert(message->base.descriptor == &ctrl_msg__resp__set_mode__descriptor);
349 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
350}
351CtrlMsgRespSetMode *
352 ctrl_msg__resp__set_mode__unpack
353 (ProtobufCAllocator *allocator,
354 size_t len,
355 const uint8_t *data)
356{
357 return (CtrlMsgRespSetMode *)
358 protobuf_c_message_unpack (&ctrl_msg__resp__set_mode__descriptor,
359 allocator, len, data);
360}
361void ctrl_msg__resp__set_mode__free_unpacked
362 (CtrlMsgRespSetMode *message,
363 ProtobufCAllocator *allocator)
364{
365 if(!message)
366 return;
367 assert(message->base.descriptor == &ctrl_msg__resp__set_mode__descriptor);
368 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
369}
370void ctrl_msg__req__get_status__init
371 (CtrlMsgReqGetStatus *message)
372{
373 static const CtrlMsgReqGetStatus init_value = CTRL_MSG__REQ__GET_STATUS__INIT;
374 *message = init_value;
375}
376size_t ctrl_msg__req__get_status__get_packed_size
377 (const CtrlMsgReqGetStatus *message)
378{
379 assert(message->base.descriptor == &ctrl_msg__req__get_status__descriptor);
380 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
381}
382size_t ctrl_msg__req__get_status__pack
383 (const CtrlMsgReqGetStatus *message,
384 uint8_t *out)
385{
386 assert(message->base.descriptor == &ctrl_msg__req__get_status__descriptor);
387 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
388}
389size_t ctrl_msg__req__get_status__pack_to_buffer
390 (const CtrlMsgReqGetStatus *message,
391 ProtobufCBuffer *buffer)
392{
393 assert(message->base.descriptor == &ctrl_msg__req__get_status__descriptor);
394 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
395}
396CtrlMsgReqGetStatus *
397 ctrl_msg__req__get_status__unpack
398 (ProtobufCAllocator *allocator,
399 size_t len,
400 const uint8_t *data)
401{
402 return (CtrlMsgReqGetStatus *)
403 protobuf_c_message_unpack (&ctrl_msg__req__get_status__descriptor,
404 allocator, len, data);
405}
406void ctrl_msg__req__get_status__free_unpacked
407 (CtrlMsgReqGetStatus *message,
408 ProtobufCAllocator *allocator)
409{
410 if(!message)
411 return;
412 assert(message->base.descriptor == &ctrl_msg__req__get_status__descriptor);
413 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
414}
415void ctrl_msg__resp__get_status__init
416 (CtrlMsgRespGetStatus *message)
417{
418 static const CtrlMsgRespGetStatus init_value = CTRL_MSG__RESP__GET_STATUS__INIT;
419 *message = init_value;
420}
421size_t ctrl_msg__resp__get_status__get_packed_size
422 (const CtrlMsgRespGetStatus *message)
423{
424 assert(message->base.descriptor == &ctrl_msg__resp__get_status__descriptor);
425 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
426}
427size_t ctrl_msg__resp__get_status__pack
428 (const CtrlMsgRespGetStatus *message,
429 uint8_t *out)
430{
431 assert(message->base.descriptor == &ctrl_msg__resp__get_status__descriptor);
432 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
433}
434size_t ctrl_msg__resp__get_status__pack_to_buffer
435 (const CtrlMsgRespGetStatus *message,
436 ProtobufCBuffer *buffer)
437{
438 assert(message->base.descriptor == &ctrl_msg__resp__get_status__descriptor);
439 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
440}
441CtrlMsgRespGetStatus *
442 ctrl_msg__resp__get_status__unpack
443 (ProtobufCAllocator *allocator,
444 size_t len,
445 const uint8_t *data)
446{
447 return (CtrlMsgRespGetStatus *)
448 protobuf_c_message_unpack (&ctrl_msg__resp__get_status__descriptor,
449 allocator, len, data);
450}
451void ctrl_msg__resp__get_status__free_unpacked
452 (CtrlMsgRespGetStatus *message,
453 ProtobufCAllocator *allocator)
454{
455 if(!message)
456 return;
457 assert(message->base.descriptor == &ctrl_msg__resp__get_status__descriptor);
458 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
459}
460void ctrl_msg__req__set_mac_address__init
461 (CtrlMsgReqSetMacAddress *message)
462{
463 static const CtrlMsgReqSetMacAddress init_value = CTRL_MSG__REQ__SET_MAC_ADDRESS__INIT;
464 *message = init_value;
465}
466size_t ctrl_msg__req__set_mac_address__get_packed_size
467 (const CtrlMsgReqSetMacAddress *message)
468{
469 assert(message->base.descriptor == &ctrl_msg__req__set_mac_address__descriptor);
470 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
471}
472size_t ctrl_msg__req__set_mac_address__pack
473 (const CtrlMsgReqSetMacAddress *message,
474 uint8_t *out)
475{
476 assert(message->base.descriptor == &ctrl_msg__req__set_mac_address__descriptor);
477 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
478}
479size_t ctrl_msg__req__set_mac_address__pack_to_buffer
480 (const CtrlMsgReqSetMacAddress *message,
481 ProtobufCBuffer *buffer)
482{
483 assert(message->base.descriptor == &ctrl_msg__req__set_mac_address__descriptor);
484 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
485}
486CtrlMsgReqSetMacAddress *
487 ctrl_msg__req__set_mac_address__unpack
488 (ProtobufCAllocator *allocator,
489 size_t len,
490 const uint8_t *data)
491{
492 return (CtrlMsgReqSetMacAddress *)
493 protobuf_c_message_unpack (&ctrl_msg__req__set_mac_address__descriptor,
494 allocator, len, data);
495}
496void ctrl_msg__req__set_mac_address__free_unpacked
497 (CtrlMsgReqSetMacAddress *message,
498 ProtobufCAllocator *allocator)
499{
500 if(!message)
501 return;
502 assert(message->base.descriptor == &ctrl_msg__req__set_mac_address__descriptor);
503 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
504}
505void ctrl_msg__resp__set_mac_address__init
506 (CtrlMsgRespSetMacAddress *message)
507{
508 static const CtrlMsgRespSetMacAddress init_value = CTRL_MSG__RESP__SET_MAC_ADDRESS__INIT;
509 *message = init_value;
510}
511size_t ctrl_msg__resp__set_mac_address__get_packed_size
512 (const CtrlMsgRespSetMacAddress *message)
513{
514 assert(message->base.descriptor == &ctrl_msg__resp__set_mac_address__descriptor);
515 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
516}
517size_t ctrl_msg__resp__set_mac_address__pack
518 (const CtrlMsgRespSetMacAddress *message,
519 uint8_t *out)
520{
521 assert(message->base.descriptor == &ctrl_msg__resp__set_mac_address__descriptor);
522 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
523}
524size_t ctrl_msg__resp__set_mac_address__pack_to_buffer
525 (const CtrlMsgRespSetMacAddress *message,
526 ProtobufCBuffer *buffer)
527{
528 assert(message->base.descriptor == &ctrl_msg__resp__set_mac_address__descriptor);
529 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
530}
531CtrlMsgRespSetMacAddress *
532 ctrl_msg__resp__set_mac_address__unpack
533 (ProtobufCAllocator *allocator,
534 size_t len,
535 const uint8_t *data)
536{
537 return (CtrlMsgRespSetMacAddress *)
538 protobuf_c_message_unpack (&ctrl_msg__resp__set_mac_address__descriptor,
539 allocator, len, data);
540}
541void ctrl_msg__resp__set_mac_address__free_unpacked
542 (CtrlMsgRespSetMacAddress *message,
543 ProtobufCAllocator *allocator)
544{
545 if(!message)
546 return;
547 assert(message->base.descriptor == &ctrl_msg__resp__set_mac_address__descriptor);
548 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
549}
550void ctrl_msg__req__get_apconfig__init
551 (CtrlMsgReqGetAPConfig *message)
552{
553 static const CtrlMsgReqGetAPConfig init_value = CTRL_MSG__REQ__GET_APCONFIG__INIT;
554 *message = init_value;
555}
556size_t ctrl_msg__req__get_apconfig__get_packed_size
557 (const CtrlMsgReqGetAPConfig *message)
558{
559 assert(message->base.descriptor == &ctrl_msg__req__get_apconfig__descriptor);
560 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
561}
562size_t ctrl_msg__req__get_apconfig__pack
563 (const CtrlMsgReqGetAPConfig *message,
564 uint8_t *out)
565{
566 assert(message->base.descriptor == &ctrl_msg__req__get_apconfig__descriptor);
567 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
568}
569size_t ctrl_msg__req__get_apconfig__pack_to_buffer
570 (const CtrlMsgReqGetAPConfig *message,
571 ProtobufCBuffer *buffer)
572{
573 assert(message->base.descriptor == &ctrl_msg__req__get_apconfig__descriptor);
574 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
575}
576CtrlMsgReqGetAPConfig *
577 ctrl_msg__req__get_apconfig__unpack
578 (ProtobufCAllocator *allocator,
579 size_t len,
580 const uint8_t *data)
581{
582 return (CtrlMsgReqGetAPConfig *)
583 protobuf_c_message_unpack (&ctrl_msg__req__get_apconfig__descriptor,
584 allocator, len, data);
585}
586void ctrl_msg__req__get_apconfig__free_unpacked
587 (CtrlMsgReqGetAPConfig *message,
588 ProtobufCAllocator *allocator)
589{
590 if(!message)
591 return;
592 assert(message->base.descriptor == &ctrl_msg__req__get_apconfig__descriptor);
593 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
594}
595void ctrl_msg__resp__get_apconfig__init
596 (CtrlMsgRespGetAPConfig *message)
597{
598 static const CtrlMsgRespGetAPConfig init_value = CTRL_MSG__RESP__GET_APCONFIG__INIT;
599 *message = init_value;
600}
601size_t ctrl_msg__resp__get_apconfig__get_packed_size
602 (const CtrlMsgRespGetAPConfig *message)
603{
604 assert(message->base.descriptor == &ctrl_msg__resp__get_apconfig__descriptor);
605 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
606}
607size_t ctrl_msg__resp__get_apconfig__pack
608 (const CtrlMsgRespGetAPConfig *message,
609 uint8_t *out)
610{
611 assert(message->base.descriptor == &ctrl_msg__resp__get_apconfig__descriptor);
612 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
613}
614size_t ctrl_msg__resp__get_apconfig__pack_to_buffer
615 (const CtrlMsgRespGetAPConfig *message,
616 ProtobufCBuffer *buffer)
617{
618 assert(message->base.descriptor == &ctrl_msg__resp__get_apconfig__descriptor);
619 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
620}
621CtrlMsgRespGetAPConfig *
622 ctrl_msg__resp__get_apconfig__unpack
623 (ProtobufCAllocator *allocator,
624 size_t len,
625 const uint8_t *data)
626{
627 return (CtrlMsgRespGetAPConfig *)
628 protobuf_c_message_unpack (&ctrl_msg__resp__get_apconfig__descriptor,
629 allocator, len, data);
630}
631void ctrl_msg__resp__get_apconfig__free_unpacked
632 (CtrlMsgRespGetAPConfig *message,
633 ProtobufCAllocator *allocator)
634{
635 if(!message)
636 return;
637 assert(message->base.descriptor == &ctrl_msg__resp__get_apconfig__descriptor);
638 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
639}
640void ctrl_msg__req__connect_ap__init
641 (CtrlMsgReqConnectAP *message)
642{
643 static const CtrlMsgReqConnectAP init_value = CTRL_MSG__REQ__CONNECT_AP__INIT;
644 *message = init_value;
645}
646size_t ctrl_msg__req__connect_ap__get_packed_size
647 (const CtrlMsgReqConnectAP *message)
648{
649 assert(message->base.descriptor == &ctrl_msg__req__connect_ap__descriptor);
650 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
651}
652size_t ctrl_msg__req__connect_ap__pack
653 (const CtrlMsgReqConnectAP *message,
654 uint8_t *out)
655{
656 assert(message->base.descriptor == &ctrl_msg__req__connect_ap__descriptor);
657 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
658}
659size_t ctrl_msg__req__connect_ap__pack_to_buffer
660 (const CtrlMsgReqConnectAP *message,
661 ProtobufCBuffer *buffer)
662{
663 assert(message->base.descriptor == &ctrl_msg__req__connect_ap__descriptor);
664 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
665}
666CtrlMsgReqConnectAP *
667 ctrl_msg__req__connect_ap__unpack
668 (ProtobufCAllocator *allocator,
669 size_t len,
670 const uint8_t *data)
671{
672 return (CtrlMsgReqConnectAP *)
673 protobuf_c_message_unpack (&ctrl_msg__req__connect_ap__descriptor,
674 allocator, len, data);
675}
676void ctrl_msg__req__connect_ap__free_unpacked
677 (CtrlMsgReqConnectAP *message,
678 ProtobufCAllocator *allocator)
679{
680 if(!message)
681 return;
682 assert(message->base.descriptor == &ctrl_msg__req__connect_ap__descriptor);
683 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
684}
685void ctrl_msg__resp__connect_ap__init
686 (CtrlMsgRespConnectAP *message)
687{
688 static const CtrlMsgRespConnectAP init_value = CTRL_MSG__RESP__CONNECT_AP__INIT;
689 *message = init_value;
690}
691size_t ctrl_msg__resp__connect_ap__get_packed_size
692 (const CtrlMsgRespConnectAP *message)
693{
694 assert(message->base.descriptor == &ctrl_msg__resp__connect_ap__descriptor);
695 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
696}
697size_t ctrl_msg__resp__connect_ap__pack
698 (const CtrlMsgRespConnectAP *message,
699 uint8_t *out)
700{
701 assert(message->base.descriptor == &ctrl_msg__resp__connect_ap__descriptor);
702 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
703}
704size_t ctrl_msg__resp__connect_ap__pack_to_buffer
705 (const CtrlMsgRespConnectAP *message,
706 ProtobufCBuffer *buffer)
707{
708 assert(message->base.descriptor == &ctrl_msg__resp__connect_ap__descriptor);
709 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
710}
711CtrlMsgRespConnectAP *
712 ctrl_msg__resp__connect_ap__unpack
713 (ProtobufCAllocator *allocator,
714 size_t len,
715 const uint8_t *data)
716{
717 return (CtrlMsgRespConnectAP *)
718 protobuf_c_message_unpack (&ctrl_msg__resp__connect_ap__descriptor,
719 allocator, len, data);
720}
721void ctrl_msg__resp__connect_ap__free_unpacked
722 (CtrlMsgRespConnectAP *message,
723 ProtobufCAllocator *allocator)
724{
725 if(!message)
726 return;
727 assert(message->base.descriptor == &ctrl_msg__resp__connect_ap__descriptor);
728 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
729}
730void ctrl_msg__req__get_soft_apconfig__init
731 (CtrlMsgReqGetSoftAPConfig *message)
732{
733 static const CtrlMsgReqGetSoftAPConfig init_value = CTRL_MSG__REQ__GET_SOFT_APCONFIG__INIT;
734 *message = init_value;
735}
736size_t ctrl_msg__req__get_soft_apconfig__get_packed_size
737 (const CtrlMsgReqGetSoftAPConfig *message)
738{
739 assert(message->base.descriptor == &ctrl_msg__req__get_soft_apconfig__descriptor);
740 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
741}
742size_t ctrl_msg__req__get_soft_apconfig__pack
743 (const CtrlMsgReqGetSoftAPConfig *message,
744 uint8_t *out)
745{
746 assert(message->base.descriptor == &ctrl_msg__req__get_soft_apconfig__descriptor);
747 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
748}
749size_t ctrl_msg__req__get_soft_apconfig__pack_to_buffer
750 (const CtrlMsgReqGetSoftAPConfig *message,
751 ProtobufCBuffer *buffer)
752{
753 assert(message->base.descriptor == &ctrl_msg__req__get_soft_apconfig__descriptor);
754 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
755}
756CtrlMsgReqGetSoftAPConfig *
757 ctrl_msg__req__get_soft_apconfig__unpack
758 (ProtobufCAllocator *allocator,
759 size_t len,
760 const uint8_t *data)
761{
762 return (CtrlMsgReqGetSoftAPConfig *)
763 protobuf_c_message_unpack (&ctrl_msg__req__get_soft_apconfig__descriptor,
764 allocator, len, data);
765}
766void ctrl_msg__req__get_soft_apconfig__free_unpacked
767 (CtrlMsgReqGetSoftAPConfig *message,
768 ProtobufCAllocator *allocator)
769{
770 if(!message)
771 return;
772 assert(message->base.descriptor == &ctrl_msg__req__get_soft_apconfig__descriptor);
773 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
774}
775void ctrl_msg__resp__get_soft_apconfig__init
776 (CtrlMsgRespGetSoftAPConfig *message)
777{
778 static const CtrlMsgRespGetSoftAPConfig init_value = CTRL_MSG__RESP__GET_SOFT_APCONFIG__INIT;
779 *message = init_value;
780}
781size_t ctrl_msg__resp__get_soft_apconfig__get_packed_size
782 (const CtrlMsgRespGetSoftAPConfig *message)
783{
784 assert(message->base.descriptor == &ctrl_msg__resp__get_soft_apconfig__descriptor);
785 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
786}
787size_t ctrl_msg__resp__get_soft_apconfig__pack
788 (const CtrlMsgRespGetSoftAPConfig *message,
789 uint8_t *out)
790{
791 assert(message->base.descriptor == &ctrl_msg__resp__get_soft_apconfig__descriptor);
792 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
793}
794size_t ctrl_msg__resp__get_soft_apconfig__pack_to_buffer
795 (const CtrlMsgRespGetSoftAPConfig *message,
796 ProtobufCBuffer *buffer)
797{
798 assert(message->base.descriptor == &ctrl_msg__resp__get_soft_apconfig__descriptor);
799 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
800}
801CtrlMsgRespGetSoftAPConfig *
802 ctrl_msg__resp__get_soft_apconfig__unpack
803 (ProtobufCAllocator *allocator,
804 size_t len,
805 const uint8_t *data)
806{
807 return (CtrlMsgRespGetSoftAPConfig *)
808 protobuf_c_message_unpack (&ctrl_msg__resp__get_soft_apconfig__descriptor,
809 allocator, len, data);
810}
811void ctrl_msg__resp__get_soft_apconfig__free_unpacked
812 (CtrlMsgRespGetSoftAPConfig *message,
813 ProtobufCAllocator *allocator)
814{
815 if(!message)
816 return;
817 assert(message->base.descriptor == &ctrl_msg__resp__get_soft_apconfig__descriptor);
818 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
819}
820void ctrl_msg__req__start_soft_ap__init
821 (CtrlMsgReqStartSoftAP *message)
822{
823 static const CtrlMsgReqStartSoftAP init_value = CTRL_MSG__REQ__START_SOFT_AP__INIT;
824 *message = init_value;
825}
826size_t ctrl_msg__req__start_soft_ap__get_packed_size
827 (const CtrlMsgReqStartSoftAP *message)
828{
829 assert(message->base.descriptor == &ctrl_msg__req__start_soft_ap__descriptor);
830 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
831}
832size_t ctrl_msg__req__start_soft_ap__pack
833 (const CtrlMsgReqStartSoftAP *message,
834 uint8_t *out)
835{
836 assert(message->base.descriptor == &ctrl_msg__req__start_soft_ap__descriptor);
837 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
838}
839size_t ctrl_msg__req__start_soft_ap__pack_to_buffer
840 (const CtrlMsgReqStartSoftAP *message,
841 ProtobufCBuffer *buffer)
842{
843 assert(message->base.descriptor == &ctrl_msg__req__start_soft_ap__descriptor);
844 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
845}
846CtrlMsgReqStartSoftAP *
847 ctrl_msg__req__start_soft_ap__unpack
848 (ProtobufCAllocator *allocator,
849 size_t len,
850 const uint8_t *data)
851{
852 return (CtrlMsgReqStartSoftAP *)
853 protobuf_c_message_unpack (&ctrl_msg__req__start_soft_ap__descriptor,
854 allocator, len, data);
855}
856void ctrl_msg__req__start_soft_ap__free_unpacked
857 (CtrlMsgReqStartSoftAP *message,
858 ProtobufCAllocator *allocator)
859{
860 if(!message)
861 return;
862 assert(message->base.descriptor == &ctrl_msg__req__start_soft_ap__descriptor);
863 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
864}
865void ctrl_msg__resp__start_soft_ap__init
866 (CtrlMsgRespStartSoftAP *message)
867{
868 static const CtrlMsgRespStartSoftAP init_value = CTRL_MSG__RESP__START_SOFT_AP__INIT;
869 *message = init_value;
870}
871size_t ctrl_msg__resp__start_soft_ap__get_packed_size
872 (const CtrlMsgRespStartSoftAP *message)
873{
874 assert(message->base.descriptor == &ctrl_msg__resp__start_soft_ap__descriptor);
875 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
876}
877size_t ctrl_msg__resp__start_soft_ap__pack
878 (const CtrlMsgRespStartSoftAP *message,
879 uint8_t *out)
880{
881 assert(message->base.descriptor == &ctrl_msg__resp__start_soft_ap__descriptor);
882 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
883}
884size_t ctrl_msg__resp__start_soft_ap__pack_to_buffer
885 (const CtrlMsgRespStartSoftAP *message,
886 ProtobufCBuffer *buffer)
887{
888 assert(message->base.descriptor == &ctrl_msg__resp__start_soft_ap__descriptor);
889 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
890}
891CtrlMsgRespStartSoftAP *
892 ctrl_msg__resp__start_soft_ap__unpack
893 (ProtobufCAllocator *allocator,
894 size_t len,
895 const uint8_t *data)
896{
897 return (CtrlMsgRespStartSoftAP *)
898 protobuf_c_message_unpack (&ctrl_msg__resp__start_soft_ap__descriptor,
899 allocator, len, data);
900}
901void ctrl_msg__resp__start_soft_ap__free_unpacked
902 (CtrlMsgRespStartSoftAP *message,
903 ProtobufCAllocator *allocator)
904{
905 if(!message)
906 return;
907 assert(message->base.descriptor == &ctrl_msg__resp__start_soft_ap__descriptor);
908 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
909}
910void ctrl_msg__req__scan_result__init
911 (CtrlMsgReqScanResult *message)
912{
913 static const CtrlMsgReqScanResult init_value = CTRL_MSG__REQ__SCAN_RESULT__INIT;
914 *message = init_value;
915}
916size_t ctrl_msg__req__scan_result__get_packed_size
917 (const CtrlMsgReqScanResult *message)
918{
919 assert(message->base.descriptor == &ctrl_msg__req__scan_result__descriptor);
920 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
921}
922size_t ctrl_msg__req__scan_result__pack
923 (const CtrlMsgReqScanResult *message,
924 uint8_t *out)
925{
926 assert(message->base.descriptor == &ctrl_msg__req__scan_result__descriptor);
927 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
928}
929size_t ctrl_msg__req__scan_result__pack_to_buffer
930 (const CtrlMsgReqScanResult *message,
931 ProtobufCBuffer *buffer)
932{
933 assert(message->base.descriptor == &ctrl_msg__req__scan_result__descriptor);
934 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
935}
936CtrlMsgReqScanResult *
937 ctrl_msg__req__scan_result__unpack
938 (ProtobufCAllocator *allocator,
939 size_t len,
940 const uint8_t *data)
941{
942 return (CtrlMsgReqScanResult *)
943 protobuf_c_message_unpack (&ctrl_msg__req__scan_result__descriptor,
944 allocator, len, data);
945}
946void ctrl_msg__req__scan_result__free_unpacked
947 (CtrlMsgReqScanResult *message,
948 ProtobufCAllocator *allocator)
949{
950 if(!message)
951 return;
952 assert(message->base.descriptor == &ctrl_msg__req__scan_result__descriptor);
953 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
954}
955void ctrl_msg__resp__scan_result__init
956 (CtrlMsgRespScanResult *message)
957{
958 static const CtrlMsgRespScanResult init_value = CTRL_MSG__RESP__SCAN_RESULT__INIT;
959 *message = init_value;
960}
961size_t ctrl_msg__resp__scan_result__get_packed_size
962 (const CtrlMsgRespScanResult *message)
963{
964 assert(message->base.descriptor == &ctrl_msg__resp__scan_result__descriptor);
965 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
966}
967size_t ctrl_msg__resp__scan_result__pack
968 (const CtrlMsgRespScanResult *message,
969 uint8_t *out)
970{
971 assert(message->base.descriptor == &ctrl_msg__resp__scan_result__descriptor);
972 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
973}
974size_t ctrl_msg__resp__scan_result__pack_to_buffer
975 (const CtrlMsgRespScanResult *message,
976 ProtobufCBuffer *buffer)
977{
978 assert(message->base.descriptor == &ctrl_msg__resp__scan_result__descriptor);
979 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
980}
981CtrlMsgRespScanResult *
982 ctrl_msg__resp__scan_result__unpack
983 (ProtobufCAllocator *allocator,
984 size_t len,
985 const uint8_t *data)
986{
987 return (CtrlMsgRespScanResult *)
988 protobuf_c_message_unpack (&ctrl_msg__resp__scan_result__descriptor,
989 allocator, len, data);
990}
991void ctrl_msg__resp__scan_result__free_unpacked
992 (CtrlMsgRespScanResult *message,
993 ProtobufCAllocator *allocator)
994{
995 if(!message)
996 return;
997 assert(message->base.descriptor == &ctrl_msg__resp__scan_result__descriptor);
998 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
999}
1000void ctrl_msg__req__soft_apconnected_sta__init
1001 (CtrlMsgReqSoftAPConnectedSTA *message)
1002{
1003 static const CtrlMsgReqSoftAPConnectedSTA init_value = CTRL_MSG__REQ__SOFT_APCONNECTED_STA__INIT;
1004 *message = init_value;
1005}
1006size_t ctrl_msg__req__soft_apconnected_sta__get_packed_size
1007 (const CtrlMsgReqSoftAPConnectedSTA *message)
1008{
1009 assert(message->base.descriptor == &ctrl_msg__req__soft_apconnected_sta__descriptor);
1010 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1011}
1012size_t ctrl_msg__req__soft_apconnected_sta__pack
1013 (const CtrlMsgReqSoftAPConnectedSTA *message,
1014 uint8_t *out)
1015{
1016 assert(message->base.descriptor == &ctrl_msg__req__soft_apconnected_sta__descriptor);
1017 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1018}
1019size_t ctrl_msg__req__soft_apconnected_sta__pack_to_buffer
1020 (const CtrlMsgReqSoftAPConnectedSTA *message,
1021 ProtobufCBuffer *buffer)
1022{
1023 assert(message->base.descriptor == &ctrl_msg__req__soft_apconnected_sta__descriptor);
1024 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1025}
1026CtrlMsgReqSoftAPConnectedSTA *
1027 ctrl_msg__req__soft_apconnected_sta__unpack
1028 (ProtobufCAllocator *allocator,
1029 size_t len,
1030 const uint8_t *data)
1031{
1032 return (CtrlMsgReqSoftAPConnectedSTA *)
1033 protobuf_c_message_unpack (&ctrl_msg__req__soft_apconnected_sta__descriptor,
1034 allocator, len, data);
1035}
1036void ctrl_msg__req__soft_apconnected_sta__free_unpacked
1037 (CtrlMsgReqSoftAPConnectedSTA *message,
1038 ProtobufCAllocator *allocator)
1039{
1040 if(!message)
1041 return;
1042 assert(message->base.descriptor == &ctrl_msg__req__soft_apconnected_sta__descriptor);
1043 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1044}
1045void ctrl_msg__resp__soft_apconnected_sta__init
1046 (CtrlMsgRespSoftAPConnectedSTA *message)
1047{
1048 static const CtrlMsgRespSoftAPConnectedSTA init_value = CTRL_MSG__RESP__SOFT_APCONNECTED_STA__INIT;
1049 *message = init_value;
1050}
1051size_t ctrl_msg__resp__soft_apconnected_sta__get_packed_size
1052 (const CtrlMsgRespSoftAPConnectedSTA *message)
1053{
1054 assert(message->base.descriptor == &ctrl_msg__resp__soft_apconnected_sta__descriptor);
1055 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1056}
1057size_t ctrl_msg__resp__soft_apconnected_sta__pack
1058 (const CtrlMsgRespSoftAPConnectedSTA *message,
1059 uint8_t *out)
1060{
1061 assert(message->base.descriptor == &ctrl_msg__resp__soft_apconnected_sta__descriptor);
1062 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1063}
1064size_t ctrl_msg__resp__soft_apconnected_sta__pack_to_buffer
1065 (const CtrlMsgRespSoftAPConnectedSTA *message,
1066 ProtobufCBuffer *buffer)
1067{
1068 assert(message->base.descriptor == &ctrl_msg__resp__soft_apconnected_sta__descriptor);
1069 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1070}
1071CtrlMsgRespSoftAPConnectedSTA *
1072 ctrl_msg__resp__soft_apconnected_sta__unpack
1073 (ProtobufCAllocator *allocator,
1074 size_t len,
1075 const uint8_t *data)
1076{
1077 return (CtrlMsgRespSoftAPConnectedSTA *)
1078 protobuf_c_message_unpack (&ctrl_msg__resp__soft_apconnected_sta__descriptor,
1079 allocator, len, data);
1080}
1081void ctrl_msg__resp__soft_apconnected_sta__free_unpacked
1082 (CtrlMsgRespSoftAPConnectedSTA *message,
1083 ProtobufCAllocator *allocator)
1084{
1085 if(!message)
1086 return;
1087 assert(message->base.descriptor == &ctrl_msg__resp__soft_apconnected_sta__descriptor);
1088 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1089}
1090void ctrl_msg__req__otabegin__init
1091 (CtrlMsgReqOTABegin *message)
1092{
1093 static const CtrlMsgReqOTABegin init_value = CTRL_MSG__REQ__OTABEGIN__INIT;
1094 *message = init_value;
1095}
1096size_t ctrl_msg__req__otabegin__get_packed_size
1097 (const CtrlMsgReqOTABegin *message)
1098{
1099 assert(message->base.descriptor == &ctrl_msg__req__otabegin__descriptor);
1100 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1101}
1102size_t ctrl_msg__req__otabegin__pack
1103 (const CtrlMsgReqOTABegin *message,
1104 uint8_t *out)
1105{
1106 assert(message->base.descriptor == &ctrl_msg__req__otabegin__descriptor);
1107 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1108}
1109size_t ctrl_msg__req__otabegin__pack_to_buffer
1110 (const CtrlMsgReqOTABegin *message,
1111 ProtobufCBuffer *buffer)
1112{
1113 assert(message->base.descriptor == &ctrl_msg__req__otabegin__descriptor);
1114 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1115}
1116CtrlMsgReqOTABegin *
1117 ctrl_msg__req__otabegin__unpack
1118 (ProtobufCAllocator *allocator,
1119 size_t len,
1120 const uint8_t *data)
1121{
1122 return (CtrlMsgReqOTABegin *)
1123 protobuf_c_message_unpack (&ctrl_msg__req__otabegin__descriptor,
1124 allocator, len, data);
1125}
1126void ctrl_msg__req__otabegin__free_unpacked
1127 (CtrlMsgReqOTABegin *message,
1128 ProtobufCAllocator *allocator)
1129{
1130 if(!message)
1131 return;
1132 assert(message->base.descriptor == &ctrl_msg__req__otabegin__descriptor);
1133 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1134}
1135void ctrl_msg__resp__otabegin__init
1136 (CtrlMsgRespOTABegin *message)
1137{
1138 static const CtrlMsgRespOTABegin init_value = CTRL_MSG__RESP__OTABEGIN__INIT;
1139 *message = init_value;
1140}
1141size_t ctrl_msg__resp__otabegin__get_packed_size
1142 (const CtrlMsgRespOTABegin *message)
1143{
1144 assert(message->base.descriptor == &ctrl_msg__resp__otabegin__descriptor);
1145 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1146}
1147size_t ctrl_msg__resp__otabegin__pack
1148 (const CtrlMsgRespOTABegin *message,
1149 uint8_t *out)
1150{
1151 assert(message->base.descriptor == &ctrl_msg__resp__otabegin__descriptor);
1152 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1153}
1154size_t ctrl_msg__resp__otabegin__pack_to_buffer
1155 (const CtrlMsgRespOTABegin *message,
1156 ProtobufCBuffer *buffer)
1157{
1158 assert(message->base.descriptor == &ctrl_msg__resp__otabegin__descriptor);
1159 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1160}
1161CtrlMsgRespOTABegin *
1162 ctrl_msg__resp__otabegin__unpack
1163 (ProtobufCAllocator *allocator,
1164 size_t len,
1165 const uint8_t *data)
1166{
1167 return (CtrlMsgRespOTABegin *)
1168 protobuf_c_message_unpack (&ctrl_msg__resp__otabegin__descriptor,
1169 allocator, len, data);
1170}
1171void ctrl_msg__resp__otabegin__free_unpacked
1172 (CtrlMsgRespOTABegin *message,
1173 ProtobufCAllocator *allocator)
1174{
1175 if(!message)
1176 return;
1177 assert(message->base.descriptor == &ctrl_msg__resp__otabegin__descriptor);
1178 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1179}
1180void ctrl_msg__req__otawrite__init
1181 (CtrlMsgReqOTAWrite *message)
1182{
1183 static const CtrlMsgReqOTAWrite init_value = CTRL_MSG__REQ__OTAWRITE__INIT;
1184 *message = init_value;
1185}
1186size_t ctrl_msg__req__otawrite__get_packed_size
1187 (const CtrlMsgReqOTAWrite *message)
1188{
1189 assert(message->base.descriptor == &ctrl_msg__req__otawrite__descriptor);
1190 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1191}
1192size_t ctrl_msg__req__otawrite__pack
1193 (const CtrlMsgReqOTAWrite *message,
1194 uint8_t *out)
1195{
1196 assert(message->base.descriptor == &ctrl_msg__req__otawrite__descriptor);
1197 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1198}
1199size_t ctrl_msg__req__otawrite__pack_to_buffer
1200 (const CtrlMsgReqOTAWrite *message,
1201 ProtobufCBuffer *buffer)
1202{
1203 assert(message->base.descriptor == &ctrl_msg__req__otawrite__descriptor);
1204 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1205}
1206CtrlMsgReqOTAWrite *
1207 ctrl_msg__req__otawrite__unpack
1208 (ProtobufCAllocator *allocator,
1209 size_t len,
1210 const uint8_t *data)
1211{
1212 return (CtrlMsgReqOTAWrite *)
1213 protobuf_c_message_unpack (&ctrl_msg__req__otawrite__descriptor,
1214 allocator, len, data);
1215}
1216void ctrl_msg__req__otawrite__free_unpacked
1217 (CtrlMsgReqOTAWrite *message,
1218 ProtobufCAllocator *allocator)
1219{
1220 if(!message)
1221 return;
1222 assert(message->base.descriptor == &ctrl_msg__req__otawrite__descriptor);
1223 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1224}
1225void ctrl_msg__resp__otawrite__init
1226 (CtrlMsgRespOTAWrite *message)
1227{
1228 static const CtrlMsgRespOTAWrite init_value = CTRL_MSG__RESP__OTAWRITE__INIT;
1229 *message = init_value;
1230}
1231size_t ctrl_msg__resp__otawrite__get_packed_size
1232 (const CtrlMsgRespOTAWrite *message)
1233{
1234 assert(message->base.descriptor == &ctrl_msg__resp__otawrite__descriptor);
1235 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1236}
1237size_t ctrl_msg__resp__otawrite__pack
1238 (const CtrlMsgRespOTAWrite *message,
1239 uint8_t *out)
1240{
1241 assert(message->base.descriptor == &ctrl_msg__resp__otawrite__descriptor);
1242 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1243}
1244size_t ctrl_msg__resp__otawrite__pack_to_buffer
1245 (const CtrlMsgRespOTAWrite *message,
1246 ProtobufCBuffer *buffer)
1247{
1248 assert(message->base.descriptor == &ctrl_msg__resp__otawrite__descriptor);
1249 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1250}
1251CtrlMsgRespOTAWrite *
1252 ctrl_msg__resp__otawrite__unpack
1253 (ProtobufCAllocator *allocator,
1254 size_t len,
1255 const uint8_t *data)
1256{
1257 return (CtrlMsgRespOTAWrite *)
1258 protobuf_c_message_unpack (&ctrl_msg__resp__otawrite__descriptor,
1259 allocator, len, data);
1260}
1261void ctrl_msg__resp__otawrite__free_unpacked
1262 (CtrlMsgRespOTAWrite *message,
1263 ProtobufCAllocator *allocator)
1264{
1265 if(!message)
1266 return;
1267 assert(message->base.descriptor == &ctrl_msg__resp__otawrite__descriptor);
1268 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1269}
1270void ctrl_msg__req__otaend__init
1271 (CtrlMsgReqOTAEnd *message)
1272{
1273 static const CtrlMsgReqOTAEnd init_value = CTRL_MSG__REQ__OTAEND__INIT;
1274 *message = init_value;
1275}
1276size_t ctrl_msg__req__otaend__get_packed_size
1277 (const CtrlMsgReqOTAEnd *message)
1278{
1279 assert(message->base.descriptor == &ctrl_msg__req__otaend__descriptor);
1280 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1281}
1282size_t ctrl_msg__req__otaend__pack
1283 (const CtrlMsgReqOTAEnd *message,
1284 uint8_t *out)
1285{
1286 assert(message->base.descriptor == &ctrl_msg__req__otaend__descriptor);
1287 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1288}
1289size_t ctrl_msg__req__otaend__pack_to_buffer
1290 (const CtrlMsgReqOTAEnd *message,
1291 ProtobufCBuffer *buffer)
1292{
1293 assert(message->base.descriptor == &ctrl_msg__req__otaend__descriptor);
1294 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1295}
1296CtrlMsgReqOTAEnd *
1297 ctrl_msg__req__otaend__unpack
1298 (ProtobufCAllocator *allocator,
1299 size_t len,
1300 const uint8_t *data)
1301{
1302 return (CtrlMsgReqOTAEnd *)
1303 protobuf_c_message_unpack (&ctrl_msg__req__otaend__descriptor,
1304 allocator, len, data);
1305}
1306void ctrl_msg__req__otaend__free_unpacked
1307 (CtrlMsgReqOTAEnd *message,
1308 ProtobufCAllocator *allocator)
1309{
1310 if(!message)
1311 return;
1312 assert(message->base.descriptor == &ctrl_msg__req__otaend__descriptor);
1313 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1314}
1315void ctrl_msg__resp__otaend__init
1316 (CtrlMsgRespOTAEnd *message)
1317{
1318 static const CtrlMsgRespOTAEnd init_value = CTRL_MSG__RESP__OTAEND__INIT;
1319 *message = init_value;
1320}
1321size_t ctrl_msg__resp__otaend__get_packed_size
1322 (const CtrlMsgRespOTAEnd *message)
1323{
1324 assert(message->base.descriptor == &ctrl_msg__resp__otaend__descriptor);
1325 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1326}
1327size_t ctrl_msg__resp__otaend__pack
1328 (const CtrlMsgRespOTAEnd *message,
1329 uint8_t *out)
1330{
1331 assert(message->base.descriptor == &ctrl_msg__resp__otaend__descriptor);
1332 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1333}
1334size_t ctrl_msg__resp__otaend__pack_to_buffer
1335 (const CtrlMsgRespOTAEnd *message,
1336 ProtobufCBuffer *buffer)
1337{
1338 assert(message->base.descriptor == &ctrl_msg__resp__otaend__descriptor);
1339 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1340}
1341CtrlMsgRespOTAEnd *
1342 ctrl_msg__resp__otaend__unpack
1343 (ProtobufCAllocator *allocator,
1344 size_t len,
1345 const uint8_t *data)
1346{
1347 return (CtrlMsgRespOTAEnd *)
1348 protobuf_c_message_unpack (&ctrl_msg__resp__otaend__descriptor,
1349 allocator, len, data);
1350}
1351void ctrl_msg__resp__otaend__free_unpacked
1352 (CtrlMsgRespOTAEnd *message,
1353 ProtobufCAllocator *allocator)
1354{
1355 if(!message)
1356 return;
1357 assert(message->base.descriptor == &ctrl_msg__resp__otaend__descriptor);
1358 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1359}
1360void ctrl_msg__req__vendor_iedata__init
1361 (CtrlMsgReqVendorIEData *message)
1362{
1363 static const CtrlMsgReqVendorIEData init_value = CTRL_MSG__REQ__VENDOR_IEDATA__INIT;
1364 *message = init_value;
1365}
1366size_t ctrl_msg__req__vendor_iedata__get_packed_size
1367 (const CtrlMsgReqVendorIEData *message)
1368{
1369 assert(message->base.descriptor == &ctrl_msg__req__vendor_iedata__descriptor);
1370 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1371}
1372size_t ctrl_msg__req__vendor_iedata__pack
1373 (const CtrlMsgReqVendorIEData *message,
1374 uint8_t *out)
1375{
1376 assert(message->base.descriptor == &ctrl_msg__req__vendor_iedata__descriptor);
1377 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1378}
1379size_t ctrl_msg__req__vendor_iedata__pack_to_buffer
1380 (const CtrlMsgReqVendorIEData *message,
1381 ProtobufCBuffer *buffer)
1382{
1383 assert(message->base.descriptor == &ctrl_msg__req__vendor_iedata__descriptor);
1384 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1385}
1386CtrlMsgReqVendorIEData *
1387 ctrl_msg__req__vendor_iedata__unpack
1388 (ProtobufCAllocator *allocator,
1389 size_t len,
1390 const uint8_t *data)
1391{
1392 return (CtrlMsgReqVendorIEData *)
1393 protobuf_c_message_unpack (&ctrl_msg__req__vendor_iedata__descriptor,
1394 allocator, len, data);
1395}
1396void ctrl_msg__req__vendor_iedata__free_unpacked
1397 (CtrlMsgReqVendorIEData *message,
1398 ProtobufCAllocator *allocator)
1399{
1400 if(!message)
1401 return;
1402 assert(message->base.descriptor == &ctrl_msg__req__vendor_iedata__descriptor);
1403 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1404}
1405void ctrl_msg__req__set_soft_apvendor_specific_ie__init
1406 (CtrlMsgReqSetSoftAPVendorSpecificIE *message)
1407{
1408 static const CtrlMsgReqSetSoftAPVendorSpecificIE init_value = CTRL_MSG__REQ__SET_SOFT_APVENDOR_SPECIFIC_IE__INIT;
1409 *message = init_value;
1410}
1411size_t ctrl_msg__req__set_soft_apvendor_specific_ie__get_packed_size
1412 (const CtrlMsgReqSetSoftAPVendorSpecificIE *message)
1413{
1414 assert(message->base.descriptor == &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor);
1415 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1416}
1417size_t ctrl_msg__req__set_soft_apvendor_specific_ie__pack
1418 (const CtrlMsgReqSetSoftAPVendorSpecificIE *message,
1419 uint8_t *out)
1420{
1421 assert(message->base.descriptor == &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor);
1422 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1423}
1424size_t ctrl_msg__req__set_soft_apvendor_specific_ie__pack_to_buffer
1425 (const CtrlMsgReqSetSoftAPVendorSpecificIE *message,
1426 ProtobufCBuffer *buffer)
1427{
1428 assert(message->base.descriptor == &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor);
1429 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1430}
1431CtrlMsgReqSetSoftAPVendorSpecificIE *
1432 ctrl_msg__req__set_soft_apvendor_specific_ie__unpack
1433 (ProtobufCAllocator *allocator,
1434 size_t len,
1435 const uint8_t *data)
1436{
1437 return (CtrlMsgReqSetSoftAPVendorSpecificIE *)
1438 protobuf_c_message_unpack (&ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor,
1439 allocator, len, data);
1440}
1441void ctrl_msg__req__set_soft_apvendor_specific_ie__free_unpacked
1442 (CtrlMsgReqSetSoftAPVendorSpecificIE *message,
1443 ProtobufCAllocator *allocator)
1444{
1445 if(!message)
1446 return;
1447 assert(message->base.descriptor == &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor);
1448 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1449}
1450void ctrl_msg__resp__set_soft_apvendor_specific_ie__init
1451 (CtrlMsgRespSetSoftAPVendorSpecificIE *message)
1452{
1453 static const CtrlMsgRespSetSoftAPVendorSpecificIE init_value = CTRL_MSG__RESP__SET_SOFT_APVENDOR_SPECIFIC_IE__INIT;
1454 *message = init_value;
1455}
1456size_t ctrl_msg__resp__set_soft_apvendor_specific_ie__get_packed_size
1457 (const CtrlMsgRespSetSoftAPVendorSpecificIE *message)
1458{
1459 assert(message->base.descriptor == &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor);
1460 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1461}
1462size_t ctrl_msg__resp__set_soft_apvendor_specific_ie__pack
1463 (const CtrlMsgRespSetSoftAPVendorSpecificIE *message,
1464 uint8_t *out)
1465{
1466 assert(message->base.descriptor == &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor);
1467 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1468}
1469size_t ctrl_msg__resp__set_soft_apvendor_specific_ie__pack_to_buffer
1470 (const CtrlMsgRespSetSoftAPVendorSpecificIE *message,
1471 ProtobufCBuffer *buffer)
1472{
1473 assert(message->base.descriptor == &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor);
1474 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1475}
1476CtrlMsgRespSetSoftAPVendorSpecificIE *
1477 ctrl_msg__resp__set_soft_apvendor_specific_ie__unpack
1478 (ProtobufCAllocator *allocator,
1479 size_t len,
1480 const uint8_t *data)
1481{
1482 return (CtrlMsgRespSetSoftAPVendorSpecificIE *)
1483 protobuf_c_message_unpack (&ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor,
1484 allocator, len, data);
1485}
1486void ctrl_msg__resp__set_soft_apvendor_specific_ie__free_unpacked
1487 (CtrlMsgRespSetSoftAPVendorSpecificIE *message,
1488 ProtobufCAllocator *allocator)
1489{
1490 if(!message)
1491 return;
1492 assert(message->base.descriptor == &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor);
1493 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1494}
1495void ctrl_msg__req__set_wifi_max_tx_power__init
1496 (CtrlMsgReqSetWifiMaxTxPower *message)
1497{
1498 static const CtrlMsgReqSetWifiMaxTxPower init_value = CTRL_MSG__REQ__SET_WIFI_MAX_TX_POWER__INIT;
1499 *message = init_value;
1500}
1501size_t ctrl_msg__req__set_wifi_max_tx_power__get_packed_size
1502 (const CtrlMsgReqSetWifiMaxTxPower *message)
1503{
1504 assert(message->base.descriptor == &ctrl_msg__req__set_wifi_max_tx_power__descriptor);
1505 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1506}
1507size_t ctrl_msg__req__set_wifi_max_tx_power__pack
1508 (const CtrlMsgReqSetWifiMaxTxPower *message,
1509 uint8_t *out)
1510{
1511 assert(message->base.descriptor == &ctrl_msg__req__set_wifi_max_tx_power__descriptor);
1512 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1513}
1514size_t ctrl_msg__req__set_wifi_max_tx_power__pack_to_buffer
1515 (const CtrlMsgReqSetWifiMaxTxPower *message,
1516 ProtobufCBuffer *buffer)
1517{
1518 assert(message->base.descriptor == &ctrl_msg__req__set_wifi_max_tx_power__descriptor);
1519 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1520}
1521CtrlMsgReqSetWifiMaxTxPower *
1522 ctrl_msg__req__set_wifi_max_tx_power__unpack
1523 (ProtobufCAllocator *allocator,
1524 size_t len,
1525 const uint8_t *data)
1526{
1527 return (CtrlMsgReqSetWifiMaxTxPower *)
1528 protobuf_c_message_unpack (&ctrl_msg__req__set_wifi_max_tx_power__descriptor,
1529 allocator, len, data);
1530}
1531void ctrl_msg__req__set_wifi_max_tx_power__free_unpacked
1532 (CtrlMsgReqSetWifiMaxTxPower *message,
1533 ProtobufCAllocator *allocator)
1534{
1535 if(!message)
1536 return;
1537 assert(message->base.descriptor == &ctrl_msg__req__set_wifi_max_tx_power__descriptor);
1538 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1539}
1540void ctrl_msg__resp__set_wifi_max_tx_power__init
1541 (CtrlMsgRespSetWifiMaxTxPower *message)
1542{
1543 static const CtrlMsgRespSetWifiMaxTxPower init_value = CTRL_MSG__RESP__SET_WIFI_MAX_TX_POWER__INIT;
1544 *message = init_value;
1545}
1546size_t ctrl_msg__resp__set_wifi_max_tx_power__get_packed_size
1547 (const CtrlMsgRespSetWifiMaxTxPower *message)
1548{
1549 assert(message->base.descriptor == &ctrl_msg__resp__set_wifi_max_tx_power__descriptor);
1550 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1551}
1552size_t ctrl_msg__resp__set_wifi_max_tx_power__pack
1553 (const CtrlMsgRespSetWifiMaxTxPower *message,
1554 uint8_t *out)
1555{
1556 assert(message->base.descriptor == &ctrl_msg__resp__set_wifi_max_tx_power__descriptor);
1557 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1558}
1559size_t ctrl_msg__resp__set_wifi_max_tx_power__pack_to_buffer
1560 (const CtrlMsgRespSetWifiMaxTxPower *message,
1561 ProtobufCBuffer *buffer)
1562{
1563 assert(message->base.descriptor == &ctrl_msg__resp__set_wifi_max_tx_power__descriptor);
1564 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1565}
1566CtrlMsgRespSetWifiMaxTxPower *
1567 ctrl_msg__resp__set_wifi_max_tx_power__unpack
1568 (ProtobufCAllocator *allocator,
1569 size_t len,
1570 const uint8_t *data)
1571{
1572 return (CtrlMsgRespSetWifiMaxTxPower *)
1573 protobuf_c_message_unpack (&ctrl_msg__resp__set_wifi_max_tx_power__descriptor,
1574 allocator, len, data);
1575}
1576void ctrl_msg__resp__set_wifi_max_tx_power__free_unpacked
1577 (CtrlMsgRespSetWifiMaxTxPower *message,
1578 ProtobufCAllocator *allocator)
1579{
1580 if(!message)
1581 return;
1582 assert(message->base.descriptor == &ctrl_msg__resp__set_wifi_max_tx_power__descriptor);
1583 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1584}
1585void ctrl_msg__req__get_wifi_curr_tx_power__init
1586 (CtrlMsgReqGetWifiCurrTxPower *message)
1587{
1588 static const CtrlMsgReqGetWifiCurrTxPower init_value = CTRL_MSG__REQ__GET_WIFI_CURR_TX_POWER__INIT;
1589 *message = init_value;
1590}
1591size_t ctrl_msg__req__get_wifi_curr_tx_power__get_packed_size
1592 (const CtrlMsgReqGetWifiCurrTxPower *message)
1593{
1594 assert(message->base.descriptor == &ctrl_msg__req__get_wifi_curr_tx_power__descriptor);
1595 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1596}
1597size_t ctrl_msg__req__get_wifi_curr_tx_power__pack
1598 (const CtrlMsgReqGetWifiCurrTxPower *message,
1599 uint8_t *out)
1600{
1601 assert(message->base.descriptor == &ctrl_msg__req__get_wifi_curr_tx_power__descriptor);
1602 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1603}
1604size_t ctrl_msg__req__get_wifi_curr_tx_power__pack_to_buffer
1605 (const CtrlMsgReqGetWifiCurrTxPower *message,
1606 ProtobufCBuffer *buffer)
1607{
1608 assert(message->base.descriptor == &ctrl_msg__req__get_wifi_curr_tx_power__descriptor);
1609 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1610}
1611CtrlMsgReqGetWifiCurrTxPower *
1612 ctrl_msg__req__get_wifi_curr_tx_power__unpack
1613 (ProtobufCAllocator *allocator,
1614 size_t len,
1615 const uint8_t *data)
1616{
1617 return (CtrlMsgReqGetWifiCurrTxPower *)
1618 protobuf_c_message_unpack (&ctrl_msg__req__get_wifi_curr_tx_power__descriptor,
1619 allocator, len, data);
1620}
1621void ctrl_msg__req__get_wifi_curr_tx_power__free_unpacked
1622 (CtrlMsgReqGetWifiCurrTxPower *message,
1623 ProtobufCAllocator *allocator)
1624{
1625 if(!message)
1626 return;
1627 assert(message->base.descriptor == &ctrl_msg__req__get_wifi_curr_tx_power__descriptor);
1628 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1629}
1630void ctrl_msg__resp__get_wifi_curr_tx_power__init
1631 (CtrlMsgRespGetWifiCurrTxPower *message)
1632{
1633 static const CtrlMsgRespGetWifiCurrTxPower init_value = CTRL_MSG__RESP__GET_WIFI_CURR_TX_POWER__INIT;
1634 *message = init_value;
1635}
1636size_t ctrl_msg__resp__get_wifi_curr_tx_power__get_packed_size
1637 (const CtrlMsgRespGetWifiCurrTxPower *message)
1638{
1639 assert(message->base.descriptor == &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor);
1640 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1641}
1642size_t ctrl_msg__resp__get_wifi_curr_tx_power__pack
1643 (const CtrlMsgRespGetWifiCurrTxPower *message,
1644 uint8_t *out)
1645{
1646 assert(message->base.descriptor == &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor);
1647 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1648}
1649size_t ctrl_msg__resp__get_wifi_curr_tx_power__pack_to_buffer
1650 (const CtrlMsgRespGetWifiCurrTxPower *message,
1651 ProtobufCBuffer *buffer)
1652{
1653 assert(message->base.descriptor == &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor);
1654 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1655}
1656CtrlMsgRespGetWifiCurrTxPower *
1657 ctrl_msg__resp__get_wifi_curr_tx_power__unpack
1658 (ProtobufCAllocator *allocator,
1659 size_t len,
1660 const uint8_t *data)
1661{
1662 return (CtrlMsgRespGetWifiCurrTxPower *)
1663 protobuf_c_message_unpack (&ctrl_msg__resp__get_wifi_curr_tx_power__descriptor,
1664 allocator, len, data);
1665}
1666void ctrl_msg__resp__get_wifi_curr_tx_power__free_unpacked
1667 (CtrlMsgRespGetWifiCurrTxPower *message,
1668 ProtobufCAllocator *allocator)
1669{
1670 if(!message)
1671 return;
1672 assert(message->base.descriptor == &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor);
1673 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1674}
1675void ctrl_msg__req__config_heartbeat__init
1676 (CtrlMsgReqConfigHeartbeat *message)
1677{
1678 static const CtrlMsgReqConfigHeartbeat init_value = CTRL_MSG__REQ__CONFIG_HEARTBEAT__INIT;
1679 *message = init_value;
1680}
1681size_t ctrl_msg__req__config_heartbeat__get_packed_size
1682 (const CtrlMsgReqConfigHeartbeat *message)
1683{
1684 assert(message->base.descriptor == &ctrl_msg__req__config_heartbeat__descriptor);
1685 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1686}
1687size_t ctrl_msg__req__config_heartbeat__pack
1688 (const CtrlMsgReqConfigHeartbeat *message,
1689 uint8_t *out)
1690{
1691 assert(message->base.descriptor == &ctrl_msg__req__config_heartbeat__descriptor);
1692 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1693}
1694size_t ctrl_msg__req__config_heartbeat__pack_to_buffer
1695 (const CtrlMsgReqConfigHeartbeat *message,
1696 ProtobufCBuffer *buffer)
1697{
1698 assert(message->base.descriptor == &ctrl_msg__req__config_heartbeat__descriptor);
1699 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1700}
1701CtrlMsgReqConfigHeartbeat *
1702 ctrl_msg__req__config_heartbeat__unpack
1703 (ProtobufCAllocator *allocator,
1704 size_t len,
1705 const uint8_t *data)
1706{
1707 return (CtrlMsgReqConfigHeartbeat *)
1708 protobuf_c_message_unpack (&ctrl_msg__req__config_heartbeat__descriptor,
1709 allocator, len, data);
1710}
1711void ctrl_msg__req__config_heartbeat__free_unpacked
1712 (CtrlMsgReqConfigHeartbeat *message,
1713 ProtobufCAllocator *allocator)
1714{
1715 if(!message)
1716 return;
1717 assert(message->base.descriptor == &ctrl_msg__req__config_heartbeat__descriptor);
1718 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1719}
1720void ctrl_msg__resp__config_heartbeat__init
1721 (CtrlMsgRespConfigHeartbeat *message)
1722{
1723 static const CtrlMsgRespConfigHeartbeat init_value = CTRL_MSG__RESP__CONFIG_HEARTBEAT__INIT;
1724 *message = init_value;
1725}
1726size_t ctrl_msg__resp__config_heartbeat__get_packed_size
1727 (const CtrlMsgRespConfigHeartbeat *message)
1728{
1729 assert(message->base.descriptor == &ctrl_msg__resp__config_heartbeat__descriptor);
1730 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1731}
1732size_t ctrl_msg__resp__config_heartbeat__pack
1733 (const CtrlMsgRespConfigHeartbeat *message,
1734 uint8_t *out)
1735{
1736 assert(message->base.descriptor == &ctrl_msg__resp__config_heartbeat__descriptor);
1737 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1738}
1739size_t ctrl_msg__resp__config_heartbeat__pack_to_buffer
1740 (const CtrlMsgRespConfigHeartbeat *message,
1741 ProtobufCBuffer *buffer)
1742{
1743 assert(message->base.descriptor == &ctrl_msg__resp__config_heartbeat__descriptor);
1744 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1745}
1746CtrlMsgRespConfigHeartbeat *
1747 ctrl_msg__resp__config_heartbeat__unpack
1748 (ProtobufCAllocator *allocator,
1749 size_t len,
1750 const uint8_t *data)
1751{
1752 return (CtrlMsgRespConfigHeartbeat *)
1753 protobuf_c_message_unpack (&ctrl_msg__resp__config_heartbeat__descriptor,
1754 allocator, len, data);
1755}
1756void ctrl_msg__resp__config_heartbeat__free_unpacked
1757 (CtrlMsgRespConfigHeartbeat *message,
1758 ProtobufCAllocator *allocator)
1759{
1760 if(!message)
1761 return;
1762 assert(message->base.descriptor == &ctrl_msg__resp__config_heartbeat__descriptor);
1763 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1764}
1765void ctrl_msg__event__espinit__init
1766 (CtrlMsgEventESPInit *message)
1767{
1768 static const CtrlMsgEventESPInit init_value = CTRL_MSG__EVENT__ESPINIT__INIT;
1769 *message = init_value;
1770}
1771size_t ctrl_msg__event__espinit__get_packed_size
1772 (const CtrlMsgEventESPInit *message)
1773{
1774 assert(message->base.descriptor == &ctrl_msg__event__espinit__descriptor);
1775 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1776}
1777size_t ctrl_msg__event__espinit__pack
1778 (const CtrlMsgEventESPInit *message,
1779 uint8_t *out)
1780{
1781 assert(message->base.descriptor == &ctrl_msg__event__espinit__descriptor);
1782 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1783}
1784size_t ctrl_msg__event__espinit__pack_to_buffer
1785 (const CtrlMsgEventESPInit *message,
1786 ProtobufCBuffer *buffer)
1787{
1788 assert(message->base.descriptor == &ctrl_msg__event__espinit__descriptor);
1789 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1790}
1791CtrlMsgEventESPInit *
1792 ctrl_msg__event__espinit__unpack
1793 (ProtobufCAllocator *allocator,
1794 size_t len,
1795 const uint8_t *data)
1796{
1797 return (CtrlMsgEventESPInit *)
1798 protobuf_c_message_unpack (&ctrl_msg__event__espinit__descriptor,
1799 allocator, len, data);
1800}
1801void ctrl_msg__event__espinit__free_unpacked
1802 (CtrlMsgEventESPInit *message,
1803 ProtobufCAllocator *allocator)
1804{
1805 if(!message)
1806 return;
1807 assert(message->base.descriptor == &ctrl_msg__event__espinit__descriptor);
1808 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1809}
1810void ctrl_msg__event__heartbeat__init
1811 (CtrlMsgEventHeartbeat *message)
1812{
1813 static const CtrlMsgEventHeartbeat init_value = CTRL_MSG__EVENT__HEARTBEAT__INIT;
1814 *message = init_value;
1815}
1816size_t ctrl_msg__event__heartbeat__get_packed_size
1817 (const CtrlMsgEventHeartbeat *message)
1818{
1819 assert(message->base.descriptor == &ctrl_msg__event__heartbeat__descriptor);
1820 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1821}
1822size_t ctrl_msg__event__heartbeat__pack
1823 (const CtrlMsgEventHeartbeat *message,
1824 uint8_t *out)
1825{
1826 assert(message->base.descriptor == &ctrl_msg__event__heartbeat__descriptor);
1827 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1828}
1829size_t ctrl_msg__event__heartbeat__pack_to_buffer
1830 (const CtrlMsgEventHeartbeat *message,
1831 ProtobufCBuffer *buffer)
1832{
1833 assert(message->base.descriptor == &ctrl_msg__event__heartbeat__descriptor);
1834 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1835}
1836CtrlMsgEventHeartbeat *
1837 ctrl_msg__event__heartbeat__unpack
1838 (ProtobufCAllocator *allocator,
1839 size_t len,
1840 const uint8_t *data)
1841{
1842 return (CtrlMsgEventHeartbeat *)
1843 protobuf_c_message_unpack (&ctrl_msg__event__heartbeat__descriptor,
1844 allocator, len, data);
1845}
1846void ctrl_msg__event__heartbeat__free_unpacked
1847 (CtrlMsgEventHeartbeat *message,
1848 ProtobufCAllocator *allocator)
1849{
1850 if(!message)
1851 return;
1852 assert(message->base.descriptor == &ctrl_msg__event__heartbeat__descriptor);
1853 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1854}
1855void ctrl_msg__event__station_disconnect_from_ap__init
1856 (CtrlMsgEventStationDisconnectFromAP *message)
1857{
1858 static const CtrlMsgEventStationDisconnectFromAP init_value = CTRL_MSG__EVENT__STATION_DISCONNECT_FROM_AP__INIT;
1859 *message = init_value;
1860}
1861size_t ctrl_msg__event__station_disconnect_from_ap__get_packed_size
1862 (const CtrlMsgEventStationDisconnectFromAP *message)
1863{
1864 assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_ap__descriptor);
1865 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1866}
1867size_t ctrl_msg__event__station_disconnect_from_ap__pack
1868 (const CtrlMsgEventStationDisconnectFromAP *message,
1869 uint8_t *out)
1870{
1871 assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_ap__descriptor);
1872 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1873}
1874size_t ctrl_msg__event__station_disconnect_from_ap__pack_to_buffer
1875 (const CtrlMsgEventStationDisconnectFromAP *message,
1876 ProtobufCBuffer *buffer)
1877{
1878 assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_ap__descriptor);
1879 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1880}
1881CtrlMsgEventStationDisconnectFromAP *
1882 ctrl_msg__event__station_disconnect_from_ap__unpack
1883 (ProtobufCAllocator *allocator,
1884 size_t len,
1885 const uint8_t *data)
1886{
1887 return (CtrlMsgEventStationDisconnectFromAP *)
1888 protobuf_c_message_unpack (&ctrl_msg__event__station_disconnect_from_ap__descriptor,
1889 allocator, len, data);
1890}
1891void ctrl_msg__event__station_disconnect_from_ap__free_unpacked
1892 (CtrlMsgEventStationDisconnectFromAP *message,
1893 ProtobufCAllocator *allocator)
1894{
1895 if(!message)
1896 return;
1897 assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_ap__descriptor);
1898 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1899}
1900void ctrl_msg__event__station_disconnect_from_espsoft_ap__init
1901 (CtrlMsgEventStationDisconnectFromESPSoftAP *message)
1902{
1903 static const CtrlMsgEventStationDisconnectFromESPSoftAP init_value = CTRL_MSG__EVENT__STATION_DISCONNECT_FROM_ESPSOFT_AP__INIT;
1904 *message = init_value;
1905}
1906size_t ctrl_msg__event__station_disconnect_from_espsoft_ap__get_packed_size
1907 (const CtrlMsgEventStationDisconnectFromESPSoftAP *message)
1908{
1909 assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor);
1910 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1911}
1912size_t ctrl_msg__event__station_disconnect_from_espsoft_ap__pack
1913 (const CtrlMsgEventStationDisconnectFromESPSoftAP *message,
1914 uint8_t *out)
1915{
1916 assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor);
1917 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1918}
1919size_t ctrl_msg__event__station_disconnect_from_espsoft_ap__pack_to_buffer
1920 (const CtrlMsgEventStationDisconnectFromESPSoftAP *message,
1921 ProtobufCBuffer *buffer)
1922{
1923 assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor);
1924 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1925}
1926CtrlMsgEventStationDisconnectFromESPSoftAP *
1927 ctrl_msg__event__station_disconnect_from_espsoft_ap__unpack
1928 (ProtobufCAllocator *allocator,
1929 size_t len,
1930 const uint8_t *data)
1931{
1932 return (CtrlMsgEventStationDisconnectFromESPSoftAP *)
1933 protobuf_c_message_unpack (&ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor,
1934 allocator, len, data);
1935}
1936void ctrl_msg__event__station_disconnect_from_espsoft_ap__free_unpacked
1937 (CtrlMsgEventStationDisconnectFromESPSoftAP *message,
1938 ProtobufCAllocator *allocator)
1939{
1940 if(!message)
1941 return;
1942 assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor);
1943 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1944}
1945void ctrl_msg__init
1946 (CtrlMsg *message)
1947{
1948 static const CtrlMsg init_value = CTRL_MSG__INIT;
1949 *message = init_value;
1950}
1951size_t ctrl_msg__get_packed_size
1952 (const CtrlMsg *message)
1953{
1954 assert(message->base.descriptor == &ctrl_msg__descriptor);
1955 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
1956}
1957size_t ctrl_msg__pack
1958 (const CtrlMsg *message,
1959 uint8_t *out)
1960{
1961 assert(message->base.descriptor == &ctrl_msg__descriptor);
1962 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
1963}
1964size_t ctrl_msg__pack_to_buffer
1965 (const CtrlMsg *message,
1966 ProtobufCBuffer *buffer)
1967{
1968 assert(message->base.descriptor == &ctrl_msg__descriptor);
1969 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
1970}
1971CtrlMsg *
1972 ctrl_msg__unpack
1973 (ProtobufCAllocator *allocator,
1974 size_t len,
1975 const uint8_t *data)
1976{
1977 return (CtrlMsg *)
1978 protobuf_c_message_unpack (&ctrl_msg__descriptor,
1979 allocator, len, data);
1980}
1981void ctrl_msg__free_unpacked
1982 (CtrlMsg *message,
1983 ProtobufCAllocator *allocator)
1984{
1985 if(!message)
1986 return;
1987 assert(message->base.descriptor == &ctrl_msg__descriptor);
1988 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
1989}
1990static const ProtobufCFieldDescriptor scan_result__field_descriptors[5] =
1991{
1992 {
1993 "ssid",
1994 1,
1995 PROTOBUF_C_LABEL_NONE,
1996 PROTOBUF_C_TYPE_BYTES,
1997 0, /* quantifier_offset */
1998 offsetof(ScanResult, ssid),
1999 NULL,
2000 NULL,
2001 0, /* flags */
2002 0,NULL,NULL /* reserved1,reserved2, etc */
2003 },
2004 {
2005 "chnl",
2006 2,
2007 PROTOBUF_C_LABEL_NONE,
2008 PROTOBUF_C_TYPE_UINT32,
2009 0, /* quantifier_offset */
2010 offsetof(ScanResult, chnl),
2011 NULL,
2012 NULL,
2013 0, /* flags */
2014 0,NULL,NULL /* reserved1,reserved2, etc */
2015 },
2016 {
2017 "rssi",
2018 3,
2019 PROTOBUF_C_LABEL_NONE,
2020 PROTOBUF_C_TYPE_INT32,
2021 0, /* quantifier_offset */
2022 offsetof(ScanResult, rssi),
2023 NULL,
2024 NULL,
2025 0, /* flags */
2026 0,NULL,NULL /* reserved1,reserved2, etc */
2027 },
2028 {
2029 "bssid",
2030 4,
2031 PROTOBUF_C_LABEL_NONE,
2032 PROTOBUF_C_TYPE_BYTES,
2033 0, /* quantifier_offset */
2034 offsetof(ScanResult, bssid),
2035 NULL,
2036 NULL,
2037 0, /* flags */
2038 0,NULL,NULL /* reserved1,reserved2, etc */
2039 },
2040 {
2041 "sec_prot",
2042 5,
2043 PROTOBUF_C_LABEL_NONE,
2044 PROTOBUF_C_TYPE_ENUM,
2045 0, /* quantifier_offset */
2046 offsetof(ScanResult, sec_prot),
2047 &ctrl__wifi_sec_prot__descriptor,
2048 NULL,
2049 0, /* flags */
2050 0,NULL,NULL /* reserved1,reserved2, etc */
2051 },
2052};
2053static const unsigned scan_result__field_indices_by_name[] = {
2054 3, /* field[3] = bssid */
2055 1, /* field[1] = chnl */
2056 2, /* field[2] = rssi */
2057 4, /* field[4] = sec_prot */
2058 0, /* field[0] = ssid */
2059};
2060static const ProtobufCIntRange scan_result__number_ranges[1 + 1] =
2061{
2062 { 1, 0 },
2063 { 0, 5 }
2064};
2065const ProtobufCMessageDescriptor scan_result__descriptor =
2066{
2067 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2068 "ScanResult",
2069 "ScanResult",
2070 "ScanResult",
2071 "",
2072 sizeof(ScanResult),
2073 5,
2074 scan_result__field_descriptors,
2075 scan_result__field_indices_by_name,
2076 1, scan_result__number_ranges,
2077 (ProtobufCMessageInit) scan_result__init,
2078 NULL,NULL,NULL /* reserved[123] */
2079};
2080static const ProtobufCFieldDescriptor connected_stalist__field_descriptors[2] =
2081{
2082 {
2083 "mac",
2084 1,
2085 PROTOBUF_C_LABEL_NONE,
2086 PROTOBUF_C_TYPE_BYTES,
2087 0, /* quantifier_offset */
2088 offsetof(ConnectedSTAList, mac),
2089 NULL,
2090 NULL,
2091 0, /* flags */
2092 0,NULL,NULL /* reserved1,reserved2, etc */
2093 },
2094 {
2095 "rssi",
2096 2,
2097 PROTOBUF_C_LABEL_NONE,
2098 PROTOBUF_C_TYPE_INT32,
2099 0, /* quantifier_offset */
2100 offsetof(ConnectedSTAList, rssi),
2101 NULL,
2102 NULL,
2103 0, /* flags */
2104 0,NULL,NULL /* reserved1,reserved2, etc */
2105 },
2106};
2107static const unsigned connected_stalist__field_indices_by_name[] = {
2108 0, /* field[0] = mac */
2109 1, /* field[1] = rssi */
2110};
2111static const ProtobufCIntRange connected_stalist__number_ranges[1 + 1] =
2112{
2113 { 1, 0 },
2114 { 0, 2 }
2115};
2116const ProtobufCMessageDescriptor connected_stalist__descriptor =
2117{
2118 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2119 "ConnectedSTAList",
2120 "ConnectedSTAList",
2121 "ConnectedSTAList",
2122 "",
2123 sizeof(ConnectedSTAList),
2124 2,
2125 connected_stalist__field_descriptors,
2126 connected_stalist__field_indices_by_name,
2127 1, connected_stalist__number_ranges,
2128 (ProtobufCMessageInit) connected_stalist__init,
2129 NULL,NULL,NULL /* reserved[123] */
2130};
2131static const ProtobufCFieldDescriptor ctrl_msg__req__get_mac_address__field_descriptors[1] =
2132{
2133 {
2134 "mode",
2135 1,
2136 PROTOBUF_C_LABEL_NONE,
2137 PROTOBUF_C_TYPE_INT32,
2138 0, /* quantifier_offset */
2139 offsetof(CtrlMsgReqGetMacAddress, mode),
2140 NULL,
2141 NULL,
2142 0, /* flags */
2143 0,NULL,NULL /* reserved1,reserved2, etc */
2144 },
2145};
2146static const unsigned ctrl_msg__req__get_mac_address__field_indices_by_name[] = {
2147 0, /* field[0] = mode */
2148};
2149static const ProtobufCIntRange ctrl_msg__req__get_mac_address__number_ranges[1 + 1] =
2150{
2151 { 1, 0 },
2152 { 0, 1 }
2153};
2154const ProtobufCMessageDescriptor ctrl_msg__req__get_mac_address__descriptor =
2155{
2156 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2157 "CtrlMsg_Req_GetMacAddress",
2158 "CtrlMsgReqGetMacAddress",
2159 "CtrlMsgReqGetMacAddress",
2160 "",
2161 sizeof(CtrlMsgReqGetMacAddress),
2162 1,
2163 ctrl_msg__req__get_mac_address__field_descriptors,
2164 ctrl_msg__req__get_mac_address__field_indices_by_name,
2165 1, ctrl_msg__req__get_mac_address__number_ranges,
2166 (ProtobufCMessageInit) ctrl_msg__req__get_mac_address__init,
2167 NULL,NULL,NULL /* reserved[123] */
2168};
2169static const ProtobufCFieldDescriptor ctrl_msg__resp__get_mac_address__field_descriptors[2] =
2170{
2171 {
2172 "mac",
2173 1,
2174 PROTOBUF_C_LABEL_NONE,
2175 PROTOBUF_C_TYPE_BYTES,
2176 0, /* quantifier_offset */
2177 offsetof(CtrlMsgRespGetMacAddress, mac),
2178 NULL,
2179 NULL,
2180 0, /* flags */
2181 0,NULL,NULL /* reserved1,reserved2, etc */
2182 },
2183 {
2184 "resp",
2185 2,
2186 PROTOBUF_C_LABEL_NONE,
2187 PROTOBUF_C_TYPE_INT32,
2188 0, /* quantifier_offset */
2189 offsetof(CtrlMsgRespGetMacAddress, resp),
2190 NULL,
2191 NULL,
2192 0, /* flags */
2193 0,NULL,NULL /* reserved1,reserved2, etc */
2194 },
2195};
2196static const unsigned ctrl_msg__resp__get_mac_address__field_indices_by_name[] = {
2197 0, /* field[0] = mac */
2198 1, /* field[1] = resp */
2199};
2200static const ProtobufCIntRange ctrl_msg__resp__get_mac_address__number_ranges[1 + 1] =
2201{
2202 { 1, 0 },
2203 { 0, 2 }
2204};
2205const ProtobufCMessageDescriptor ctrl_msg__resp__get_mac_address__descriptor =
2206{
2207 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2208 "CtrlMsg_Resp_GetMacAddress",
2209 "CtrlMsgRespGetMacAddress",
2210 "CtrlMsgRespGetMacAddress",
2211 "",
2212 sizeof(CtrlMsgRespGetMacAddress),
2213 2,
2214 ctrl_msg__resp__get_mac_address__field_descriptors,
2215 ctrl_msg__resp__get_mac_address__field_indices_by_name,
2216 1, ctrl_msg__resp__get_mac_address__number_ranges,
2217 (ProtobufCMessageInit) ctrl_msg__resp__get_mac_address__init,
2218 NULL,NULL,NULL /* reserved[123] */
2219};
2220#define ctrl_msg__req__get_mode__field_descriptors NULL
2221#define ctrl_msg__req__get_mode__field_indices_by_name NULL
2222#define ctrl_msg__req__get_mode__number_ranges NULL
2223const ProtobufCMessageDescriptor ctrl_msg__req__get_mode__descriptor =
2224{
2225 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2226 "CtrlMsg_Req_GetMode",
2227 "CtrlMsgReqGetMode",
2228 "CtrlMsgReqGetMode",
2229 "",
2230 sizeof(CtrlMsgReqGetMode),
2231 0,
2232 ctrl_msg__req__get_mode__field_descriptors,
2233 ctrl_msg__req__get_mode__field_indices_by_name,
2234 0, ctrl_msg__req__get_mode__number_ranges,
2235 (ProtobufCMessageInit) ctrl_msg__req__get_mode__init,
2236 NULL,NULL,NULL /* reserved[123] */
2237};
2238static const ProtobufCFieldDescriptor ctrl_msg__resp__get_mode__field_descriptors[2] =
2239{
2240 {
2241 "mode",
2242 1,
2243 PROTOBUF_C_LABEL_NONE,
2244 PROTOBUF_C_TYPE_INT32,
2245 0, /* quantifier_offset */
2246 offsetof(CtrlMsgRespGetMode, mode),
2247 NULL,
2248 NULL,
2249 0, /* flags */
2250 0,NULL,NULL /* reserved1,reserved2, etc */
2251 },
2252 {
2253 "resp",
2254 2,
2255 PROTOBUF_C_LABEL_NONE,
2256 PROTOBUF_C_TYPE_INT32,
2257 0, /* quantifier_offset */
2258 offsetof(CtrlMsgRespGetMode, resp),
2259 NULL,
2260 NULL,
2261 0, /* flags */
2262 0,NULL,NULL /* reserved1,reserved2, etc */
2263 },
2264};
2265static const unsigned ctrl_msg__resp__get_mode__field_indices_by_name[] = {
2266 0, /* field[0] = mode */
2267 1, /* field[1] = resp */
2268};
2269static const ProtobufCIntRange ctrl_msg__resp__get_mode__number_ranges[1 + 1] =
2270{
2271 { 1, 0 },
2272 { 0, 2 }
2273};
2274const ProtobufCMessageDescriptor ctrl_msg__resp__get_mode__descriptor =
2275{
2276 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2277 "CtrlMsg_Resp_GetMode",
2278 "CtrlMsgRespGetMode",
2279 "CtrlMsgRespGetMode",
2280 "",
2281 sizeof(CtrlMsgRespGetMode),
2282 2,
2283 ctrl_msg__resp__get_mode__field_descriptors,
2284 ctrl_msg__resp__get_mode__field_indices_by_name,
2285 1, ctrl_msg__resp__get_mode__number_ranges,
2286 (ProtobufCMessageInit) ctrl_msg__resp__get_mode__init,
2287 NULL,NULL,NULL /* reserved[123] */
2288};
2289static const ProtobufCFieldDescriptor ctrl_msg__req__set_mode__field_descriptors[1] =
2290{
2291 {
2292 "mode",
2293 1,
2294 PROTOBUF_C_LABEL_NONE,
2295 PROTOBUF_C_TYPE_INT32,
2296 0, /* quantifier_offset */
2297 offsetof(CtrlMsgReqSetMode, mode),
2298 NULL,
2299 NULL,
2300 0, /* flags */
2301 0,NULL,NULL /* reserved1,reserved2, etc */
2302 },
2303};
2304static const unsigned ctrl_msg__req__set_mode__field_indices_by_name[] = {
2305 0, /* field[0] = mode */
2306};
2307static const ProtobufCIntRange ctrl_msg__req__set_mode__number_ranges[1 + 1] =
2308{
2309 { 1, 0 },
2310 { 0, 1 }
2311};
2312const ProtobufCMessageDescriptor ctrl_msg__req__set_mode__descriptor =
2313{
2314 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2315 "CtrlMsg_Req_SetMode",
2316 "CtrlMsgReqSetMode",
2317 "CtrlMsgReqSetMode",
2318 "",
2319 sizeof(CtrlMsgReqSetMode),
2320 1,
2321 ctrl_msg__req__set_mode__field_descriptors,
2322 ctrl_msg__req__set_mode__field_indices_by_name,
2323 1, ctrl_msg__req__set_mode__number_ranges,
2324 (ProtobufCMessageInit) ctrl_msg__req__set_mode__init,
2325 NULL,NULL,NULL /* reserved[123] */
2326};
2327static const ProtobufCFieldDescriptor ctrl_msg__resp__set_mode__field_descriptors[1] =
2328{
2329 {
2330 "resp",
2331 1,
2332 PROTOBUF_C_LABEL_NONE,
2333 PROTOBUF_C_TYPE_INT32,
2334 0, /* quantifier_offset */
2335 offsetof(CtrlMsgRespSetMode, resp),
2336 NULL,
2337 NULL,
2338 0, /* flags */
2339 0,NULL,NULL /* reserved1,reserved2, etc */
2340 },
2341};
2342static const unsigned ctrl_msg__resp__set_mode__field_indices_by_name[] = {
2343 0, /* field[0] = resp */
2344};
2345static const ProtobufCIntRange ctrl_msg__resp__set_mode__number_ranges[1 + 1] =
2346{
2347 { 1, 0 },
2348 { 0, 1 }
2349};
2350const ProtobufCMessageDescriptor ctrl_msg__resp__set_mode__descriptor =
2351{
2352 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2353 "CtrlMsg_Resp_SetMode",
2354 "CtrlMsgRespSetMode",
2355 "CtrlMsgRespSetMode",
2356 "",
2357 sizeof(CtrlMsgRespSetMode),
2358 1,
2359 ctrl_msg__resp__set_mode__field_descriptors,
2360 ctrl_msg__resp__set_mode__field_indices_by_name,
2361 1, ctrl_msg__resp__set_mode__number_ranges,
2362 (ProtobufCMessageInit) ctrl_msg__resp__set_mode__init,
2363 NULL,NULL,NULL /* reserved[123] */
2364};
2365#define ctrl_msg__req__get_status__field_descriptors NULL
2366#define ctrl_msg__req__get_status__field_indices_by_name NULL
2367#define ctrl_msg__req__get_status__number_ranges NULL
2368const ProtobufCMessageDescriptor ctrl_msg__req__get_status__descriptor =
2369{
2370 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2371 "CtrlMsg_Req_GetStatus",
2372 "CtrlMsgReqGetStatus",
2373 "CtrlMsgReqGetStatus",
2374 "",
2375 sizeof(CtrlMsgReqGetStatus),
2376 0,
2377 ctrl_msg__req__get_status__field_descriptors,
2378 ctrl_msg__req__get_status__field_indices_by_name,
2379 0, ctrl_msg__req__get_status__number_ranges,
2380 (ProtobufCMessageInit) ctrl_msg__req__get_status__init,
2381 NULL,NULL,NULL /* reserved[123] */
2382};
2383static const ProtobufCFieldDescriptor ctrl_msg__resp__get_status__field_descriptors[1] =
2384{
2385 {
2386 "resp",
2387 1,
2388 PROTOBUF_C_LABEL_NONE,
2389 PROTOBUF_C_TYPE_INT32,
2390 0, /* quantifier_offset */
2391 offsetof(CtrlMsgRespGetStatus, resp),
2392 NULL,
2393 NULL,
2394 0, /* flags */
2395 0,NULL,NULL /* reserved1,reserved2, etc */
2396 },
2397};
2398static const unsigned ctrl_msg__resp__get_status__field_indices_by_name[] = {
2399 0, /* field[0] = resp */
2400};
2401static const ProtobufCIntRange ctrl_msg__resp__get_status__number_ranges[1 + 1] =
2402{
2403 { 1, 0 },
2404 { 0, 1 }
2405};
2406const ProtobufCMessageDescriptor ctrl_msg__resp__get_status__descriptor =
2407{
2408 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2409 "CtrlMsg_Resp_GetStatus",
2410 "CtrlMsgRespGetStatus",
2411 "CtrlMsgRespGetStatus",
2412 "",
2413 sizeof(CtrlMsgRespGetStatus),
2414 1,
2415 ctrl_msg__resp__get_status__field_descriptors,
2416 ctrl_msg__resp__get_status__field_indices_by_name,
2417 1, ctrl_msg__resp__get_status__number_ranges,
2418 (ProtobufCMessageInit) ctrl_msg__resp__get_status__init,
2419 NULL,NULL,NULL /* reserved[123] */
2420};
2421static const ProtobufCFieldDescriptor ctrl_msg__req__set_mac_address__field_descriptors[2] =
2422{
2423 {
2424 "mac",
2425 1,
2426 PROTOBUF_C_LABEL_NONE,
2427 PROTOBUF_C_TYPE_BYTES,
2428 0, /* quantifier_offset */
2429 offsetof(CtrlMsgReqSetMacAddress, mac),
2430 NULL,
2431 NULL,
2432 0, /* flags */
2433 0,NULL,NULL /* reserved1,reserved2, etc */
2434 },
2435 {
2436 "mode",
2437 2,
2438 PROTOBUF_C_LABEL_NONE,
2439 PROTOBUF_C_TYPE_INT32,
2440 0, /* quantifier_offset */
2441 offsetof(CtrlMsgReqSetMacAddress, mode),
2442 NULL,
2443 NULL,
2444 0, /* flags */
2445 0,NULL,NULL /* reserved1,reserved2, etc */
2446 },
2447};
2448static const unsigned ctrl_msg__req__set_mac_address__field_indices_by_name[] = {
2449 0, /* field[0] = mac */
2450 1, /* field[1] = mode */
2451};
2452static const ProtobufCIntRange ctrl_msg__req__set_mac_address__number_ranges[1 + 1] =
2453{
2454 { 1, 0 },
2455 { 0, 2 }
2456};
2457const ProtobufCMessageDescriptor ctrl_msg__req__set_mac_address__descriptor =
2458{
2459 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2460 "CtrlMsg_Req_SetMacAddress",
2461 "CtrlMsgReqSetMacAddress",
2462 "CtrlMsgReqSetMacAddress",
2463 "",
2464 sizeof(CtrlMsgReqSetMacAddress),
2465 2,
2466 ctrl_msg__req__set_mac_address__field_descriptors,
2467 ctrl_msg__req__set_mac_address__field_indices_by_name,
2468 1, ctrl_msg__req__set_mac_address__number_ranges,
2469 (ProtobufCMessageInit) ctrl_msg__req__set_mac_address__init,
2470 NULL,NULL,NULL /* reserved[123] */
2471};
2472static const ProtobufCFieldDescriptor ctrl_msg__resp__set_mac_address__field_descriptors[1] =
2473{
2474 {
2475 "resp",
2476 1,
2477 PROTOBUF_C_LABEL_NONE,
2478 PROTOBUF_C_TYPE_INT32,
2479 0, /* quantifier_offset */
2480 offsetof(CtrlMsgRespSetMacAddress, resp),
2481 NULL,
2482 NULL,
2483 0, /* flags */
2484 0,NULL,NULL /* reserved1,reserved2, etc */
2485 },
2486};
2487static const unsigned ctrl_msg__resp__set_mac_address__field_indices_by_name[] = {
2488 0, /* field[0] = resp */
2489};
2490static const ProtobufCIntRange ctrl_msg__resp__set_mac_address__number_ranges[1 + 1] =
2491{
2492 { 1, 0 },
2493 { 0, 1 }
2494};
2495const ProtobufCMessageDescriptor ctrl_msg__resp__set_mac_address__descriptor =
2496{
2497 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2498 "CtrlMsg_Resp_SetMacAddress",
2499 "CtrlMsgRespSetMacAddress",
2500 "CtrlMsgRespSetMacAddress",
2501 "",
2502 sizeof(CtrlMsgRespSetMacAddress),
2503 1,
2504 ctrl_msg__resp__set_mac_address__field_descriptors,
2505 ctrl_msg__resp__set_mac_address__field_indices_by_name,
2506 1, ctrl_msg__resp__set_mac_address__number_ranges,
2507 (ProtobufCMessageInit) ctrl_msg__resp__set_mac_address__init,
2508 NULL,NULL,NULL /* reserved[123] */
2509};
2510#define ctrl_msg__req__get_apconfig__field_descriptors NULL
2511#define ctrl_msg__req__get_apconfig__field_indices_by_name NULL
2512#define ctrl_msg__req__get_apconfig__number_ranges NULL
2513const ProtobufCMessageDescriptor ctrl_msg__req__get_apconfig__descriptor =
2514{
2515 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2516 "CtrlMsg_Req_GetAPConfig",
2517 "CtrlMsgReqGetAPConfig",
2518 "CtrlMsgReqGetAPConfig",
2519 "",
2520 sizeof(CtrlMsgReqGetAPConfig),
2521 0,
2522 ctrl_msg__req__get_apconfig__field_descriptors,
2523 ctrl_msg__req__get_apconfig__field_indices_by_name,
2524 0, ctrl_msg__req__get_apconfig__number_ranges,
2525 (ProtobufCMessageInit) ctrl_msg__req__get_apconfig__init,
2526 NULL,NULL,NULL /* reserved[123] */
2527};
2528static const ProtobufCFieldDescriptor ctrl_msg__resp__get_apconfig__field_descriptors[6] =
2529{
2530 {
2531 "ssid",
2532 1,
2533 PROTOBUF_C_LABEL_NONE,
2534 PROTOBUF_C_TYPE_BYTES,
2535 0, /* quantifier_offset */
2536 offsetof(CtrlMsgRespGetAPConfig, ssid),
2537 NULL,
2538 NULL,
2539 0, /* flags */
2540 0,NULL,NULL /* reserved1,reserved2, etc */
2541 },
2542 {
2543 "bssid",
2544 2,
2545 PROTOBUF_C_LABEL_NONE,
2546 PROTOBUF_C_TYPE_BYTES,
2547 0, /* quantifier_offset */
2548 offsetof(CtrlMsgRespGetAPConfig, bssid),
2549 NULL,
2550 NULL,
2551 0, /* flags */
2552 0,NULL,NULL /* reserved1,reserved2, etc */
2553 },
2554 {
2555 "rssi",
2556 3,
2557 PROTOBUF_C_LABEL_NONE,
2558 PROTOBUF_C_TYPE_INT32,
2559 0, /* quantifier_offset */
2560 offsetof(CtrlMsgRespGetAPConfig, rssi),
2561 NULL,
2562 NULL,
2563 0, /* flags */
2564 0,NULL,NULL /* reserved1,reserved2, etc */
2565 },
2566 {
2567 "chnl",
2568 4,
2569 PROTOBUF_C_LABEL_NONE,
2570 PROTOBUF_C_TYPE_INT32,
2571 0, /* quantifier_offset */
2572 offsetof(CtrlMsgRespGetAPConfig, chnl),
2573 NULL,
2574 NULL,
2575 0, /* flags */
2576 0,NULL,NULL /* reserved1,reserved2, etc */
2577 },
2578 {
2579 "sec_prot",
2580 5,
2581 PROTOBUF_C_LABEL_NONE,
2582 PROTOBUF_C_TYPE_ENUM,
2583 0, /* quantifier_offset */
2584 offsetof(CtrlMsgRespGetAPConfig, sec_prot),
2585 &ctrl__wifi_sec_prot__descriptor,
2586 NULL,
2587 0, /* flags */
2588 0,NULL,NULL /* reserved1,reserved2, etc */
2589 },
2590 {
2591 "resp",
2592 6,
2593 PROTOBUF_C_LABEL_NONE,
2594 PROTOBUF_C_TYPE_INT32,
2595 0, /* quantifier_offset */
2596 offsetof(CtrlMsgRespGetAPConfig, resp),
2597 NULL,
2598 NULL,
2599 0, /* flags */
2600 0,NULL,NULL /* reserved1,reserved2, etc */
2601 },
2602};
2603static const unsigned ctrl_msg__resp__get_apconfig__field_indices_by_name[] = {
2604 1, /* field[1] = bssid */
2605 3, /* field[3] = chnl */
2606 5, /* field[5] = resp */
2607 2, /* field[2] = rssi */
2608 4, /* field[4] = sec_prot */
2609 0, /* field[0] = ssid */
2610};
2611static const ProtobufCIntRange ctrl_msg__resp__get_apconfig__number_ranges[1 + 1] =
2612{
2613 { 1, 0 },
2614 { 0, 6 }
2615};
2616const ProtobufCMessageDescriptor ctrl_msg__resp__get_apconfig__descriptor =
2617{
2618 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2619 "CtrlMsg_Resp_GetAPConfig",
2620 "CtrlMsgRespGetAPConfig",
2621 "CtrlMsgRespGetAPConfig",
2622 "",
2623 sizeof(CtrlMsgRespGetAPConfig),
2624 6,
2625 ctrl_msg__resp__get_apconfig__field_descriptors,
2626 ctrl_msg__resp__get_apconfig__field_indices_by_name,
2627 1, ctrl_msg__resp__get_apconfig__number_ranges,
2628 (ProtobufCMessageInit) ctrl_msg__resp__get_apconfig__init,
2629 NULL,NULL,NULL /* reserved[123] */
2630};
2631static const ProtobufCFieldDescriptor ctrl_msg__req__connect_ap__field_descriptors[5] =
2632{
2633 {
2634 "ssid",
2635 1,
2636 PROTOBUF_C_LABEL_NONE,
2637 PROTOBUF_C_TYPE_STRING,
2638 0, /* quantifier_offset */
2639 offsetof(CtrlMsgReqConnectAP, ssid),
2640 NULL,
2641 &protobuf_c_empty_string,
2642 0, /* flags */
2643 0,NULL,NULL /* reserved1,reserved2, etc */
2644 },
2645 {
2646 "pwd",
2647 2,
2648 PROTOBUF_C_LABEL_NONE,
2649 PROTOBUF_C_TYPE_STRING,
2650 0, /* quantifier_offset */
2651 offsetof(CtrlMsgReqConnectAP, pwd),
2652 NULL,
2653 &protobuf_c_empty_string,
2654 0, /* flags */
2655 0,NULL,NULL /* reserved1,reserved2, etc */
2656 },
2657 {
2658 "bssid",
2659 3,
2660 PROTOBUF_C_LABEL_NONE,
2661 PROTOBUF_C_TYPE_STRING,
2662 0, /* quantifier_offset */
2663 offsetof(CtrlMsgReqConnectAP, bssid),
2664 NULL,
2665 &protobuf_c_empty_string,
2666 0, /* flags */
2667 0,NULL,NULL /* reserved1,reserved2, etc */
2668 },
2669 {
2670 "is_wpa3_supported",
2671 4,
2672 PROTOBUF_C_LABEL_NONE,
2673 PROTOBUF_C_TYPE_BOOL,
2674 0, /* quantifier_offset */
2675 offsetof(CtrlMsgReqConnectAP, is_wpa3_supported),
2676 NULL,
2677 NULL,
2678 0, /* flags */
2679 0,NULL,NULL /* reserved1,reserved2, etc */
2680 },
2681 {
2682 "listen_interval",
2683 5,
2684 PROTOBUF_C_LABEL_NONE,
2685 PROTOBUF_C_TYPE_INT32,
2686 0, /* quantifier_offset */
2687 offsetof(CtrlMsgReqConnectAP, listen_interval),
2688 NULL,
2689 NULL,
2690 0, /* flags */
2691 0,NULL,NULL /* reserved1,reserved2, etc */
2692 },
2693};
2694static const unsigned ctrl_msg__req__connect_ap__field_indices_by_name[] = {
2695 2, /* field[2] = bssid */
2696 3, /* field[3] = is_wpa3_supported */
2697 4, /* field[4] = listen_interval */
2698 1, /* field[1] = pwd */
2699 0, /* field[0] = ssid */
2700};
2701static const ProtobufCIntRange ctrl_msg__req__connect_ap__number_ranges[1 + 1] =
2702{
2703 { 1, 0 },
2704 { 0, 5 }
2705};
2706const ProtobufCMessageDescriptor ctrl_msg__req__connect_ap__descriptor =
2707{
2708 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2709 "CtrlMsg_Req_ConnectAP",
2710 "CtrlMsgReqConnectAP",
2711 "CtrlMsgReqConnectAP",
2712 "",
2713 sizeof(CtrlMsgReqConnectAP),
2714 5,
2715 ctrl_msg__req__connect_ap__field_descriptors,
2716 ctrl_msg__req__connect_ap__field_indices_by_name,
2717 1, ctrl_msg__req__connect_ap__number_ranges,
2718 (ProtobufCMessageInit) ctrl_msg__req__connect_ap__init,
2719 NULL,NULL,NULL /* reserved[123] */
2720};
2721static const ProtobufCFieldDescriptor ctrl_msg__resp__connect_ap__field_descriptors[2] =
2722{
2723 {
2724 "resp",
2725 1,
2726 PROTOBUF_C_LABEL_NONE,
2727 PROTOBUF_C_TYPE_INT32,
2728 0, /* quantifier_offset */
2729 offsetof(CtrlMsgRespConnectAP, resp),
2730 NULL,
2731 NULL,
2732 0, /* flags */
2733 0,NULL,NULL /* reserved1,reserved2, etc */
2734 },
2735 {
2736 "mac",
2737 2,
2738 PROTOBUF_C_LABEL_NONE,
2739 PROTOBUF_C_TYPE_BYTES,
2740 0, /* quantifier_offset */
2741 offsetof(CtrlMsgRespConnectAP, mac),
2742 NULL,
2743 NULL,
2744 0, /* flags */
2745 0,NULL,NULL /* reserved1,reserved2, etc */
2746 },
2747};
2748static const unsigned ctrl_msg__resp__connect_ap__field_indices_by_name[] = {
2749 1, /* field[1] = mac */
2750 0, /* field[0] = resp */
2751};
2752static const ProtobufCIntRange ctrl_msg__resp__connect_ap__number_ranges[1 + 1] =
2753{
2754 { 1, 0 },
2755 { 0, 2 }
2756};
2757const ProtobufCMessageDescriptor ctrl_msg__resp__connect_ap__descriptor =
2758{
2759 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2760 "CtrlMsg_Resp_ConnectAP",
2761 "CtrlMsgRespConnectAP",
2762 "CtrlMsgRespConnectAP",
2763 "",
2764 sizeof(CtrlMsgRespConnectAP),
2765 2,
2766 ctrl_msg__resp__connect_ap__field_descriptors,
2767 ctrl_msg__resp__connect_ap__field_indices_by_name,
2768 1, ctrl_msg__resp__connect_ap__number_ranges,
2769 (ProtobufCMessageInit) ctrl_msg__resp__connect_ap__init,
2770 NULL,NULL,NULL /* reserved[123] */
2771};
2772#define ctrl_msg__req__get_soft_apconfig__field_descriptors NULL
2773#define ctrl_msg__req__get_soft_apconfig__field_indices_by_name NULL
2774#define ctrl_msg__req__get_soft_apconfig__number_ranges NULL
2775const ProtobufCMessageDescriptor ctrl_msg__req__get_soft_apconfig__descriptor =
2776{
2777 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2778 "CtrlMsg_Req_GetSoftAPConfig",
2779 "CtrlMsgReqGetSoftAPConfig",
2780 "CtrlMsgReqGetSoftAPConfig",
2781 "",
2782 sizeof(CtrlMsgReqGetSoftAPConfig),
2783 0,
2784 ctrl_msg__req__get_soft_apconfig__field_descriptors,
2785 ctrl_msg__req__get_soft_apconfig__field_indices_by_name,
2786 0, ctrl_msg__req__get_soft_apconfig__number_ranges,
2787 (ProtobufCMessageInit) ctrl_msg__req__get_soft_apconfig__init,
2788 NULL,NULL,NULL /* reserved[123] */
2789};
2790static const ProtobufCFieldDescriptor ctrl_msg__resp__get_soft_apconfig__field_descriptors[8] =
2791{
2792 {
2793 "ssid",
2794 1,
2795 PROTOBUF_C_LABEL_NONE,
2796 PROTOBUF_C_TYPE_BYTES,
2797 0, /* quantifier_offset */
2798 offsetof(CtrlMsgRespGetSoftAPConfig, ssid),
2799 NULL,
2800 NULL,
2801 0, /* flags */
2802 0,NULL,NULL /* reserved1,reserved2, etc */
2803 },
2804 {
2805 "pwd",
2806 2,
2807 PROTOBUF_C_LABEL_NONE,
2808 PROTOBUF_C_TYPE_BYTES,
2809 0, /* quantifier_offset */
2810 offsetof(CtrlMsgRespGetSoftAPConfig, pwd),
2811 NULL,
2812 NULL,
2813 0, /* flags */
2814 0,NULL,NULL /* reserved1,reserved2, etc */
2815 },
2816 {
2817 "chnl",
2818 3,
2819 PROTOBUF_C_LABEL_NONE,
2820 PROTOBUF_C_TYPE_INT32,
2821 0, /* quantifier_offset */
2822 offsetof(CtrlMsgRespGetSoftAPConfig, chnl),
2823 NULL,
2824 NULL,
2825 0, /* flags */
2826 0,NULL,NULL /* reserved1,reserved2, etc */
2827 },
2828 {
2829 "sec_prot",
2830 4,
2831 PROTOBUF_C_LABEL_NONE,
2832 PROTOBUF_C_TYPE_ENUM,
2833 0, /* quantifier_offset */
2834 offsetof(CtrlMsgRespGetSoftAPConfig, sec_prot),
2835 &ctrl__wifi_sec_prot__descriptor,
2836 NULL,
2837 0, /* flags */
2838 0,NULL,NULL /* reserved1,reserved2, etc */
2839 },
2840 {
2841 "max_conn",
2842 5,
2843 PROTOBUF_C_LABEL_NONE,
2844 PROTOBUF_C_TYPE_INT32,
2845 0, /* quantifier_offset */
2846 offsetof(CtrlMsgRespGetSoftAPConfig, max_conn),
2847 NULL,
2848 NULL,
2849 0, /* flags */
2850 0,NULL,NULL /* reserved1,reserved2, etc */
2851 },
2852 {
2853 "ssid_hidden",
2854 6,
2855 PROTOBUF_C_LABEL_NONE,
2856 PROTOBUF_C_TYPE_BOOL,
2857 0, /* quantifier_offset */
2858 offsetof(CtrlMsgRespGetSoftAPConfig, ssid_hidden),
2859 NULL,
2860 NULL,
2861 0, /* flags */
2862 0,NULL,NULL /* reserved1,reserved2, etc */
2863 },
2864 {
2865 "bw",
2866 7,
2867 PROTOBUF_C_LABEL_NONE,
2868 PROTOBUF_C_TYPE_INT32,
2869 0, /* quantifier_offset */
2870 offsetof(CtrlMsgRespGetSoftAPConfig, bw),
2871 NULL,
2872 NULL,
2873 0, /* flags */
2874 0,NULL,NULL /* reserved1,reserved2, etc */
2875 },
2876 {
2877 "resp",
2878 8,
2879 PROTOBUF_C_LABEL_NONE,
2880 PROTOBUF_C_TYPE_INT32,
2881 0, /* quantifier_offset */
2882 offsetof(CtrlMsgRespGetSoftAPConfig, resp),
2883 NULL,
2884 NULL,
2885 0, /* flags */
2886 0,NULL,NULL /* reserved1,reserved2, etc */
2887 },
2888};
2889static const unsigned ctrl_msg__resp__get_soft_apconfig__field_indices_by_name[] = {
2890 6, /* field[6] = bw */
2891 2, /* field[2] = chnl */
2892 4, /* field[4] = max_conn */
2893 1, /* field[1] = pwd */
2894 7, /* field[7] = resp */
2895 3, /* field[3] = sec_prot */
2896 0, /* field[0] = ssid */
2897 5, /* field[5] = ssid_hidden */
2898};
2899static const ProtobufCIntRange ctrl_msg__resp__get_soft_apconfig__number_ranges[1 + 1] =
2900{
2901 { 1, 0 },
2902 { 0, 8 }
2903};
2904const ProtobufCMessageDescriptor ctrl_msg__resp__get_soft_apconfig__descriptor =
2905{
2906 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
2907 "CtrlMsg_Resp_GetSoftAPConfig",
2908 "CtrlMsgRespGetSoftAPConfig",
2909 "CtrlMsgRespGetSoftAPConfig",
2910 "",
2911 sizeof(CtrlMsgRespGetSoftAPConfig),
2912 8,
2913 ctrl_msg__resp__get_soft_apconfig__field_descriptors,
2914 ctrl_msg__resp__get_soft_apconfig__field_indices_by_name,
2915 1, ctrl_msg__resp__get_soft_apconfig__number_ranges,
2916 (ProtobufCMessageInit) ctrl_msg__resp__get_soft_apconfig__init,
2917 NULL,NULL,NULL /* reserved[123] */
2918};
2919static const ProtobufCFieldDescriptor ctrl_msg__req__start_soft_ap__field_descriptors[7] =
2920{
2921 {
2922 "ssid",
2923 1,
2924 PROTOBUF_C_LABEL_NONE,
2925 PROTOBUF_C_TYPE_STRING,
2926 0, /* quantifier_offset */
2927 offsetof(CtrlMsgReqStartSoftAP, ssid),
2928 NULL,
2929 &protobuf_c_empty_string,
2930 0, /* flags */
2931 0,NULL,NULL /* reserved1,reserved2, etc */
2932 },
2933 {
2934 "pwd",
2935 2,
2936 PROTOBUF_C_LABEL_NONE,
2937 PROTOBUF_C_TYPE_STRING,
2938 0, /* quantifier_offset */
2939 offsetof(CtrlMsgReqStartSoftAP, pwd),
2940 NULL,
2941 &protobuf_c_empty_string,
2942 0, /* flags */
2943 0,NULL,NULL /* reserved1,reserved2, etc */
2944 },
2945 {
2946 "chnl",
2947 3,
2948 PROTOBUF_C_LABEL_NONE,
2949 PROTOBUF_C_TYPE_INT32,
2950 0, /* quantifier_offset */
2951 offsetof(CtrlMsgReqStartSoftAP, chnl),
2952 NULL,
2953 NULL,
2954 0, /* flags */
2955 0,NULL,NULL /* reserved1,reserved2, etc */
2956 },
2957 {
2958 "sec_prot",
2959 4,
2960 PROTOBUF_C_LABEL_NONE,
2961 PROTOBUF_C_TYPE_ENUM,
2962 0, /* quantifier_offset */
2963 offsetof(CtrlMsgReqStartSoftAP, sec_prot),
2964 &ctrl__wifi_sec_prot__descriptor,
2965 NULL,
2966 0, /* flags */
2967 0,NULL,NULL /* reserved1,reserved2, etc */
2968 },
2969 {
2970 "max_conn",
2971 5,
2972 PROTOBUF_C_LABEL_NONE,
2973 PROTOBUF_C_TYPE_INT32,
2974 0, /* quantifier_offset */
2975 offsetof(CtrlMsgReqStartSoftAP, max_conn),
2976 NULL,
2977 NULL,
2978 0, /* flags */
2979 0,NULL,NULL /* reserved1,reserved2, etc */
2980 },
2981 {
2982 "ssid_hidden",
2983 6,
2984 PROTOBUF_C_LABEL_NONE,
2985 PROTOBUF_C_TYPE_BOOL,
2986 0, /* quantifier_offset */
2987 offsetof(CtrlMsgReqStartSoftAP, ssid_hidden),
2988 NULL,
2989 NULL,
2990 0, /* flags */
2991 0,NULL,NULL /* reserved1,reserved2, etc */
2992 },
2993 {
2994 "bw",
2995 7,
2996 PROTOBUF_C_LABEL_NONE,
2997 PROTOBUF_C_TYPE_INT32,
2998 0, /* quantifier_offset */
2999 offsetof(CtrlMsgReqStartSoftAP, bw),
3000 NULL,
3001 NULL,
3002 0, /* flags */
3003 0,NULL,NULL /* reserved1,reserved2, etc */
3004 },
3005};
3006static const unsigned ctrl_msg__req__start_soft_ap__field_indices_by_name[] = {
3007 6, /* field[6] = bw */
3008 2, /* field[2] = chnl */
3009 4, /* field[4] = max_conn */
3010 1, /* field[1] = pwd */
3011 3, /* field[3] = sec_prot */
3012 0, /* field[0] = ssid */
3013 5, /* field[5] = ssid_hidden */
3014};
3015static const ProtobufCIntRange ctrl_msg__req__start_soft_ap__number_ranges[1 + 1] =
3016{
3017 { 1, 0 },
3018 { 0, 7 }
3019};
3020const ProtobufCMessageDescriptor ctrl_msg__req__start_soft_ap__descriptor =
3021{
3022 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3023 "CtrlMsg_Req_StartSoftAP",
3024 "CtrlMsgReqStartSoftAP",
3025 "CtrlMsgReqStartSoftAP",
3026 "",
3027 sizeof(CtrlMsgReqStartSoftAP),
3028 7,
3029 ctrl_msg__req__start_soft_ap__field_descriptors,
3030 ctrl_msg__req__start_soft_ap__field_indices_by_name,
3031 1, ctrl_msg__req__start_soft_ap__number_ranges,
3032 (ProtobufCMessageInit) ctrl_msg__req__start_soft_ap__init,
3033 NULL,NULL,NULL /* reserved[123] */
3034};
3035static const ProtobufCFieldDescriptor ctrl_msg__resp__start_soft_ap__field_descriptors[2] =
3036{
3037 {
3038 "resp",
3039 1,
3040 PROTOBUF_C_LABEL_NONE,
3041 PROTOBUF_C_TYPE_INT32,
3042 0, /* quantifier_offset */
3043 offsetof(CtrlMsgRespStartSoftAP, resp),
3044 NULL,
3045 NULL,
3046 0, /* flags */
3047 0,NULL,NULL /* reserved1,reserved2, etc */
3048 },
3049 {
3050 "mac",
3051 2,
3052 PROTOBUF_C_LABEL_NONE,
3053 PROTOBUF_C_TYPE_BYTES,
3054 0, /* quantifier_offset */
3055 offsetof(CtrlMsgRespStartSoftAP, mac),
3056 NULL,
3057 NULL,
3058 0, /* flags */
3059 0,NULL,NULL /* reserved1,reserved2, etc */
3060 },
3061};
3062static const unsigned ctrl_msg__resp__start_soft_ap__field_indices_by_name[] = {
3063 1, /* field[1] = mac */
3064 0, /* field[0] = resp */
3065};
3066static const ProtobufCIntRange ctrl_msg__resp__start_soft_ap__number_ranges[1 + 1] =
3067{
3068 { 1, 0 },
3069 { 0, 2 }
3070};
3071const ProtobufCMessageDescriptor ctrl_msg__resp__start_soft_ap__descriptor =
3072{
3073 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3074 "CtrlMsg_Resp_StartSoftAP",
3075 "CtrlMsgRespStartSoftAP",
3076 "CtrlMsgRespStartSoftAP",
3077 "",
3078 sizeof(CtrlMsgRespStartSoftAP),
3079 2,
3080 ctrl_msg__resp__start_soft_ap__field_descriptors,
3081 ctrl_msg__resp__start_soft_ap__field_indices_by_name,
3082 1, ctrl_msg__resp__start_soft_ap__number_ranges,
3083 (ProtobufCMessageInit) ctrl_msg__resp__start_soft_ap__init,
3084 NULL,NULL,NULL /* reserved[123] */
3085};
3086#define ctrl_msg__req__scan_result__field_descriptors NULL
3087#define ctrl_msg__req__scan_result__field_indices_by_name NULL
3088#define ctrl_msg__req__scan_result__number_ranges NULL
3089const ProtobufCMessageDescriptor ctrl_msg__req__scan_result__descriptor =
3090{
3091 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3092 "CtrlMsg_Req_ScanResult",
3093 "CtrlMsgReqScanResult",
3094 "CtrlMsgReqScanResult",
3095 "",
3096 sizeof(CtrlMsgReqScanResult),
3097 0,
3098 ctrl_msg__req__scan_result__field_descriptors,
3099 ctrl_msg__req__scan_result__field_indices_by_name,
3100 0, ctrl_msg__req__scan_result__number_ranges,
3101 (ProtobufCMessageInit) ctrl_msg__req__scan_result__init,
3102 NULL,NULL,NULL /* reserved[123] */
3103};
3104static const ProtobufCFieldDescriptor ctrl_msg__resp__scan_result__field_descriptors[3] =
3105{
3106 {
3107 "count",
3108 1,
3109 PROTOBUF_C_LABEL_NONE,
3110 PROTOBUF_C_TYPE_UINT32,
3111 0, /* quantifier_offset */
3112 offsetof(CtrlMsgRespScanResult, count),
3113 NULL,
3114 NULL,
3115 0, /* flags */
3116 0,NULL,NULL /* reserved1,reserved2, etc */
3117 },
3118 {
3119 "entries",
3120 2,
3121 PROTOBUF_C_LABEL_REPEATED,
3122 PROTOBUF_C_TYPE_MESSAGE,
3123 offsetof(CtrlMsgRespScanResult, n_entries),
3124 offsetof(CtrlMsgRespScanResult, entries),
3125 &scan_result__descriptor,
3126 NULL,
3127 0, /* flags */
3128 0,NULL,NULL /* reserved1,reserved2, etc */
3129 },
3130 {
3131 "resp",
3132 3,
3133 PROTOBUF_C_LABEL_NONE,
3134 PROTOBUF_C_TYPE_INT32,
3135 0, /* quantifier_offset */
3136 offsetof(CtrlMsgRespScanResult, resp),
3137 NULL,
3138 NULL,
3139 0, /* flags */
3140 0,NULL,NULL /* reserved1,reserved2, etc */
3141 },
3142};
3143static const unsigned ctrl_msg__resp__scan_result__field_indices_by_name[] = {
3144 0, /* field[0] = count */
3145 1, /* field[1] = entries */
3146 2, /* field[2] = resp */
3147};
3148static const ProtobufCIntRange ctrl_msg__resp__scan_result__number_ranges[1 + 1] =
3149{
3150 { 1, 0 },
3151 { 0, 3 }
3152};
3153const ProtobufCMessageDescriptor ctrl_msg__resp__scan_result__descriptor =
3154{
3155 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3156 "CtrlMsg_Resp_ScanResult",
3157 "CtrlMsgRespScanResult",
3158 "CtrlMsgRespScanResult",
3159 "",
3160 sizeof(CtrlMsgRespScanResult),
3161 3,
3162 ctrl_msg__resp__scan_result__field_descriptors,
3163 ctrl_msg__resp__scan_result__field_indices_by_name,
3164 1, ctrl_msg__resp__scan_result__number_ranges,
3165 (ProtobufCMessageInit) ctrl_msg__resp__scan_result__init,
3166 NULL,NULL,NULL /* reserved[123] */
3167};
3168#define ctrl_msg__req__soft_apconnected_sta__field_descriptors NULL
3169#define ctrl_msg__req__soft_apconnected_sta__field_indices_by_name NULL
3170#define ctrl_msg__req__soft_apconnected_sta__number_ranges NULL
3171const ProtobufCMessageDescriptor ctrl_msg__req__soft_apconnected_sta__descriptor =
3172{
3173 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3174 "CtrlMsg_Req_SoftAPConnectedSTA",
3175 "CtrlMsgReqSoftAPConnectedSTA",
3176 "CtrlMsgReqSoftAPConnectedSTA",
3177 "",
3178 sizeof(CtrlMsgReqSoftAPConnectedSTA),
3179 0,
3180 ctrl_msg__req__soft_apconnected_sta__field_descriptors,
3181 ctrl_msg__req__soft_apconnected_sta__field_indices_by_name,
3182 0, ctrl_msg__req__soft_apconnected_sta__number_ranges,
3183 (ProtobufCMessageInit) ctrl_msg__req__soft_apconnected_sta__init,
3184 NULL,NULL,NULL /* reserved[123] */
3185};
3186static const ProtobufCFieldDescriptor ctrl_msg__resp__soft_apconnected_sta__field_descriptors[3] =
3187{
3188 {
3189 "num",
3190 1,
3191 PROTOBUF_C_LABEL_NONE,
3192 PROTOBUF_C_TYPE_UINT32,
3193 0, /* quantifier_offset */
3194 offsetof(CtrlMsgRespSoftAPConnectedSTA, num),
3195 NULL,
3196 NULL,
3197 0, /* flags */
3198 0,NULL,NULL /* reserved1,reserved2, etc */
3199 },
3200 {
3201 "stations",
3202 2,
3203 PROTOBUF_C_LABEL_REPEATED,
3204 PROTOBUF_C_TYPE_MESSAGE,
3205 offsetof(CtrlMsgRespSoftAPConnectedSTA, n_stations),
3206 offsetof(CtrlMsgRespSoftAPConnectedSTA, stations),
3207 &connected_stalist__descriptor,
3208 NULL,
3209 0, /* flags */
3210 0,NULL,NULL /* reserved1,reserved2, etc */
3211 },
3212 {
3213 "resp",
3214 3,
3215 PROTOBUF_C_LABEL_NONE,
3216 PROTOBUF_C_TYPE_INT32,
3217 0, /* quantifier_offset */
3218 offsetof(CtrlMsgRespSoftAPConnectedSTA, resp),
3219 NULL,
3220 NULL,
3221 0, /* flags */
3222 0,NULL,NULL /* reserved1,reserved2, etc */
3223 },
3224};
3225static const unsigned ctrl_msg__resp__soft_apconnected_sta__field_indices_by_name[] = {
3226 0, /* field[0] = num */
3227 2, /* field[2] = resp */
3228 1, /* field[1] = stations */
3229};
3230static const ProtobufCIntRange ctrl_msg__resp__soft_apconnected_sta__number_ranges[1 + 1] =
3231{
3232 { 1, 0 },
3233 { 0, 3 }
3234};
3235const ProtobufCMessageDescriptor ctrl_msg__resp__soft_apconnected_sta__descriptor =
3236{
3237 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3238 "CtrlMsg_Resp_SoftAPConnectedSTA",
3239 "CtrlMsgRespSoftAPConnectedSTA",
3240 "CtrlMsgRespSoftAPConnectedSTA",
3241 "",
3242 sizeof(CtrlMsgRespSoftAPConnectedSTA),
3243 3,
3244 ctrl_msg__resp__soft_apconnected_sta__field_descriptors,
3245 ctrl_msg__resp__soft_apconnected_sta__field_indices_by_name,
3246 1, ctrl_msg__resp__soft_apconnected_sta__number_ranges,
3247 (ProtobufCMessageInit) ctrl_msg__resp__soft_apconnected_sta__init,
3248 NULL,NULL,NULL /* reserved[123] */
3249};
3250#define ctrl_msg__req__otabegin__field_descriptors NULL
3251#define ctrl_msg__req__otabegin__field_indices_by_name NULL
3252#define ctrl_msg__req__otabegin__number_ranges NULL
3253const ProtobufCMessageDescriptor ctrl_msg__req__otabegin__descriptor =
3254{
3255 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3256 "CtrlMsg_Req_OTABegin",
3257 "CtrlMsgReqOTABegin",
3258 "CtrlMsgReqOTABegin",
3259 "",
3260 sizeof(CtrlMsgReqOTABegin),
3261 0,
3262 ctrl_msg__req__otabegin__field_descriptors,
3263 ctrl_msg__req__otabegin__field_indices_by_name,
3264 0, ctrl_msg__req__otabegin__number_ranges,
3265 (ProtobufCMessageInit) ctrl_msg__req__otabegin__init,
3266 NULL,NULL,NULL /* reserved[123] */
3267};
3268static const ProtobufCFieldDescriptor ctrl_msg__resp__otabegin__field_descriptors[1] =
3269{
3270 {
3271 "resp",
3272 1,
3273 PROTOBUF_C_LABEL_NONE,
3274 PROTOBUF_C_TYPE_INT32,
3275 0, /* quantifier_offset */
3276 offsetof(CtrlMsgRespOTABegin, resp),
3277 NULL,
3278 NULL,
3279 0, /* flags */
3280 0,NULL,NULL /* reserved1,reserved2, etc */
3281 },
3282};
3283static const unsigned ctrl_msg__resp__otabegin__field_indices_by_name[] = {
3284 0, /* field[0] = resp */
3285};
3286static const ProtobufCIntRange ctrl_msg__resp__otabegin__number_ranges[1 + 1] =
3287{
3288 { 1, 0 },
3289 { 0, 1 }
3290};
3291const ProtobufCMessageDescriptor ctrl_msg__resp__otabegin__descriptor =
3292{
3293 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3294 "CtrlMsg_Resp_OTABegin",
3295 "CtrlMsgRespOTABegin",
3296 "CtrlMsgRespOTABegin",
3297 "",
3298 sizeof(CtrlMsgRespOTABegin),
3299 1,
3300 ctrl_msg__resp__otabegin__field_descriptors,
3301 ctrl_msg__resp__otabegin__field_indices_by_name,
3302 1, ctrl_msg__resp__otabegin__number_ranges,
3303 (ProtobufCMessageInit) ctrl_msg__resp__otabegin__init,
3304 NULL,NULL,NULL /* reserved[123] */
3305};
3306static const ProtobufCFieldDescriptor ctrl_msg__req__otawrite__field_descriptors[1] =
3307{
3308 {
3309 "ota_data",
3310 1,
3311 PROTOBUF_C_LABEL_NONE,
3312 PROTOBUF_C_TYPE_BYTES,
3313 0, /* quantifier_offset */
3314 offsetof(CtrlMsgReqOTAWrite, ota_data),
3315 NULL,
3316 NULL,
3317 0, /* flags */
3318 0,NULL,NULL /* reserved1,reserved2, etc */
3319 },
3320};
3321static const unsigned ctrl_msg__req__otawrite__field_indices_by_name[] = {
3322 0, /* field[0] = ota_data */
3323};
3324static const ProtobufCIntRange ctrl_msg__req__otawrite__number_ranges[1 + 1] =
3325{
3326 { 1, 0 },
3327 { 0, 1 }
3328};
3329const ProtobufCMessageDescriptor ctrl_msg__req__otawrite__descriptor =
3330{
3331 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3332 "CtrlMsg_Req_OTAWrite",
3333 "CtrlMsgReqOTAWrite",
3334 "CtrlMsgReqOTAWrite",
3335 "",
3336 sizeof(CtrlMsgReqOTAWrite),
3337 1,
3338 ctrl_msg__req__otawrite__field_descriptors,
3339 ctrl_msg__req__otawrite__field_indices_by_name,
3340 1, ctrl_msg__req__otawrite__number_ranges,
3341 (ProtobufCMessageInit) ctrl_msg__req__otawrite__init,
3342 NULL,NULL,NULL /* reserved[123] */
3343};
3344static const ProtobufCFieldDescriptor ctrl_msg__resp__otawrite__field_descriptors[1] =
3345{
3346 {
3347 "resp",
3348 1,
3349 PROTOBUF_C_LABEL_NONE,
3350 PROTOBUF_C_TYPE_INT32,
3351 0, /* quantifier_offset */
3352 offsetof(CtrlMsgRespOTAWrite, resp),
3353 NULL,
3354 NULL,
3355 0, /* flags */
3356 0,NULL,NULL /* reserved1,reserved2, etc */
3357 },
3358};
3359static const unsigned ctrl_msg__resp__otawrite__field_indices_by_name[] = {
3360 0, /* field[0] = resp */
3361};
3362static const ProtobufCIntRange ctrl_msg__resp__otawrite__number_ranges[1 + 1] =
3363{
3364 { 1, 0 },
3365 { 0, 1 }
3366};
3367const ProtobufCMessageDescriptor ctrl_msg__resp__otawrite__descriptor =
3368{
3369 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3370 "CtrlMsg_Resp_OTAWrite",
3371 "CtrlMsgRespOTAWrite",
3372 "CtrlMsgRespOTAWrite",
3373 "",
3374 sizeof(CtrlMsgRespOTAWrite),
3375 1,
3376 ctrl_msg__resp__otawrite__field_descriptors,
3377 ctrl_msg__resp__otawrite__field_indices_by_name,
3378 1, ctrl_msg__resp__otawrite__number_ranges,
3379 (ProtobufCMessageInit) ctrl_msg__resp__otawrite__init,
3380 NULL,NULL,NULL /* reserved[123] */
3381};
3382#define ctrl_msg__req__otaend__field_descriptors NULL
3383#define ctrl_msg__req__otaend__field_indices_by_name NULL
3384#define ctrl_msg__req__otaend__number_ranges NULL
3385const ProtobufCMessageDescriptor ctrl_msg__req__otaend__descriptor =
3386{
3387 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3388 "CtrlMsg_Req_OTAEnd",
3389 "CtrlMsgReqOTAEnd",
3390 "CtrlMsgReqOTAEnd",
3391 "",
3392 sizeof(CtrlMsgReqOTAEnd),
3393 0,
3394 ctrl_msg__req__otaend__field_descriptors,
3395 ctrl_msg__req__otaend__field_indices_by_name,
3396 0, ctrl_msg__req__otaend__number_ranges,
3397 (ProtobufCMessageInit) ctrl_msg__req__otaend__init,
3398 NULL,NULL,NULL /* reserved[123] */
3399};
3400static const ProtobufCFieldDescriptor ctrl_msg__resp__otaend__field_descriptors[1] =
3401{
3402 {
3403 "resp",
3404 1,
3405 PROTOBUF_C_LABEL_NONE,
3406 PROTOBUF_C_TYPE_INT32,
3407 0, /* quantifier_offset */
3408 offsetof(CtrlMsgRespOTAEnd, resp),
3409 NULL,
3410 NULL,
3411 0, /* flags */
3412 0,NULL,NULL /* reserved1,reserved2, etc */
3413 },
3414};
3415static const unsigned ctrl_msg__resp__otaend__field_indices_by_name[] = {
3416 0, /* field[0] = resp */
3417};
3418static const ProtobufCIntRange ctrl_msg__resp__otaend__number_ranges[1 + 1] =
3419{
3420 { 1, 0 },
3421 { 0, 1 }
3422};
3423const ProtobufCMessageDescriptor ctrl_msg__resp__otaend__descriptor =
3424{
3425 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3426 "CtrlMsg_Resp_OTAEnd",
3427 "CtrlMsgRespOTAEnd",
3428 "CtrlMsgRespOTAEnd",
3429 "",
3430 sizeof(CtrlMsgRespOTAEnd),
3431 1,
3432 ctrl_msg__resp__otaend__field_descriptors,
3433 ctrl_msg__resp__otaend__field_indices_by_name,
3434 1, ctrl_msg__resp__otaend__number_ranges,
3435 (ProtobufCMessageInit) ctrl_msg__resp__otaend__init,
3436 NULL,NULL,NULL /* reserved[123] */
3437};
3438static const ProtobufCFieldDescriptor ctrl_msg__req__vendor_iedata__field_descriptors[5] =
3439{
3440 {
3441 "element_id",
3442 1,
3443 PROTOBUF_C_LABEL_NONE,
3444 PROTOBUF_C_TYPE_INT32,
3445 0, /* quantifier_offset */
3446 offsetof(CtrlMsgReqVendorIEData, element_id),
3447 NULL,
3448 NULL,
3449 0, /* flags */
3450 0,NULL,NULL /* reserved1,reserved2, etc */
3451 },
3452 {
3453 "length",
3454 2,
3455 PROTOBUF_C_LABEL_NONE,
3456 PROTOBUF_C_TYPE_INT32,
3457 0, /* quantifier_offset */
3458 offsetof(CtrlMsgReqVendorIEData, length),
3459 NULL,
3460 NULL,
3461 0, /* flags */
3462 0,NULL,NULL /* reserved1,reserved2, etc */
3463 },
3464 {
3465 "vendor_oui",
3466 3,
3467 PROTOBUF_C_LABEL_NONE,
3468 PROTOBUF_C_TYPE_BYTES,
3469 0, /* quantifier_offset */
3470 offsetof(CtrlMsgReqVendorIEData, vendor_oui),
3471 NULL,
3472 NULL,
3473 0, /* flags */
3474 0,NULL,NULL /* reserved1,reserved2, etc */
3475 },
3476 {
3477 "vendor_oui_type",
3478 4,
3479 PROTOBUF_C_LABEL_NONE,
3480 PROTOBUF_C_TYPE_INT32,
3481 0, /* quantifier_offset */
3482 offsetof(CtrlMsgReqVendorIEData, vendor_oui_type),
3483 NULL,
3484 NULL,
3485 0, /* flags */
3486 0,NULL,NULL /* reserved1,reserved2, etc */
3487 },
3488 {
3489 "payload",
3490 5,
3491 PROTOBUF_C_LABEL_NONE,
3492 PROTOBUF_C_TYPE_BYTES,
3493 0, /* quantifier_offset */
3494 offsetof(CtrlMsgReqVendorIEData, payload),
3495 NULL,
3496 NULL,
3497 0, /* flags */
3498 0,NULL,NULL /* reserved1,reserved2, etc */
3499 },
3500};
3501static const unsigned ctrl_msg__req__vendor_iedata__field_indices_by_name[] = {
3502 0, /* field[0] = element_id */
3503 1, /* field[1] = length */
3504 4, /* field[4] = payload */
3505 2, /* field[2] = vendor_oui */
3506 3, /* field[3] = vendor_oui_type */
3507};
3508static const ProtobufCIntRange ctrl_msg__req__vendor_iedata__number_ranges[1 + 1] =
3509{
3510 { 1, 0 },
3511 { 0, 5 }
3512};
3513const ProtobufCMessageDescriptor ctrl_msg__req__vendor_iedata__descriptor =
3514{
3515 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3516 "CtrlMsg_Req_VendorIEData",
3517 "CtrlMsgReqVendorIEData",
3518 "CtrlMsgReqVendorIEData",
3519 "",
3520 sizeof(CtrlMsgReqVendorIEData),
3521 5,
3522 ctrl_msg__req__vendor_iedata__field_descriptors,
3523 ctrl_msg__req__vendor_iedata__field_indices_by_name,
3524 1, ctrl_msg__req__vendor_iedata__number_ranges,
3525 (ProtobufCMessageInit) ctrl_msg__req__vendor_iedata__init,
3526 NULL,NULL,NULL /* reserved[123] */
3527};
3528static const ProtobufCFieldDescriptor ctrl_msg__req__set_soft_apvendor_specific_ie__field_descriptors[4] =
3529{
3530 {
3531 "enable",
3532 1,
3533 PROTOBUF_C_LABEL_NONE,
3534 PROTOBUF_C_TYPE_BOOL,
3535 0, /* quantifier_offset */
3536 offsetof(CtrlMsgReqSetSoftAPVendorSpecificIE, enable),
3537 NULL,
3538 NULL,
3539 0, /* flags */
3540 0,NULL,NULL /* reserved1,reserved2, etc */
3541 },
3542 {
3543 "type",
3544 2,
3545 PROTOBUF_C_LABEL_NONE,
3546 PROTOBUF_C_TYPE_ENUM,
3547 0, /* quantifier_offset */
3548 offsetof(CtrlMsgReqSetSoftAPVendorSpecificIE, type),
3549 &ctrl__vendor_ietype__descriptor,
3550 NULL,
3551 0, /* flags */
3552 0,NULL,NULL /* reserved1,reserved2, etc */
3553 },
3554 {
3555 "idx",
3556 3,
3557 PROTOBUF_C_LABEL_NONE,
3558 PROTOBUF_C_TYPE_ENUM,
3559 0, /* quantifier_offset */
3560 offsetof(CtrlMsgReqSetSoftAPVendorSpecificIE, idx),
3561 &ctrl__vendor_ieid__descriptor,
3562 NULL,
3563 0, /* flags */
3564 0,NULL,NULL /* reserved1,reserved2, etc */
3565 },
3566 {
3567 "vendor_ie_data",
3568 4,
3569 PROTOBUF_C_LABEL_NONE,
3570 PROTOBUF_C_TYPE_MESSAGE,
3571 0, /* quantifier_offset */
3572 offsetof(CtrlMsgReqSetSoftAPVendorSpecificIE, vendor_ie_data),
3573 &ctrl_msg__req__vendor_iedata__descriptor,
3574 NULL,
3575 0, /* flags */
3576 0,NULL,NULL /* reserved1,reserved2, etc */
3577 },
3578};
3579static const unsigned ctrl_msg__req__set_soft_apvendor_specific_ie__field_indices_by_name[] = {
3580 0, /* field[0] = enable */
3581 2, /* field[2] = idx */
3582 1, /* field[1] = type */
3583 3, /* field[3] = vendor_ie_data */
3584};
3585static const ProtobufCIntRange ctrl_msg__req__set_soft_apvendor_specific_ie__number_ranges[1 + 1] =
3586{
3587 { 1, 0 },
3588 { 0, 4 }
3589};
3590const ProtobufCMessageDescriptor ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor =
3591{
3592 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3593 "CtrlMsg_Req_SetSoftAPVendorSpecificIE",
3594 "CtrlMsgReqSetSoftAPVendorSpecificIE",
3595 "CtrlMsgReqSetSoftAPVendorSpecificIE",
3596 "",
3597 sizeof(CtrlMsgReqSetSoftAPVendorSpecificIE),
3598 4,
3599 ctrl_msg__req__set_soft_apvendor_specific_ie__field_descriptors,
3600 ctrl_msg__req__set_soft_apvendor_specific_ie__field_indices_by_name,
3601 1, ctrl_msg__req__set_soft_apvendor_specific_ie__number_ranges,
3602 (ProtobufCMessageInit) ctrl_msg__req__set_soft_apvendor_specific_ie__init,
3603 NULL,NULL,NULL /* reserved[123] */
3604};
3605static const ProtobufCFieldDescriptor ctrl_msg__resp__set_soft_apvendor_specific_ie__field_descriptors[1] =
3606{
3607 {
3608 "resp",
3609 1,
3610 PROTOBUF_C_LABEL_NONE,
3611 PROTOBUF_C_TYPE_INT32,
3612 0, /* quantifier_offset */
3613 offsetof(CtrlMsgRespSetSoftAPVendorSpecificIE, resp),
3614 NULL,
3615 NULL,
3616 0, /* flags */
3617 0,NULL,NULL /* reserved1,reserved2, etc */
3618 },
3619};
3620static const unsigned ctrl_msg__resp__set_soft_apvendor_specific_ie__field_indices_by_name[] = {
3621 0, /* field[0] = resp */
3622};
3623static const ProtobufCIntRange ctrl_msg__resp__set_soft_apvendor_specific_ie__number_ranges[1 + 1] =
3624{
3625 { 1, 0 },
3626 { 0, 1 }
3627};
3628const ProtobufCMessageDescriptor ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor =
3629{
3630 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3631 "CtrlMsg_Resp_SetSoftAPVendorSpecificIE",
3632 "CtrlMsgRespSetSoftAPVendorSpecificIE",
3633 "CtrlMsgRespSetSoftAPVendorSpecificIE",
3634 "",
3635 sizeof(CtrlMsgRespSetSoftAPVendorSpecificIE),
3636 1,
3637 ctrl_msg__resp__set_soft_apvendor_specific_ie__field_descriptors,
3638 ctrl_msg__resp__set_soft_apvendor_specific_ie__field_indices_by_name,
3639 1, ctrl_msg__resp__set_soft_apvendor_specific_ie__number_ranges,
3640 (ProtobufCMessageInit) ctrl_msg__resp__set_soft_apvendor_specific_ie__init,
3641 NULL,NULL,NULL /* reserved[123] */
3642};
3643static const ProtobufCFieldDescriptor ctrl_msg__req__set_wifi_max_tx_power__field_descriptors[1] =
3644{
3645 {
3646 "wifi_max_tx_power",
3647 1,
3648 PROTOBUF_C_LABEL_NONE,
3649 PROTOBUF_C_TYPE_INT32,
3650 0, /* quantifier_offset */
3651 offsetof(CtrlMsgReqSetWifiMaxTxPower, wifi_max_tx_power),
3652 NULL,
3653 NULL,
3654 0, /* flags */
3655 0,NULL,NULL /* reserved1,reserved2, etc */
3656 },
3657};
3658static const unsigned ctrl_msg__req__set_wifi_max_tx_power__field_indices_by_name[] = {
3659 0, /* field[0] = wifi_max_tx_power */
3660};
3661static const ProtobufCIntRange ctrl_msg__req__set_wifi_max_tx_power__number_ranges[1 + 1] =
3662{
3663 { 1, 0 },
3664 { 0, 1 }
3665};
3666const ProtobufCMessageDescriptor ctrl_msg__req__set_wifi_max_tx_power__descriptor =
3667{
3668 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3669 "CtrlMsg_Req_SetWifiMaxTxPower",
3670 "CtrlMsgReqSetWifiMaxTxPower",
3671 "CtrlMsgReqSetWifiMaxTxPower",
3672 "",
3673 sizeof(CtrlMsgReqSetWifiMaxTxPower),
3674 1,
3675 ctrl_msg__req__set_wifi_max_tx_power__field_descriptors,
3676 ctrl_msg__req__set_wifi_max_tx_power__field_indices_by_name,
3677 1, ctrl_msg__req__set_wifi_max_tx_power__number_ranges,
3678 (ProtobufCMessageInit) ctrl_msg__req__set_wifi_max_tx_power__init,
3679 NULL,NULL,NULL /* reserved[123] */
3680};
3681static const ProtobufCFieldDescriptor ctrl_msg__resp__set_wifi_max_tx_power__field_descriptors[1] =
3682{
3683 {
3684 "resp",
3685 1,
3686 PROTOBUF_C_LABEL_NONE,
3687 PROTOBUF_C_TYPE_INT32,
3688 0, /* quantifier_offset */
3689 offsetof(CtrlMsgRespSetWifiMaxTxPower, resp),
3690 NULL,
3691 NULL,
3692 0, /* flags */
3693 0,NULL,NULL /* reserved1,reserved2, etc */
3694 },
3695};
3696static const unsigned ctrl_msg__resp__set_wifi_max_tx_power__field_indices_by_name[] = {
3697 0, /* field[0] = resp */
3698};
3699static const ProtobufCIntRange ctrl_msg__resp__set_wifi_max_tx_power__number_ranges[1 + 1] =
3700{
3701 { 1, 0 },
3702 { 0, 1 }
3703};
3704const ProtobufCMessageDescriptor ctrl_msg__resp__set_wifi_max_tx_power__descriptor =
3705{
3706 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3707 "CtrlMsg_Resp_SetWifiMaxTxPower",
3708 "CtrlMsgRespSetWifiMaxTxPower",
3709 "CtrlMsgRespSetWifiMaxTxPower",
3710 "",
3711 sizeof(CtrlMsgRespSetWifiMaxTxPower),
3712 1,
3713 ctrl_msg__resp__set_wifi_max_tx_power__field_descriptors,
3714 ctrl_msg__resp__set_wifi_max_tx_power__field_indices_by_name,
3715 1, ctrl_msg__resp__set_wifi_max_tx_power__number_ranges,
3716 (ProtobufCMessageInit) ctrl_msg__resp__set_wifi_max_tx_power__init,
3717 NULL,NULL,NULL /* reserved[123] */
3718};
3719#define ctrl_msg__req__get_wifi_curr_tx_power__field_descriptors NULL
3720#define ctrl_msg__req__get_wifi_curr_tx_power__field_indices_by_name NULL
3721#define ctrl_msg__req__get_wifi_curr_tx_power__number_ranges NULL
3722const ProtobufCMessageDescriptor ctrl_msg__req__get_wifi_curr_tx_power__descriptor =
3723{
3724 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3725 "CtrlMsg_Req_GetWifiCurrTxPower",
3726 "CtrlMsgReqGetWifiCurrTxPower",
3727 "CtrlMsgReqGetWifiCurrTxPower",
3728 "",
3729 sizeof(CtrlMsgReqGetWifiCurrTxPower),
3730 0,
3731 ctrl_msg__req__get_wifi_curr_tx_power__field_descriptors,
3732 ctrl_msg__req__get_wifi_curr_tx_power__field_indices_by_name,
3733 0, ctrl_msg__req__get_wifi_curr_tx_power__number_ranges,
3734 (ProtobufCMessageInit) ctrl_msg__req__get_wifi_curr_tx_power__init,
3735 NULL,NULL,NULL /* reserved[123] */
3736};
3737static const ProtobufCFieldDescriptor ctrl_msg__resp__get_wifi_curr_tx_power__field_descriptors[2] =
3738{
3739 {
3740 "wifi_curr_tx_power",
3741 1,
3742 PROTOBUF_C_LABEL_NONE,
3743 PROTOBUF_C_TYPE_INT32,
3744 0, /* quantifier_offset */
3745 offsetof(CtrlMsgRespGetWifiCurrTxPower, wifi_curr_tx_power),
3746 NULL,
3747 NULL,
3748 0, /* flags */
3749 0,NULL,NULL /* reserved1,reserved2, etc */
3750 },
3751 {
3752 "resp",
3753 2,
3754 PROTOBUF_C_LABEL_NONE,
3755 PROTOBUF_C_TYPE_INT32,
3756 0, /* quantifier_offset */
3757 offsetof(CtrlMsgRespGetWifiCurrTxPower, resp),
3758 NULL,
3759 NULL,
3760 0, /* flags */
3761 0,NULL,NULL /* reserved1,reserved2, etc */
3762 },
3763};
3764static const unsigned ctrl_msg__resp__get_wifi_curr_tx_power__field_indices_by_name[] = {
3765 1, /* field[1] = resp */
3766 0, /* field[0] = wifi_curr_tx_power */
3767};
3768static const ProtobufCIntRange ctrl_msg__resp__get_wifi_curr_tx_power__number_ranges[1 + 1] =
3769{
3770 { 1, 0 },
3771 { 0, 2 }
3772};
3773const ProtobufCMessageDescriptor ctrl_msg__resp__get_wifi_curr_tx_power__descriptor =
3774{
3775 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3776 "CtrlMsg_Resp_GetWifiCurrTxPower",
3777 "CtrlMsgRespGetWifiCurrTxPower",
3778 "CtrlMsgRespGetWifiCurrTxPower",
3779 "",
3780 sizeof(CtrlMsgRespGetWifiCurrTxPower),
3781 2,
3782 ctrl_msg__resp__get_wifi_curr_tx_power__field_descriptors,
3783 ctrl_msg__resp__get_wifi_curr_tx_power__field_indices_by_name,
3784 1, ctrl_msg__resp__get_wifi_curr_tx_power__number_ranges,
3785 (ProtobufCMessageInit) ctrl_msg__resp__get_wifi_curr_tx_power__init,
3786 NULL,NULL,NULL /* reserved[123] */
3787};
3788static const ProtobufCFieldDescriptor ctrl_msg__req__config_heartbeat__field_descriptors[2] =
3789{
3790 {
3791 "enable",
3792 1,
3793 PROTOBUF_C_LABEL_NONE,
3794 PROTOBUF_C_TYPE_BOOL,
3795 0, /* quantifier_offset */
3796 offsetof(CtrlMsgReqConfigHeartbeat, enable),
3797 NULL,
3798 NULL,
3799 0, /* flags */
3800 0,NULL,NULL /* reserved1,reserved2, etc */
3801 },
3802 {
3803 "duration",
3804 2,
3805 PROTOBUF_C_LABEL_NONE,
3806 PROTOBUF_C_TYPE_INT32,
3807 0, /* quantifier_offset */
3808 offsetof(CtrlMsgReqConfigHeartbeat, duration),
3809 NULL,
3810 NULL,
3811 0, /* flags */
3812 0,NULL,NULL /* reserved1,reserved2, etc */
3813 },
3814};
3815static const unsigned ctrl_msg__req__config_heartbeat__field_indices_by_name[] = {
3816 1, /* field[1] = duration */
3817 0, /* field[0] = enable */
3818};
3819static const ProtobufCIntRange ctrl_msg__req__config_heartbeat__number_ranges[1 + 1] =
3820{
3821 { 1, 0 },
3822 { 0, 2 }
3823};
3824const ProtobufCMessageDescriptor ctrl_msg__req__config_heartbeat__descriptor =
3825{
3826 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3827 "CtrlMsg_Req_ConfigHeartbeat",
3828 "CtrlMsgReqConfigHeartbeat",
3829 "CtrlMsgReqConfigHeartbeat",
3830 "",
3831 sizeof(CtrlMsgReqConfigHeartbeat),
3832 2,
3833 ctrl_msg__req__config_heartbeat__field_descriptors,
3834 ctrl_msg__req__config_heartbeat__field_indices_by_name,
3835 1, ctrl_msg__req__config_heartbeat__number_ranges,
3836 (ProtobufCMessageInit) ctrl_msg__req__config_heartbeat__init,
3837 NULL,NULL,NULL /* reserved[123] */
3838};
3839static const ProtobufCFieldDescriptor ctrl_msg__resp__config_heartbeat__field_descriptors[1] =
3840{
3841 {
3842 "resp",
3843 1,
3844 PROTOBUF_C_LABEL_NONE,
3845 PROTOBUF_C_TYPE_INT32,
3846 0, /* quantifier_offset */
3847 offsetof(CtrlMsgRespConfigHeartbeat, resp),
3848 NULL,
3849 NULL,
3850 0, /* flags */
3851 0,NULL,NULL /* reserved1,reserved2, etc */
3852 },
3853};
3854static const unsigned ctrl_msg__resp__config_heartbeat__field_indices_by_name[] = {
3855 0, /* field[0] = resp */
3856};
3857static const ProtobufCIntRange ctrl_msg__resp__config_heartbeat__number_ranges[1 + 1] =
3858{
3859 { 1, 0 },
3860 { 0, 1 }
3861};
3862const ProtobufCMessageDescriptor ctrl_msg__resp__config_heartbeat__descriptor =
3863{
3864 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3865 "CtrlMsg_Resp_ConfigHeartbeat",
3866 "CtrlMsgRespConfigHeartbeat",
3867 "CtrlMsgRespConfigHeartbeat",
3868 "",
3869 sizeof(CtrlMsgRespConfigHeartbeat),
3870 1,
3871 ctrl_msg__resp__config_heartbeat__field_descriptors,
3872 ctrl_msg__resp__config_heartbeat__field_indices_by_name,
3873 1, ctrl_msg__resp__config_heartbeat__number_ranges,
3874 (ProtobufCMessageInit) ctrl_msg__resp__config_heartbeat__init,
3875 NULL,NULL,NULL /* reserved[123] */
3876};
3877static const ProtobufCFieldDescriptor ctrl_msg__event__espinit__field_descriptors[1] =
3878{
3879 {
3880 "init_data",
3881 1,
3882 PROTOBUF_C_LABEL_NONE,
3883 PROTOBUF_C_TYPE_BYTES,
3884 0, /* quantifier_offset */
3885 offsetof(CtrlMsgEventESPInit, init_data),
3886 NULL,
3887 NULL,
3888 0, /* flags */
3889 0,NULL,NULL /* reserved1,reserved2, etc */
3890 },
3891};
3892static const unsigned ctrl_msg__event__espinit__field_indices_by_name[] = {
3893 0, /* field[0] = init_data */
3894};
3895static const ProtobufCIntRange ctrl_msg__event__espinit__number_ranges[1 + 1] =
3896{
3897 { 1, 0 },
3898 { 0, 1 }
3899};
3900const ProtobufCMessageDescriptor ctrl_msg__event__espinit__descriptor =
3901{
3902 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3903 "CtrlMsg_Event_ESPInit",
3904 "CtrlMsgEventESPInit",
3905 "CtrlMsgEventESPInit",
3906 "",
3907 sizeof(CtrlMsgEventESPInit),
3908 1,
3909 ctrl_msg__event__espinit__field_descriptors,
3910 ctrl_msg__event__espinit__field_indices_by_name,
3911 1, ctrl_msg__event__espinit__number_ranges,
3912 (ProtobufCMessageInit) ctrl_msg__event__espinit__init,
3913 NULL,NULL,NULL /* reserved[123] */
3914};
3915static const ProtobufCFieldDescriptor ctrl_msg__event__heartbeat__field_descriptors[1] =
3916{
3917 {
3918 "hb_num",
3919 1,
3920 PROTOBUF_C_LABEL_NONE,
3921 PROTOBUF_C_TYPE_INT32,
3922 0, /* quantifier_offset */
3923 offsetof(CtrlMsgEventHeartbeat, hb_num),
3924 NULL,
3925 NULL,
3926 0, /* flags */
3927 0,NULL,NULL /* reserved1,reserved2, etc */
3928 },
3929};
3930static const unsigned ctrl_msg__event__heartbeat__field_indices_by_name[] = {
3931 0, /* field[0] = hb_num */
3932};
3933static const ProtobufCIntRange ctrl_msg__event__heartbeat__number_ranges[1 + 1] =
3934{
3935 { 1, 0 },
3936 { 0, 1 }
3937};
3938const ProtobufCMessageDescriptor ctrl_msg__event__heartbeat__descriptor =
3939{
3940 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3941 "CtrlMsg_Event_Heartbeat",
3942 "CtrlMsgEventHeartbeat",
3943 "CtrlMsgEventHeartbeat",
3944 "",
3945 sizeof(CtrlMsgEventHeartbeat),
3946 1,
3947 ctrl_msg__event__heartbeat__field_descriptors,
3948 ctrl_msg__event__heartbeat__field_indices_by_name,
3949 1, ctrl_msg__event__heartbeat__number_ranges,
3950 (ProtobufCMessageInit) ctrl_msg__event__heartbeat__init,
3951 NULL,NULL,NULL /* reserved[123] */
3952};
3953static const ProtobufCFieldDescriptor ctrl_msg__event__station_disconnect_from_ap__field_descriptors[1] =
3954{
3955 {
3956 "resp",
3957 1,
3958 PROTOBUF_C_LABEL_NONE,
3959 PROTOBUF_C_TYPE_INT32,
3960 0, /* quantifier_offset */
3961 offsetof(CtrlMsgEventStationDisconnectFromAP, resp),
3962 NULL,
3963 NULL,
3964 0, /* flags */
3965 0,NULL,NULL /* reserved1,reserved2, etc */
3966 },
3967};
3968static const unsigned ctrl_msg__event__station_disconnect_from_ap__field_indices_by_name[] = {
3969 0, /* field[0] = resp */
3970};
3971static const ProtobufCIntRange ctrl_msg__event__station_disconnect_from_ap__number_ranges[1 + 1] =
3972{
3973 { 1, 0 },
3974 { 0, 1 }
3975};
3976const ProtobufCMessageDescriptor ctrl_msg__event__station_disconnect_from_ap__descriptor =
3977{
3978 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
3979 "CtrlMsg_Event_StationDisconnectFromAP",
3980 "CtrlMsgEventStationDisconnectFromAP",
3981 "CtrlMsgEventStationDisconnectFromAP",
3982 "",
3983 sizeof(CtrlMsgEventStationDisconnectFromAP),
3984 1,
3985 ctrl_msg__event__station_disconnect_from_ap__field_descriptors,
3986 ctrl_msg__event__station_disconnect_from_ap__field_indices_by_name,
3987 1, ctrl_msg__event__station_disconnect_from_ap__number_ranges,
3988 (ProtobufCMessageInit) ctrl_msg__event__station_disconnect_from_ap__init,
3989 NULL,NULL,NULL /* reserved[123] */
3990};
3991static const ProtobufCFieldDescriptor ctrl_msg__event__station_disconnect_from_espsoft_ap__field_descriptors[2] =
3992{
3993 {
3994 "resp",
3995 1,
3996 PROTOBUF_C_LABEL_NONE,
3997 PROTOBUF_C_TYPE_INT32,
3998 0, /* quantifier_offset */
3999 offsetof(CtrlMsgEventStationDisconnectFromESPSoftAP, resp),
4000 NULL,
4001 NULL,
4002 0, /* flags */
4003 0,NULL,NULL /* reserved1,reserved2, etc */
4004 },
4005 {
4006 "mac",
4007 2,
4008 PROTOBUF_C_LABEL_NONE,
4009 PROTOBUF_C_TYPE_BYTES,
4010 0, /* quantifier_offset */
4011 offsetof(CtrlMsgEventStationDisconnectFromESPSoftAP, mac),
4012 NULL,
4013 NULL,
4014 0, /* flags */
4015 0,NULL,NULL /* reserved1,reserved2, etc */
4016 },
4017};
4018static const unsigned ctrl_msg__event__station_disconnect_from_espsoft_ap__field_indices_by_name[] = {
4019 1, /* field[1] = mac */
4020 0, /* field[0] = resp */
4021};
4022static const ProtobufCIntRange ctrl_msg__event__station_disconnect_from_espsoft_ap__number_ranges[1 + 1] =
4023{
4024 { 1, 0 },
4025 { 0, 2 }
4026};
4027const ProtobufCMessageDescriptor ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor =
4028{
4029 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
4030 "CtrlMsg_Event_StationDisconnectFromESPSoftAP",
4031 "CtrlMsgEventStationDisconnectFromESPSoftAP",
4032 "CtrlMsgEventStationDisconnectFromESPSoftAP",
4033 "",
4034 sizeof(CtrlMsgEventStationDisconnectFromESPSoftAP),
4035 2,
4036 ctrl_msg__event__station_disconnect_from_espsoft_ap__field_descriptors,
4037 ctrl_msg__event__station_disconnect_from_espsoft_ap__field_indices_by_name,
4038 1, ctrl_msg__event__station_disconnect_from_espsoft_ap__number_ranges,
4039 (ProtobufCMessageInit) ctrl_msg__event__station_disconnect_from_espsoft_ap__init,
4040 NULL,NULL,NULL /* reserved[123] */
4041};
4042static const ProtobufCFieldDescriptor ctrl_msg__field_descriptors[48] =
4043{
4044 {
4045 "msg_type",
4046 1,
4047 PROTOBUF_C_LABEL_NONE,
4048 PROTOBUF_C_TYPE_ENUM,
4049 0, /* quantifier_offset */
4050 offsetof(CtrlMsg, msg_type),
4051 &ctrl_msg_type__descriptor,
4052 NULL,
4053 0, /* flags */
4054 0,NULL,NULL /* reserved1,reserved2, etc */
4055 },
4056 {
4057 "msg_id",
4058 2,
4059 PROTOBUF_C_LABEL_NONE,
4060 PROTOBUF_C_TYPE_ENUM,
4061 0, /* quantifier_offset */
4062 offsetof(CtrlMsg, msg_id),
4063 &ctrl_msg_id__descriptor,
4064 NULL,
4065 0, /* flags */
4066 0,NULL,NULL /* reserved1,reserved2, etc */
4067 },
4068 {
4069 "req_get_mac_address",
4070 101,
4071 PROTOBUF_C_LABEL_NONE,
4072 PROTOBUF_C_TYPE_MESSAGE,
4073 offsetof(CtrlMsg, payload_case),
4074 offsetof(CtrlMsg, req_get_mac_address),
4075 &ctrl_msg__req__get_mac_address__descriptor,
4076 NULL,
4077 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4078 0,NULL,NULL /* reserved1,reserved2, etc */
4079 },
4080 {
4081 "req_set_mac_address",
4082 102,
4083 PROTOBUF_C_LABEL_NONE,
4084 PROTOBUF_C_TYPE_MESSAGE,
4085 offsetof(CtrlMsg, payload_case),
4086 offsetof(CtrlMsg, req_set_mac_address),
4087 &ctrl_msg__req__set_mac_address__descriptor,
4088 NULL,
4089 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4090 0,NULL,NULL /* reserved1,reserved2, etc */
4091 },
4092 {
4093 "req_get_wifi_mode",
4094 103,
4095 PROTOBUF_C_LABEL_NONE,
4096 PROTOBUF_C_TYPE_MESSAGE,
4097 offsetof(CtrlMsg, payload_case),
4098 offsetof(CtrlMsg, req_get_wifi_mode),
4099 &ctrl_msg__req__get_mode__descriptor,
4100 NULL,
4101 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4102 0,NULL,NULL /* reserved1,reserved2, etc */
4103 },
4104 {
4105 "req_set_wifi_mode",
4106 104,
4107 PROTOBUF_C_LABEL_NONE,
4108 PROTOBUF_C_TYPE_MESSAGE,
4109 offsetof(CtrlMsg, payload_case),
4110 offsetof(CtrlMsg, req_set_wifi_mode),
4111 &ctrl_msg__req__set_mode__descriptor,
4112 NULL,
4113 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4114 0,NULL,NULL /* reserved1,reserved2, etc */
4115 },
4116 {
4117 "req_scan_ap_list",
4118 105,
4119 PROTOBUF_C_LABEL_NONE,
4120 PROTOBUF_C_TYPE_MESSAGE,
4121 offsetof(CtrlMsg, payload_case),
4122 offsetof(CtrlMsg, req_scan_ap_list),
4123 &ctrl_msg__req__scan_result__descriptor,
4124 NULL,
4125 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4126 0,NULL,NULL /* reserved1,reserved2, etc */
4127 },
4128 {
4129 "req_get_ap_config",
4130 106,
4131 PROTOBUF_C_LABEL_NONE,
4132 PROTOBUF_C_TYPE_MESSAGE,
4133 offsetof(CtrlMsg, payload_case),
4134 offsetof(CtrlMsg, req_get_ap_config),
4135 &ctrl_msg__req__get_apconfig__descriptor,
4136 NULL,
4137 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4138 0,NULL,NULL /* reserved1,reserved2, etc */
4139 },
4140 {
4141 "req_connect_ap",
4142 107,
4143 PROTOBUF_C_LABEL_NONE,
4144 PROTOBUF_C_TYPE_MESSAGE,
4145 offsetof(CtrlMsg, payload_case),
4146 offsetof(CtrlMsg, req_connect_ap),
4147 &ctrl_msg__req__connect_ap__descriptor,
4148 NULL,
4149 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4150 0,NULL,NULL /* reserved1,reserved2, etc */
4151 },
4152 {
4153 "req_disconnect_ap",
4154 108,
4155 PROTOBUF_C_LABEL_NONE,
4156 PROTOBUF_C_TYPE_MESSAGE,
4157 offsetof(CtrlMsg, payload_case),
4158 offsetof(CtrlMsg, req_disconnect_ap),
4159 &ctrl_msg__req__get_status__descriptor,
4160 NULL,
4161 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4162 0,NULL,NULL /* reserved1,reserved2, etc */
4163 },
4164 {
4165 "req_get_softap_config",
4166 109,
4167 PROTOBUF_C_LABEL_NONE,
4168 PROTOBUF_C_TYPE_MESSAGE,
4169 offsetof(CtrlMsg, payload_case),
4170 offsetof(CtrlMsg, req_get_softap_config),
4171 &ctrl_msg__req__get_soft_apconfig__descriptor,
4172 NULL,
4173 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4174 0,NULL,NULL /* reserved1,reserved2, etc */
4175 },
4176 {
4177 "req_set_softap_vendor_specific_ie",
4178 110,
4179 PROTOBUF_C_LABEL_NONE,
4180 PROTOBUF_C_TYPE_MESSAGE,
4181 offsetof(CtrlMsg, payload_case),
4182 offsetof(CtrlMsg, req_set_softap_vendor_specific_ie),
4183 &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor,
4184 NULL,
4185 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4186 0,NULL,NULL /* reserved1,reserved2, etc */
4187 },
4188 {
4189 "req_start_softap",
4190 111,
4191 PROTOBUF_C_LABEL_NONE,
4192 PROTOBUF_C_TYPE_MESSAGE,
4193 offsetof(CtrlMsg, payload_case),
4194 offsetof(CtrlMsg, req_start_softap),
4195 &ctrl_msg__req__start_soft_ap__descriptor,
4196 NULL,
4197 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4198 0,NULL,NULL /* reserved1,reserved2, etc */
4199 },
4200 {
4201 "req_softap_connected_stas_list",
4202 112,
4203 PROTOBUF_C_LABEL_NONE,
4204 PROTOBUF_C_TYPE_MESSAGE,
4205 offsetof(CtrlMsg, payload_case),
4206 offsetof(CtrlMsg, req_softap_connected_stas_list),
4207 &ctrl_msg__req__soft_apconnected_sta__descriptor,
4208 NULL,
4209 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4210 0,NULL,NULL /* reserved1,reserved2, etc */
4211 },
4212 {
4213 "req_stop_softap",
4214 113,
4215 PROTOBUF_C_LABEL_NONE,
4216 PROTOBUF_C_TYPE_MESSAGE,
4217 offsetof(CtrlMsg, payload_case),
4218 offsetof(CtrlMsg, req_stop_softap),
4219 &ctrl_msg__req__get_status__descriptor,
4220 NULL,
4221 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4222 0,NULL,NULL /* reserved1,reserved2, etc */
4223 },
4224 {
4225 "req_set_power_save_mode",
4226 114,
4227 PROTOBUF_C_LABEL_NONE,
4228 PROTOBUF_C_TYPE_MESSAGE,
4229 offsetof(CtrlMsg, payload_case),
4230 offsetof(CtrlMsg, req_set_power_save_mode),
4231 &ctrl_msg__req__set_mode__descriptor,
4232 NULL,
4233 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4234 0,NULL,NULL /* reserved1,reserved2, etc */
4235 },
4236 {
4237 "req_get_power_save_mode",
4238 115,
4239 PROTOBUF_C_LABEL_NONE,
4240 PROTOBUF_C_TYPE_MESSAGE,
4241 offsetof(CtrlMsg, payload_case),
4242 offsetof(CtrlMsg, req_get_power_save_mode),
4243 &ctrl_msg__req__get_mode__descriptor,
4244 NULL,
4245 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4246 0,NULL,NULL /* reserved1,reserved2, etc */
4247 },
4248 {
4249 "req_ota_begin",
4250 116,
4251 PROTOBUF_C_LABEL_NONE,
4252 PROTOBUF_C_TYPE_MESSAGE,
4253 offsetof(CtrlMsg, payload_case),
4254 offsetof(CtrlMsg, req_ota_begin),
4255 &ctrl_msg__req__otabegin__descriptor,
4256 NULL,
4257 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4258 0,NULL,NULL /* reserved1,reserved2, etc */
4259 },
4260 {
4261 "req_ota_write",
4262 117,
4263 PROTOBUF_C_LABEL_NONE,
4264 PROTOBUF_C_TYPE_MESSAGE,
4265 offsetof(CtrlMsg, payload_case),
4266 offsetof(CtrlMsg, req_ota_write),
4267 &ctrl_msg__req__otawrite__descriptor,
4268 NULL,
4269 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4270 0,NULL,NULL /* reserved1,reserved2, etc */
4271 },
4272 {
4273 "req_ota_end",
4274 118,
4275 PROTOBUF_C_LABEL_NONE,
4276 PROTOBUF_C_TYPE_MESSAGE,
4277 offsetof(CtrlMsg, payload_case),
4278 offsetof(CtrlMsg, req_ota_end),
4279 &ctrl_msg__req__otaend__descriptor,
4280 NULL,
4281 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4282 0,NULL,NULL /* reserved1,reserved2, etc */
4283 },
4284 {
4285 "req_set_wifi_max_tx_power",
4286 119,
4287 PROTOBUF_C_LABEL_NONE,
4288 PROTOBUF_C_TYPE_MESSAGE,
4289 offsetof(CtrlMsg, payload_case),
4290 offsetof(CtrlMsg, req_set_wifi_max_tx_power),
4291 &ctrl_msg__req__set_wifi_max_tx_power__descriptor,
4292 NULL,
4293 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4294 0,NULL,NULL /* reserved1,reserved2, etc */
4295 },
4296 {
4297 "req_get_wifi_curr_tx_power",
4298 120,
4299 PROTOBUF_C_LABEL_NONE,
4300 PROTOBUF_C_TYPE_MESSAGE,
4301 offsetof(CtrlMsg, payload_case),
4302 offsetof(CtrlMsg, req_get_wifi_curr_tx_power),
4303 &ctrl_msg__req__get_wifi_curr_tx_power__descriptor,
4304 NULL,
4305 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4306 0,NULL,NULL /* reserved1,reserved2, etc */
4307 },
4308 {
4309 "req_config_heartbeat",
4310 121,
4311 PROTOBUF_C_LABEL_NONE,
4312 PROTOBUF_C_TYPE_MESSAGE,
4313 offsetof(CtrlMsg, payload_case),
4314 offsetof(CtrlMsg, req_config_heartbeat),
4315 &ctrl_msg__req__config_heartbeat__descriptor,
4316 NULL,
4317 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4318 0,NULL,NULL /* reserved1,reserved2, etc */
4319 },
4320 {
4321 "resp_get_mac_address",
4322 201,
4323 PROTOBUF_C_LABEL_NONE,
4324 PROTOBUF_C_TYPE_MESSAGE,
4325 offsetof(CtrlMsg, payload_case),
4326 offsetof(CtrlMsg, resp_get_mac_address),
4327 &ctrl_msg__resp__get_mac_address__descriptor,
4328 NULL,
4329 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4330 0,NULL,NULL /* reserved1,reserved2, etc */
4331 },
4332 {
4333 "resp_set_mac_address",
4334 202,
4335 PROTOBUF_C_LABEL_NONE,
4336 PROTOBUF_C_TYPE_MESSAGE,
4337 offsetof(CtrlMsg, payload_case),
4338 offsetof(CtrlMsg, resp_set_mac_address),
4339 &ctrl_msg__resp__set_mac_address__descriptor,
4340 NULL,
4341 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4342 0,NULL,NULL /* reserved1,reserved2, etc */
4343 },
4344 {
4345 "resp_get_wifi_mode",
4346 203,
4347 PROTOBUF_C_LABEL_NONE,
4348 PROTOBUF_C_TYPE_MESSAGE,
4349 offsetof(CtrlMsg, payload_case),
4350 offsetof(CtrlMsg, resp_get_wifi_mode),
4351 &ctrl_msg__resp__get_mode__descriptor,
4352 NULL,
4353 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4354 0,NULL,NULL /* reserved1,reserved2, etc */
4355 },
4356 {
4357 "resp_set_wifi_mode",
4358 204,
4359 PROTOBUF_C_LABEL_NONE,
4360 PROTOBUF_C_TYPE_MESSAGE,
4361 offsetof(CtrlMsg, payload_case),
4362 offsetof(CtrlMsg, resp_set_wifi_mode),
4363 &ctrl_msg__resp__set_mode__descriptor,
4364 NULL,
4365 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4366 0,NULL,NULL /* reserved1,reserved2, etc */
4367 },
4368 {
4369 "resp_scan_ap_list",
4370 205,
4371 PROTOBUF_C_LABEL_NONE,
4372 PROTOBUF_C_TYPE_MESSAGE,
4373 offsetof(CtrlMsg, payload_case),
4374 offsetof(CtrlMsg, resp_scan_ap_list),
4375 &ctrl_msg__resp__scan_result__descriptor,
4376 NULL,
4377 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4378 0,NULL,NULL /* reserved1,reserved2, etc */
4379 },
4380 {
4381 "resp_get_ap_config",
4382 206,
4383 PROTOBUF_C_LABEL_NONE,
4384 PROTOBUF_C_TYPE_MESSAGE,
4385 offsetof(CtrlMsg, payload_case),
4386 offsetof(CtrlMsg, resp_get_ap_config),
4387 &ctrl_msg__resp__get_apconfig__descriptor,
4388 NULL,
4389 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4390 0,NULL,NULL /* reserved1,reserved2, etc */
4391 },
4392 {
4393 "resp_connect_ap",
4394 207,
4395 PROTOBUF_C_LABEL_NONE,
4396 PROTOBUF_C_TYPE_MESSAGE,
4397 offsetof(CtrlMsg, payload_case),
4398 offsetof(CtrlMsg, resp_connect_ap),
4399 &ctrl_msg__resp__connect_ap__descriptor,
4400 NULL,
4401 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4402 0,NULL,NULL /* reserved1,reserved2, etc */
4403 },
4404 {
4405 "resp_disconnect_ap",
4406 208,
4407 PROTOBUF_C_LABEL_NONE,
4408 PROTOBUF_C_TYPE_MESSAGE,
4409 offsetof(CtrlMsg, payload_case),
4410 offsetof(CtrlMsg, resp_disconnect_ap),
4411 &ctrl_msg__resp__get_status__descriptor,
4412 NULL,
4413 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4414 0,NULL,NULL /* reserved1,reserved2, etc */
4415 },
4416 {
4417 "resp_get_softap_config",
4418 209,
4419 PROTOBUF_C_LABEL_NONE,
4420 PROTOBUF_C_TYPE_MESSAGE,
4421 offsetof(CtrlMsg, payload_case),
4422 offsetof(CtrlMsg, resp_get_softap_config),
4423 &ctrl_msg__resp__get_soft_apconfig__descriptor,
4424 NULL,
4425 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4426 0,NULL,NULL /* reserved1,reserved2, etc */
4427 },
4428 {
4429 "resp_set_softap_vendor_specific_ie",
4430 210,
4431 PROTOBUF_C_LABEL_NONE,
4432 PROTOBUF_C_TYPE_MESSAGE,
4433 offsetof(CtrlMsg, payload_case),
4434 offsetof(CtrlMsg, resp_set_softap_vendor_specific_ie),
4435 &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor,
4436 NULL,
4437 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4438 0,NULL,NULL /* reserved1,reserved2, etc */
4439 },
4440 {
4441 "resp_start_softap",
4442 211,
4443 PROTOBUF_C_LABEL_NONE,
4444 PROTOBUF_C_TYPE_MESSAGE,
4445 offsetof(CtrlMsg, payload_case),
4446 offsetof(CtrlMsg, resp_start_softap),
4447 &ctrl_msg__resp__start_soft_ap__descriptor,
4448 NULL,
4449 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4450 0,NULL,NULL /* reserved1,reserved2, etc */
4451 },
4452 {
4453 "resp_softap_connected_stas_list",
4454 212,
4455 PROTOBUF_C_LABEL_NONE,
4456 PROTOBUF_C_TYPE_MESSAGE,
4457 offsetof(CtrlMsg, payload_case),
4458 offsetof(CtrlMsg, resp_softap_connected_stas_list),
4459 &ctrl_msg__resp__soft_apconnected_sta__descriptor,
4460 NULL,
4461 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4462 0,NULL,NULL /* reserved1,reserved2, etc */
4463 },
4464 {
4465 "resp_stop_softap",
4466 213,
4467 PROTOBUF_C_LABEL_NONE,
4468 PROTOBUF_C_TYPE_MESSAGE,
4469 offsetof(CtrlMsg, payload_case),
4470 offsetof(CtrlMsg, resp_stop_softap),
4471 &ctrl_msg__resp__get_status__descriptor,
4472 NULL,
4473 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4474 0,NULL,NULL /* reserved1,reserved2, etc */
4475 },
4476 {
4477 "resp_set_power_save_mode",
4478 214,
4479 PROTOBUF_C_LABEL_NONE,
4480 PROTOBUF_C_TYPE_MESSAGE,
4481 offsetof(CtrlMsg, payload_case),
4482 offsetof(CtrlMsg, resp_set_power_save_mode),
4483 &ctrl_msg__resp__set_mode__descriptor,
4484 NULL,
4485 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4486 0,NULL,NULL /* reserved1,reserved2, etc */
4487 },
4488 {
4489 "resp_get_power_save_mode",
4490 215,
4491 PROTOBUF_C_LABEL_NONE,
4492 PROTOBUF_C_TYPE_MESSAGE,
4493 offsetof(CtrlMsg, payload_case),
4494 offsetof(CtrlMsg, resp_get_power_save_mode),
4495 &ctrl_msg__resp__get_mode__descriptor,
4496 NULL,
4497 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4498 0,NULL,NULL /* reserved1,reserved2, etc */
4499 },
4500 {
4501 "resp_ota_begin",
4502 216,
4503 PROTOBUF_C_LABEL_NONE,
4504 PROTOBUF_C_TYPE_MESSAGE,
4505 offsetof(CtrlMsg, payload_case),
4506 offsetof(CtrlMsg, resp_ota_begin),
4507 &ctrl_msg__resp__otabegin__descriptor,
4508 NULL,
4509 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4510 0,NULL,NULL /* reserved1,reserved2, etc */
4511 },
4512 {
4513 "resp_ota_write",
4514 217,
4515 PROTOBUF_C_LABEL_NONE,
4516 PROTOBUF_C_TYPE_MESSAGE,
4517 offsetof(CtrlMsg, payload_case),
4518 offsetof(CtrlMsg, resp_ota_write),
4519 &ctrl_msg__resp__otawrite__descriptor,
4520 NULL,
4521 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4522 0,NULL,NULL /* reserved1,reserved2, etc */
4523 },
4524 {
4525 "resp_ota_end",
4526 218,
4527 PROTOBUF_C_LABEL_NONE,
4528 PROTOBUF_C_TYPE_MESSAGE,
4529 offsetof(CtrlMsg, payload_case),
4530 offsetof(CtrlMsg, resp_ota_end),
4531 &ctrl_msg__resp__otaend__descriptor,
4532 NULL,
4533 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4534 0,NULL,NULL /* reserved1,reserved2, etc */
4535 },
4536 {
4537 "resp_set_wifi_max_tx_power",
4538 219,
4539 PROTOBUF_C_LABEL_NONE,
4540 PROTOBUF_C_TYPE_MESSAGE,
4541 offsetof(CtrlMsg, payload_case),
4542 offsetof(CtrlMsg, resp_set_wifi_max_tx_power),
4543 &ctrl_msg__resp__set_wifi_max_tx_power__descriptor,
4544 NULL,
4545 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4546 0,NULL,NULL /* reserved1,reserved2, etc */
4547 },
4548 {
4549 "resp_get_wifi_curr_tx_power",
4550 220,
4551 PROTOBUF_C_LABEL_NONE,
4552 PROTOBUF_C_TYPE_MESSAGE,
4553 offsetof(CtrlMsg, payload_case),
4554 offsetof(CtrlMsg, resp_get_wifi_curr_tx_power),
4555 &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor,
4556 NULL,
4557 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4558 0,NULL,NULL /* reserved1,reserved2, etc */
4559 },
4560 {
4561 "resp_config_heartbeat",
4562 221,
4563 PROTOBUF_C_LABEL_NONE,
4564 PROTOBUF_C_TYPE_MESSAGE,
4565 offsetof(CtrlMsg, payload_case),
4566 offsetof(CtrlMsg, resp_config_heartbeat),
4567 &ctrl_msg__resp__config_heartbeat__descriptor,
4568 NULL,
4569 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4570 0,NULL,NULL /* reserved1,reserved2, etc */
4571 },
4572 {
4573 "event_esp_init",
4574 301,
4575 PROTOBUF_C_LABEL_NONE,
4576 PROTOBUF_C_TYPE_MESSAGE,
4577 offsetof(CtrlMsg, payload_case),
4578 offsetof(CtrlMsg, event_esp_init),
4579 &ctrl_msg__event__espinit__descriptor,
4580 NULL,
4581 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4582 0,NULL,NULL /* reserved1,reserved2, etc */
4583 },
4584 {
4585 "event_heartbeat",
4586 302,
4587 PROTOBUF_C_LABEL_NONE,
4588 PROTOBUF_C_TYPE_MESSAGE,
4589 offsetof(CtrlMsg, payload_case),
4590 offsetof(CtrlMsg, event_heartbeat),
4591 &ctrl_msg__event__heartbeat__descriptor,
4592 NULL,
4593 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4594 0,NULL,NULL /* reserved1,reserved2, etc */
4595 },
4596 {
4597 "event_station_disconnect_from_AP",
4598 303,
4599 PROTOBUF_C_LABEL_NONE,
4600 PROTOBUF_C_TYPE_MESSAGE,
4601 offsetof(CtrlMsg, payload_case),
4602 offsetof(CtrlMsg, event_station_disconnect_from_ap),
4603 &ctrl_msg__event__station_disconnect_from_ap__descriptor,
4604 NULL,
4605 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4606 0,NULL,NULL /* reserved1,reserved2, etc */
4607 },
4608 {
4609 "event_station_disconnect_from_ESP_SoftAP",
4610 304,
4611 PROTOBUF_C_LABEL_NONE,
4612 PROTOBUF_C_TYPE_MESSAGE,
4613 offsetof(CtrlMsg, payload_case),
4614 offsetof(CtrlMsg, event_station_disconnect_from_esp_softap),
4615 &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor,
4616 NULL,
4617 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
4618 0,NULL,NULL /* reserved1,reserved2, etc */
4619 },
4620};
4621static const unsigned ctrl_msg__field_indices_by_name[] = {
4622 44, /* field[44] = event_esp_init */
4623 45, /* field[45] = event_heartbeat */
4624 46, /* field[46] = event_station_disconnect_from_AP */
4625 47, /* field[47] = event_station_disconnect_from_ESP_SoftAP */
4626 1, /* field[1] = msg_id */
4627 0, /* field[0] = msg_type */
4628 22, /* field[22] = req_config_heartbeat */
4629 8, /* field[8] = req_connect_ap */
4630 9, /* field[9] = req_disconnect_ap */
4631 7, /* field[7] = req_get_ap_config */
4632 2, /* field[2] = req_get_mac_address */
4633 16, /* field[16] = req_get_power_save_mode */
4634 10, /* field[10] = req_get_softap_config */
4635 21, /* field[21] = req_get_wifi_curr_tx_power */
4636 4, /* field[4] = req_get_wifi_mode */
4637 17, /* field[17] = req_ota_begin */
4638 19, /* field[19] = req_ota_end */
4639 18, /* field[18] = req_ota_write */
4640 6, /* field[6] = req_scan_ap_list */
4641 3, /* field[3] = req_set_mac_address */
4642 15, /* field[15] = req_set_power_save_mode */
4643 11, /* field[11] = req_set_softap_vendor_specific_ie */
4644 20, /* field[20] = req_set_wifi_max_tx_power */
4645 5, /* field[5] = req_set_wifi_mode */
4646 13, /* field[13] = req_softap_connected_stas_list */
4647 12, /* field[12] = req_start_softap */
4648 14, /* field[14] = req_stop_softap */
4649 43, /* field[43] = resp_config_heartbeat */
4650 29, /* field[29] = resp_connect_ap */
4651 30, /* field[30] = resp_disconnect_ap */
4652 28, /* field[28] = resp_get_ap_config */
4653 23, /* field[23] = resp_get_mac_address */
4654 37, /* field[37] = resp_get_power_save_mode */
4655 31, /* field[31] = resp_get_softap_config */
4656 42, /* field[42] = resp_get_wifi_curr_tx_power */
4657 25, /* field[25] = resp_get_wifi_mode */
4658 38, /* field[38] = resp_ota_begin */
4659 40, /* field[40] = resp_ota_end */
4660 39, /* field[39] = resp_ota_write */
4661 27, /* field[27] = resp_scan_ap_list */
4662 24, /* field[24] = resp_set_mac_address */
4663 36, /* field[36] = resp_set_power_save_mode */
4664 32, /* field[32] = resp_set_softap_vendor_specific_ie */
4665 41, /* field[41] = resp_set_wifi_max_tx_power */
4666 26, /* field[26] = resp_set_wifi_mode */
4667 34, /* field[34] = resp_softap_connected_stas_list */
4668 33, /* field[33] = resp_start_softap */
4669 35, /* field[35] = resp_stop_softap */
4670};
4671static const ProtobufCIntRange ctrl_msg__number_ranges[4 + 1] =
4672{
4673 { 1, 0 },
4674 { 101, 2 },
4675 { 201, 23 },
4676 { 301, 44 },
4677 { 0, 48 }
4678};
4679const ProtobufCMessageDescriptor ctrl_msg__descriptor =
4680{
4681 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
4682 "CtrlMsg",
4683 "CtrlMsg",
4684 "CtrlMsg",
4685 "",
4686 sizeof(CtrlMsg),
4687 48,
4688 ctrl_msg__field_descriptors,
4689 ctrl_msg__field_indices_by_name,
4690 4, ctrl_msg__number_ranges,
4691 (ProtobufCMessageInit) ctrl_msg__init,
4692 NULL,NULL,NULL /* reserved[123] */
4693};
4694static const ProtobufCEnumValue ctrl__vendor_ietype__enum_values_by_number[5] =
4695{
4696 { "Beacon", "CTRL__VENDOR_IETYPE__Beacon", 0 },
4697 { "Probe_req", "CTRL__VENDOR_IETYPE__Probe_req", 1 },
4698 { "Probe_resp", "CTRL__VENDOR_IETYPE__Probe_resp", 2 },
4699 { "Assoc_req", "CTRL__VENDOR_IETYPE__Assoc_req", 3 },
4700 { "Assoc_resp", "CTRL__VENDOR_IETYPE__Assoc_resp", 4 },
4701};
4702static const ProtobufCIntRange ctrl__vendor_ietype__value_ranges[] = {
4703{0, 0},{0, 5}
4704};
4705static const ProtobufCEnumValueIndex ctrl__vendor_ietype__enum_values_by_name[5] =
4706{
4707 { "Assoc_req", 3 },
4708 { "Assoc_resp", 4 },
4709 { "Beacon", 0 },
4710 { "Probe_req", 1 },
4711 { "Probe_resp", 2 },
4712};
4713const ProtobufCEnumDescriptor ctrl__vendor_ietype__descriptor =
4714{
4715 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4716 "Ctrl_VendorIEType",
4717 "Ctrl_VendorIEType",
4718 "CtrlVendorIEType",
4719 "",
4720 5,
4721 ctrl__vendor_ietype__enum_values_by_number,
4722 5,
4723 ctrl__vendor_ietype__enum_values_by_name,
4724 1,
4725 ctrl__vendor_ietype__value_ranges,
4726 NULL,NULL,NULL,NULL /* reserved[1234] */
4727};
4728static const ProtobufCEnumValue ctrl__vendor_ieid__enum_values_by_number[2] =
4729{
4730 { "ID_0", "CTRL__VENDOR_IEID__ID_0", 0 },
4731 { "ID_1", "CTRL__VENDOR_IEID__ID_1", 1 },
4732};
4733static const ProtobufCIntRange ctrl__vendor_ieid__value_ranges[] = {
4734{0, 0},{0, 2}
4735};
4736static const ProtobufCEnumValueIndex ctrl__vendor_ieid__enum_values_by_name[2] =
4737{
4738 { "ID_0", 0 },
4739 { "ID_1", 1 },
4740};
4741const ProtobufCEnumDescriptor ctrl__vendor_ieid__descriptor =
4742{
4743 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4744 "Ctrl_VendorIEID",
4745 "Ctrl_VendorIEID",
4746 "CtrlVendorIEID",
4747 "",
4748 2,
4749 ctrl__vendor_ieid__enum_values_by_number,
4750 2,
4751 ctrl__vendor_ieid__enum_values_by_name,
4752 1,
4753 ctrl__vendor_ieid__value_ranges,
4754 NULL,NULL,NULL,NULL /* reserved[1234] */
4755};
4756static const ProtobufCEnumValue ctrl__wifi_mode__enum_values_by_number[4] =
4757{
4758 { "NONE", "CTRL__WIFI_MODE__NONE", 0 },
4759 { "STA", "CTRL__WIFI_MODE__STA", 1 },
4760 { "AP", "CTRL__WIFI_MODE__AP", 2 },
4761 { "APSTA", "CTRL__WIFI_MODE__APSTA", 3 },
4762};
4763static const ProtobufCIntRange ctrl__wifi_mode__value_ranges[] = {
4764{0, 0},{0, 4}
4765};
4766static const ProtobufCEnumValueIndex ctrl__wifi_mode__enum_values_by_name[4] =
4767{
4768 { "AP", 2 },
4769 { "APSTA", 3 },
4770 { "NONE", 0 },
4771 { "STA", 1 },
4772};
4773const ProtobufCEnumDescriptor ctrl__wifi_mode__descriptor =
4774{
4775 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4776 "Ctrl_WifiMode",
4777 "Ctrl_WifiMode",
4778 "CtrlWifiMode",
4779 "",
4780 4,
4781 ctrl__wifi_mode__enum_values_by_number,
4782 4,
4783 ctrl__wifi_mode__enum_values_by_name,
4784 1,
4785 ctrl__wifi_mode__value_ranges,
4786 NULL,NULL,NULL,NULL /* reserved[1234] */
4787};
4788static const ProtobufCEnumValue ctrl__wifi_bw__enum_values_by_number[3] =
4789{
4790 { "BW_Invalid", "CTRL__WIFI_BW__BW_Invalid", 0 },
4791 { "HT20", "CTRL__WIFI_BW__HT20", 1 },
4792 { "HT40", "CTRL__WIFI_BW__HT40", 2 },
4793};
4794static const ProtobufCIntRange ctrl__wifi_bw__value_ranges[] = {
4795{0, 0},{0, 3}
4796};
4797static const ProtobufCEnumValueIndex ctrl__wifi_bw__enum_values_by_name[3] =
4798{
4799 { "BW_Invalid", 0 },
4800 { "HT20", 1 },
4801 { "HT40", 2 },
4802};
4803const ProtobufCEnumDescriptor ctrl__wifi_bw__descriptor =
4804{
4805 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4806 "Ctrl_WifiBw",
4807 "Ctrl_WifiBw",
4808 "CtrlWifiBw",
4809 "",
4810 3,
4811 ctrl__wifi_bw__enum_values_by_number,
4812 3,
4813 ctrl__wifi_bw__enum_values_by_name,
4814 1,
4815 ctrl__wifi_bw__value_ranges,
4816 NULL,NULL,NULL,NULL /* reserved[1234] */
4817};
4818static const ProtobufCEnumValue ctrl__wifi_power_save__enum_values_by_number[3] =
4819{
4820 { "PS_Invalid", "CTRL__WIFI_POWER_SAVE__PS_Invalid", 0 },
4821 { "MIN_MODEM", "CTRL__WIFI_POWER_SAVE__MIN_MODEM", 1 },
4822 { "MAX_MODEM", "CTRL__WIFI_POWER_SAVE__MAX_MODEM", 2 },
4823};
4824static const ProtobufCIntRange ctrl__wifi_power_save__value_ranges[] = {
4825{0, 0},{0, 3}
4826};
4827static const ProtobufCEnumValueIndex ctrl__wifi_power_save__enum_values_by_name[3] =
4828{
4829 { "MAX_MODEM", 2 },
4830 { "MIN_MODEM", 1 },
4831 { "PS_Invalid", 0 },
4832};
4833const ProtobufCEnumDescriptor ctrl__wifi_power_save__descriptor =
4834{
4835 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4836 "Ctrl_WifiPowerSave",
4837 "Ctrl_WifiPowerSave",
4838 "CtrlWifiPowerSave",
4839 "",
4840 3,
4841 ctrl__wifi_power_save__enum_values_by_number,
4842 3,
4843 ctrl__wifi_power_save__enum_values_by_name,
4844 1,
4845 ctrl__wifi_power_save__value_ranges,
4846 NULL,NULL,NULL,NULL /* reserved[1234] */
4847};
4848static const ProtobufCEnumValue ctrl__wifi_sec_prot__enum_values_by_number[8] =
4849{
4850 { "Open", "CTRL__WIFI_SEC_PROT__Open", 0 },
4851 { "WEP", "CTRL__WIFI_SEC_PROT__WEP", 1 },
4852 { "WPA_PSK", "CTRL__WIFI_SEC_PROT__WPA_PSK", 2 },
4853 { "WPA2_PSK", "CTRL__WIFI_SEC_PROT__WPA2_PSK", 3 },
4854 { "WPA_WPA2_PSK", "CTRL__WIFI_SEC_PROT__WPA_WPA2_PSK", 4 },
4855 { "WPA2_ENTERPRISE", "CTRL__WIFI_SEC_PROT__WPA2_ENTERPRISE", 5 },
4856 { "WPA3_PSK", "CTRL__WIFI_SEC_PROT__WPA3_PSK", 6 },
4857 { "WPA2_WPA3_PSK", "CTRL__WIFI_SEC_PROT__WPA2_WPA3_PSK", 7 },
4858};
4859static const ProtobufCIntRange ctrl__wifi_sec_prot__value_ranges[] = {
4860{0, 0},{0, 8}
4861};
4862static const ProtobufCEnumValueIndex ctrl__wifi_sec_prot__enum_values_by_name[8] =
4863{
4864 { "Open", 0 },
4865 { "WEP", 1 },
4866 { "WPA2_ENTERPRISE", 5 },
4867 { "WPA2_PSK", 3 },
4868 { "WPA2_WPA3_PSK", 7 },
4869 { "WPA3_PSK", 6 },
4870 { "WPA_PSK", 2 },
4871 { "WPA_WPA2_PSK", 4 },
4872};
4873const ProtobufCEnumDescriptor ctrl__wifi_sec_prot__descriptor =
4874{
4875 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4876 "Ctrl_WifiSecProt",
4877 "Ctrl_WifiSecProt",
4878 "CtrlWifiSecProt",
4879 "",
4880 8,
4881 ctrl__wifi_sec_prot__enum_values_by_number,
4882 8,
4883 ctrl__wifi_sec_prot__enum_values_by_name,
4884 1,
4885 ctrl__wifi_sec_prot__value_ranges,
4886 NULL,NULL,NULL,NULL /* reserved[1234] */
4887};
4888static const ProtobufCEnumValue ctrl__status__enum_values_by_number[6] =
4889{
4890 { "Connected", "CTRL__STATUS__Connected", 0 },
4891 { "Not_Connected", "CTRL__STATUS__Not_Connected", 1 },
4892 { "No_AP_Found", "CTRL__STATUS__No_AP_Found", 2 },
4893 { "Connection_Fail", "CTRL__STATUS__Connection_Fail", 3 },
4894 { "Invalid_Argument", "CTRL__STATUS__Invalid_Argument", 4 },
4895 { "Out_Of_Range", "CTRL__STATUS__Out_Of_Range", 5 },
4896};
4897static const ProtobufCIntRange ctrl__status__value_ranges[] = {
4898{0, 0},{0, 6}
4899};
4900static const ProtobufCEnumValueIndex ctrl__status__enum_values_by_name[6] =
4901{
4902 { "Connected", 0 },
4903 { "Connection_Fail", 3 },
4904 { "Invalid_Argument", 4 },
4905 { "No_AP_Found", 2 },
4906 { "Not_Connected", 1 },
4907 { "Out_Of_Range", 5 },
4908};
4909const ProtobufCEnumDescriptor ctrl__status__descriptor =
4910{
4911 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4912 "Ctrl_Status",
4913 "Ctrl_Status",
4914 "CtrlStatus",
4915 "",
4916 6,
4917 ctrl__status__enum_values_by_number,
4918 6,
4919 ctrl__status__enum_values_by_name,
4920 1,
4921 ctrl__status__value_ranges,
4922 NULL,NULL,NULL,NULL /* reserved[1234] */
4923};
4924static const ProtobufCEnumValue ctrl_msg_type__enum_values_by_number[5] =
4925{
4926 { "MsgType_Invalid", "CTRL_MSG_TYPE__MsgType_Invalid", 0 },
4927 { "Req", "CTRL_MSG_TYPE__Req", 1 },
4928 { "Resp", "CTRL_MSG_TYPE__Resp", 2 },
4929 { "Event", "CTRL_MSG_TYPE__Event", 3 },
4930 { "MsgType_Max", "CTRL_MSG_TYPE__MsgType_Max", 4 },
4931};
4932static const ProtobufCIntRange ctrl_msg_type__value_ranges[] = {
4933{0, 0},{0, 5}
4934};
4935static const ProtobufCEnumValueIndex ctrl_msg_type__enum_values_by_name[5] =
4936{
4937 { "Event", 3 },
4938 { "MsgType_Invalid", 0 },
4939 { "MsgType_Max", 4 },
4940 { "Req", 1 },
4941 { "Resp", 2 },
4942};
4943const ProtobufCEnumDescriptor ctrl_msg_type__descriptor =
4944{
4945 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
4946 "CtrlMsgType",
4947 "CtrlMsgType",
4948 "CtrlMsgType",
4949 "",
4950 5,
4951 ctrl_msg_type__enum_values_by_number,
4952 5,
4953 ctrl_msg_type__enum_values_by_name,
4954 1,
4955 ctrl_msg_type__value_ranges,
4956 NULL,NULL,NULL,NULL /* reserved[1234] */
4957};
4958static const ProtobufCEnumValue ctrl_msg_id__enum_values_by_number[53] =
4959{
4960 { "MsgId_Invalid", "CTRL_MSG_ID__MsgId_Invalid", 0 },
4961 { "Req_Base", "CTRL_MSG_ID__Req_Base", 100 },
4962 { "Req_GetMACAddress", "CTRL_MSG_ID__Req_GetMACAddress", 101 },
4963 { "Req_SetMacAddress", "CTRL_MSG_ID__Req_SetMacAddress", 102 },
4964 { "Req_GetWifiMode", "CTRL_MSG_ID__Req_GetWifiMode", 103 },
4965 { "Req_SetWifiMode", "CTRL_MSG_ID__Req_SetWifiMode", 104 },
4966 { "Req_GetAPScanList", "CTRL_MSG_ID__Req_GetAPScanList", 105 },
4967 { "Req_GetAPConfig", "CTRL_MSG_ID__Req_GetAPConfig", 106 },
4968 { "Req_ConnectAP", "CTRL_MSG_ID__Req_ConnectAP", 107 },
4969 { "Req_DisconnectAP", "CTRL_MSG_ID__Req_DisconnectAP", 108 },
4970 { "Req_GetSoftAPConfig", "CTRL_MSG_ID__Req_GetSoftAPConfig", 109 },
4971 { "Req_SetSoftAPVendorSpecificIE", "CTRL_MSG_ID__Req_SetSoftAPVendorSpecificIE", 110 },
4972 { "Req_StartSoftAP", "CTRL_MSG_ID__Req_StartSoftAP", 111 },
4973 { "Req_GetSoftAPConnectedSTAList", "CTRL_MSG_ID__Req_GetSoftAPConnectedSTAList", 112 },
4974 { "Req_StopSoftAP", "CTRL_MSG_ID__Req_StopSoftAP", 113 },
4975 { "Req_SetPowerSaveMode", "CTRL_MSG_ID__Req_SetPowerSaveMode", 114 },
4976 { "Req_GetPowerSaveMode", "CTRL_MSG_ID__Req_GetPowerSaveMode", 115 },
4977 { "Req_OTABegin", "CTRL_MSG_ID__Req_OTABegin", 116 },
4978 { "Req_OTAWrite", "CTRL_MSG_ID__Req_OTAWrite", 117 },
4979 { "Req_OTAEnd", "CTRL_MSG_ID__Req_OTAEnd", 118 },
4980 { "Req_SetWifiMaxTxPower", "CTRL_MSG_ID__Req_SetWifiMaxTxPower", 119 },
4981 { "Req_GetWifiCurrTxPower", "CTRL_MSG_ID__Req_GetWifiCurrTxPower", 120 },
4982 { "Req_ConfigHeartbeat", "CTRL_MSG_ID__Req_ConfigHeartbeat", 121 },
4983 { "Req_Max", "CTRL_MSG_ID__Req_Max", 122 },
4984 { "Resp_Base", "CTRL_MSG_ID__Resp_Base", 200 },
4985 { "Resp_GetMACAddress", "CTRL_MSG_ID__Resp_GetMACAddress", 201 },
4986 { "Resp_SetMacAddress", "CTRL_MSG_ID__Resp_SetMacAddress", 202 },
4987 { "Resp_GetWifiMode", "CTRL_MSG_ID__Resp_GetWifiMode", 203 },
4988 { "Resp_SetWifiMode", "CTRL_MSG_ID__Resp_SetWifiMode", 204 },
4989 { "Resp_GetAPScanList", "CTRL_MSG_ID__Resp_GetAPScanList", 205 },
4990 { "Resp_GetAPConfig", "CTRL_MSG_ID__Resp_GetAPConfig", 206 },
4991 { "Resp_ConnectAP", "CTRL_MSG_ID__Resp_ConnectAP", 207 },
4992 { "Resp_DisconnectAP", "CTRL_MSG_ID__Resp_DisconnectAP", 208 },
4993 { "Resp_GetSoftAPConfig", "CTRL_MSG_ID__Resp_GetSoftAPConfig", 209 },
4994 { "Resp_SetSoftAPVendorSpecificIE", "CTRL_MSG_ID__Resp_SetSoftAPVendorSpecificIE", 210 },
4995 { "Resp_StartSoftAP", "CTRL_MSG_ID__Resp_StartSoftAP", 211 },
4996 { "Resp_GetSoftAPConnectedSTAList", "CTRL_MSG_ID__Resp_GetSoftAPConnectedSTAList", 212 },
4997 { "Resp_StopSoftAP", "CTRL_MSG_ID__Resp_StopSoftAP", 213 },
4998 { "Resp_SetPowerSaveMode", "CTRL_MSG_ID__Resp_SetPowerSaveMode", 214 },
4999 { "Resp_GetPowerSaveMode", "CTRL_MSG_ID__Resp_GetPowerSaveMode", 215 },
5000 { "Resp_OTABegin", "CTRL_MSG_ID__Resp_OTABegin", 216 },
5001 { "Resp_OTAWrite", "CTRL_MSG_ID__Resp_OTAWrite", 217 },
5002 { "Resp_OTAEnd", "CTRL_MSG_ID__Resp_OTAEnd", 218 },
5003 { "Resp_SetWifiMaxTxPower", "CTRL_MSG_ID__Resp_SetWifiMaxTxPower", 219 },
5004 { "Resp_GetWifiCurrTxPower", "CTRL_MSG_ID__Resp_GetWifiCurrTxPower", 220 },
5005 { "Resp_ConfigHeartbeat", "CTRL_MSG_ID__Resp_ConfigHeartbeat", 221 },
5006 { "Resp_Max", "CTRL_MSG_ID__Resp_Max", 222 },
5007 { "Event_Base", "CTRL_MSG_ID__Event_Base", 300 },
5008 { "Event_ESPInit", "CTRL_MSG_ID__Event_ESPInit", 301 },
5009 { "Event_Heartbeat", "CTRL_MSG_ID__Event_Heartbeat", 302 },
5010 { "Event_StationDisconnectFromAP", "CTRL_MSG_ID__Event_StationDisconnectFromAP", 303 },
5011 { "Event_StationDisconnectFromESPSoftAP", "CTRL_MSG_ID__Event_StationDisconnectFromESPSoftAP", 304 },
5012 { "Event_Max", "CTRL_MSG_ID__Event_Max", 305 },
5013};
5014static const ProtobufCIntRange ctrl_msg_id__value_ranges[] = {
5015{0, 0},{100, 1},{200, 24},{300, 47},{0, 53}
5016};
5017static const ProtobufCEnumValueIndex ctrl_msg_id__enum_values_by_name[53] =
5018{
5019 { "Event_Base", 47 },
5020 { "Event_ESPInit", 48 },
5021 { "Event_Heartbeat", 49 },
5022 { "Event_Max", 52 },
5023 { "Event_StationDisconnectFromAP", 50 },
5024 { "Event_StationDisconnectFromESPSoftAP", 51 },
5025 { "MsgId_Invalid", 0 },
5026 { "Req_Base", 1 },
5027 { "Req_ConfigHeartbeat", 22 },
5028 { "Req_ConnectAP", 8 },
5029 { "Req_DisconnectAP", 9 },
5030 { "Req_GetAPConfig", 7 },
5031 { "Req_GetAPScanList", 6 },
5032 { "Req_GetMACAddress", 2 },
5033 { "Req_GetPowerSaveMode", 16 },
5034 { "Req_GetSoftAPConfig", 10 },
5035 { "Req_GetSoftAPConnectedSTAList", 13 },
5036 { "Req_GetWifiCurrTxPower", 21 },
5037 { "Req_GetWifiMode", 4 },
5038 { "Req_Max", 23 },
5039 { "Req_OTABegin", 17 },
5040 { "Req_OTAEnd", 19 },
5041 { "Req_OTAWrite", 18 },
5042 { "Req_SetMacAddress", 3 },
5043 { "Req_SetPowerSaveMode", 15 },
5044 { "Req_SetSoftAPVendorSpecificIE", 11 },
5045 { "Req_SetWifiMaxTxPower", 20 },
5046 { "Req_SetWifiMode", 5 },
5047 { "Req_StartSoftAP", 12 },
5048 { "Req_StopSoftAP", 14 },
5049 { "Resp_Base", 24 },
5050 { "Resp_ConfigHeartbeat", 45 },
5051 { "Resp_ConnectAP", 31 },
5052 { "Resp_DisconnectAP", 32 },
5053 { "Resp_GetAPConfig", 30 },
5054 { "Resp_GetAPScanList", 29 },
5055 { "Resp_GetMACAddress", 25 },
5056 { "Resp_GetPowerSaveMode", 39 },
5057 { "Resp_GetSoftAPConfig", 33 },
5058 { "Resp_GetSoftAPConnectedSTAList", 36 },
5059 { "Resp_GetWifiCurrTxPower", 44 },
5060 { "Resp_GetWifiMode", 27 },
5061 { "Resp_Max", 46 },
5062 { "Resp_OTABegin", 40 },
5063 { "Resp_OTAEnd", 42 },
5064 { "Resp_OTAWrite", 41 },
5065 { "Resp_SetMacAddress", 26 },
5066 { "Resp_SetPowerSaveMode", 38 },
5067 { "Resp_SetSoftAPVendorSpecificIE", 34 },
5068 { "Resp_SetWifiMaxTxPower", 43 },
5069 { "Resp_SetWifiMode", 28 },
5070 { "Resp_StartSoftAP", 35 },
5071 { "Resp_StopSoftAP", 37 },
5072};
5073const ProtobufCEnumDescriptor ctrl_msg_id__descriptor =
5074{
5075 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
5076 "CtrlMsgId",
5077 "CtrlMsgId",
5078 "CtrlMsgId",
5079 "",
5080 53,
5081 ctrl_msg_id__enum_values_by_number,
5082 53,
5083 ctrl_msg_id__enum_values_by_name,
5084 4,
5085 ctrl_msg_id__value_ranges,
5086 NULL,NULL,NULL,NULL /* reserved[1234] */
5087};
This page took 0.066188 seconds and 4 git commands to generate.