1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: wifi_scan.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 "wifi_scan.pb-c.h"
cmd_scan_start__init(CmdScanStart * message)10 void   cmd_scan_start__init
11                      (CmdScanStart         *message)
12 {
13   static const CmdScanStart init_value = CMD_SCAN_START__INIT;
14   *message = init_value;
15 }
cmd_scan_start__get_packed_size(const CmdScanStart * message)16 size_t cmd_scan_start__get_packed_size
17                      (const CmdScanStart *message)
18 {
19   assert(message->base.descriptor == &cmd_scan_start__descriptor);
20   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
21 }
cmd_scan_start__pack(const CmdScanStart * message,uint8_t * out)22 size_t cmd_scan_start__pack
23                      (const CmdScanStart *message,
24                       uint8_t       *out)
25 {
26   assert(message->base.descriptor == &cmd_scan_start__descriptor);
27   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
28 }
cmd_scan_start__pack_to_buffer(const CmdScanStart * message,ProtobufCBuffer * buffer)29 size_t cmd_scan_start__pack_to_buffer
30                      (const CmdScanStart *message,
31                       ProtobufCBuffer *buffer)
32 {
33   assert(message->base.descriptor == &cmd_scan_start__descriptor);
34   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
35 }
36 CmdScanStart *
cmd_scan_start__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)37        cmd_scan_start__unpack
38                      (ProtobufCAllocator  *allocator,
39                       size_t               len,
40                       const uint8_t       *data)
41 {
42   return (CmdScanStart *)
43      protobuf_c_message_unpack (&cmd_scan_start__descriptor,
44                                 allocator, len, data);
45 }
cmd_scan_start__free_unpacked(CmdScanStart * message,ProtobufCAllocator * allocator)46 void   cmd_scan_start__free_unpacked
47                      (CmdScanStart *message,
48                       ProtobufCAllocator *allocator)
49 {
50   if(!message)
51     return;
52   assert(message->base.descriptor == &cmd_scan_start__descriptor);
53   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
54 }
resp_scan_start__init(RespScanStart * message)55 void   resp_scan_start__init
56                      (RespScanStart         *message)
57 {
58   static const RespScanStart init_value = RESP_SCAN_START__INIT;
59   *message = init_value;
60 }
resp_scan_start__get_packed_size(const RespScanStart * message)61 size_t resp_scan_start__get_packed_size
62                      (const RespScanStart *message)
63 {
64   assert(message->base.descriptor == &resp_scan_start__descriptor);
65   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
66 }
resp_scan_start__pack(const RespScanStart * message,uint8_t * out)67 size_t resp_scan_start__pack
68                      (const RespScanStart *message,
69                       uint8_t       *out)
70 {
71   assert(message->base.descriptor == &resp_scan_start__descriptor);
72   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
73 }
resp_scan_start__pack_to_buffer(const RespScanStart * message,ProtobufCBuffer * buffer)74 size_t resp_scan_start__pack_to_buffer
75                      (const RespScanStart *message,
76                       ProtobufCBuffer *buffer)
77 {
78   assert(message->base.descriptor == &resp_scan_start__descriptor);
79   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
80 }
81 RespScanStart *
resp_scan_start__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)82        resp_scan_start__unpack
83                      (ProtobufCAllocator  *allocator,
84                       size_t               len,
85                       const uint8_t       *data)
86 {
87   return (RespScanStart *)
88      protobuf_c_message_unpack (&resp_scan_start__descriptor,
89                                 allocator, len, data);
90 }
resp_scan_start__free_unpacked(RespScanStart * message,ProtobufCAllocator * allocator)91 void   resp_scan_start__free_unpacked
92                      (RespScanStart *message,
93                       ProtobufCAllocator *allocator)
94 {
95   if(!message)
96     return;
97   assert(message->base.descriptor == &resp_scan_start__descriptor);
98   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
99 }
cmd_scan_status__init(CmdScanStatus * message)100 void   cmd_scan_status__init
101                      (CmdScanStatus         *message)
102 {
103   static const CmdScanStatus init_value = CMD_SCAN_STATUS__INIT;
104   *message = init_value;
105 }
cmd_scan_status__get_packed_size(const CmdScanStatus * message)106 size_t cmd_scan_status__get_packed_size
107                      (const CmdScanStatus *message)
108 {
109   assert(message->base.descriptor == &cmd_scan_status__descriptor);
110   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
111 }
cmd_scan_status__pack(const CmdScanStatus * message,uint8_t * out)112 size_t cmd_scan_status__pack
113                      (const CmdScanStatus *message,
114                       uint8_t       *out)
115 {
116   assert(message->base.descriptor == &cmd_scan_status__descriptor);
117   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
118 }
cmd_scan_status__pack_to_buffer(const CmdScanStatus * message,ProtobufCBuffer * buffer)119 size_t cmd_scan_status__pack_to_buffer
120                      (const CmdScanStatus *message,
121                       ProtobufCBuffer *buffer)
122 {
123   assert(message->base.descriptor == &cmd_scan_status__descriptor);
124   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
125 }
126 CmdScanStatus *
cmd_scan_status__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)127        cmd_scan_status__unpack
128                      (ProtobufCAllocator  *allocator,
129                       size_t               len,
130                       const uint8_t       *data)
131 {
132   return (CmdScanStatus *)
133      protobuf_c_message_unpack (&cmd_scan_status__descriptor,
134                                 allocator, len, data);
135 }
cmd_scan_status__free_unpacked(CmdScanStatus * message,ProtobufCAllocator * allocator)136 void   cmd_scan_status__free_unpacked
137                      (CmdScanStatus *message,
138                       ProtobufCAllocator *allocator)
139 {
140   if(!message)
141     return;
142   assert(message->base.descriptor == &cmd_scan_status__descriptor);
143   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
144 }
resp_scan_status__init(RespScanStatus * message)145 void   resp_scan_status__init
146                      (RespScanStatus         *message)
147 {
148   static const RespScanStatus init_value = RESP_SCAN_STATUS__INIT;
149   *message = init_value;
150 }
resp_scan_status__get_packed_size(const RespScanStatus * message)151 size_t resp_scan_status__get_packed_size
152                      (const RespScanStatus *message)
153 {
154   assert(message->base.descriptor == &resp_scan_status__descriptor);
155   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
156 }
resp_scan_status__pack(const RespScanStatus * message,uint8_t * out)157 size_t resp_scan_status__pack
158                      (const RespScanStatus *message,
159                       uint8_t       *out)
160 {
161   assert(message->base.descriptor == &resp_scan_status__descriptor);
162   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
163 }
resp_scan_status__pack_to_buffer(const RespScanStatus * message,ProtobufCBuffer * buffer)164 size_t resp_scan_status__pack_to_buffer
165                      (const RespScanStatus *message,
166                       ProtobufCBuffer *buffer)
167 {
168   assert(message->base.descriptor == &resp_scan_status__descriptor);
169   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
170 }
171 RespScanStatus *
resp_scan_status__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)172        resp_scan_status__unpack
173                      (ProtobufCAllocator  *allocator,
174                       size_t               len,
175                       const uint8_t       *data)
176 {
177   return (RespScanStatus *)
178      protobuf_c_message_unpack (&resp_scan_status__descriptor,
179                                 allocator, len, data);
180 }
resp_scan_status__free_unpacked(RespScanStatus * message,ProtobufCAllocator * allocator)181 void   resp_scan_status__free_unpacked
182                      (RespScanStatus *message,
183                       ProtobufCAllocator *allocator)
184 {
185   if(!message)
186     return;
187   assert(message->base.descriptor == &resp_scan_status__descriptor);
188   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
189 }
cmd_scan_result__init(CmdScanResult * message)190 void   cmd_scan_result__init
191                      (CmdScanResult         *message)
192 {
193   static const CmdScanResult init_value = CMD_SCAN_RESULT__INIT;
194   *message = init_value;
195 }
cmd_scan_result__get_packed_size(const CmdScanResult * message)196 size_t cmd_scan_result__get_packed_size
197                      (const CmdScanResult *message)
198 {
199   assert(message->base.descriptor == &cmd_scan_result__descriptor);
200   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
201 }
cmd_scan_result__pack(const CmdScanResult * message,uint8_t * out)202 size_t cmd_scan_result__pack
203                      (const CmdScanResult *message,
204                       uint8_t       *out)
205 {
206   assert(message->base.descriptor == &cmd_scan_result__descriptor);
207   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
208 }
cmd_scan_result__pack_to_buffer(const CmdScanResult * message,ProtobufCBuffer * buffer)209 size_t cmd_scan_result__pack_to_buffer
210                      (const CmdScanResult *message,
211                       ProtobufCBuffer *buffer)
212 {
213   assert(message->base.descriptor == &cmd_scan_result__descriptor);
214   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
215 }
216 CmdScanResult *
cmd_scan_result__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)217        cmd_scan_result__unpack
218                      (ProtobufCAllocator  *allocator,
219                       size_t               len,
220                       const uint8_t       *data)
221 {
222   return (CmdScanResult *)
223      protobuf_c_message_unpack (&cmd_scan_result__descriptor,
224                                 allocator, len, data);
225 }
cmd_scan_result__free_unpacked(CmdScanResult * message,ProtobufCAllocator * allocator)226 void   cmd_scan_result__free_unpacked
227                      (CmdScanResult *message,
228                       ProtobufCAllocator *allocator)
229 {
230   if(!message)
231     return;
232   assert(message->base.descriptor == &cmd_scan_result__descriptor);
233   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
234 }
wi_fi_scan_result__init(WiFiScanResult * message)235 void   wi_fi_scan_result__init
236                      (WiFiScanResult         *message)
237 {
238   static const WiFiScanResult init_value = WI_FI_SCAN_RESULT__INIT;
239   *message = init_value;
240 }
wi_fi_scan_result__get_packed_size(const WiFiScanResult * message)241 size_t wi_fi_scan_result__get_packed_size
242                      (const WiFiScanResult *message)
243 {
244   assert(message->base.descriptor == &wi_fi_scan_result__descriptor);
245   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
246 }
wi_fi_scan_result__pack(const WiFiScanResult * message,uint8_t * out)247 size_t wi_fi_scan_result__pack
248                      (const WiFiScanResult *message,
249                       uint8_t       *out)
250 {
251   assert(message->base.descriptor == &wi_fi_scan_result__descriptor);
252   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
253 }
wi_fi_scan_result__pack_to_buffer(const WiFiScanResult * message,ProtobufCBuffer * buffer)254 size_t wi_fi_scan_result__pack_to_buffer
255                      (const WiFiScanResult *message,
256                       ProtobufCBuffer *buffer)
257 {
258   assert(message->base.descriptor == &wi_fi_scan_result__descriptor);
259   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
260 }
261 WiFiScanResult *
wi_fi_scan_result__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)262        wi_fi_scan_result__unpack
263                      (ProtobufCAllocator  *allocator,
264                       size_t               len,
265                       const uint8_t       *data)
266 {
267   return (WiFiScanResult *)
268      protobuf_c_message_unpack (&wi_fi_scan_result__descriptor,
269                                 allocator, len, data);
270 }
wi_fi_scan_result__free_unpacked(WiFiScanResult * message,ProtobufCAllocator * allocator)271 void   wi_fi_scan_result__free_unpacked
272                      (WiFiScanResult *message,
273                       ProtobufCAllocator *allocator)
274 {
275   if(!message)
276     return;
277   assert(message->base.descriptor == &wi_fi_scan_result__descriptor);
278   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
279 }
resp_scan_result__init(RespScanResult * message)280 void   resp_scan_result__init
281                      (RespScanResult         *message)
282 {
283   static const RespScanResult init_value = RESP_SCAN_RESULT__INIT;
284   *message = init_value;
285 }
resp_scan_result__get_packed_size(const RespScanResult * message)286 size_t resp_scan_result__get_packed_size
287                      (const RespScanResult *message)
288 {
289   assert(message->base.descriptor == &resp_scan_result__descriptor);
290   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
291 }
resp_scan_result__pack(const RespScanResult * message,uint8_t * out)292 size_t resp_scan_result__pack
293                      (const RespScanResult *message,
294                       uint8_t       *out)
295 {
296   assert(message->base.descriptor == &resp_scan_result__descriptor);
297   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
298 }
resp_scan_result__pack_to_buffer(const RespScanResult * message,ProtobufCBuffer * buffer)299 size_t resp_scan_result__pack_to_buffer
300                      (const RespScanResult *message,
301                       ProtobufCBuffer *buffer)
302 {
303   assert(message->base.descriptor == &resp_scan_result__descriptor);
304   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
305 }
306 RespScanResult *
resp_scan_result__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)307        resp_scan_result__unpack
308                      (ProtobufCAllocator  *allocator,
309                       size_t               len,
310                       const uint8_t       *data)
311 {
312   return (RespScanResult *)
313      protobuf_c_message_unpack (&resp_scan_result__descriptor,
314                                 allocator, len, data);
315 }
resp_scan_result__free_unpacked(RespScanResult * message,ProtobufCAllocator * allocator)316 void   resp_scan_result__free_unpacked
317                      (RespScanResult *message,
318                       ProtobufCAllocator *allocator)
319 {
320   if(!message)
321     return;
322   assert(message->base.descriptor == &resp_scan_result__descriptor);
323   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
324 }
wi_fi_scan_payload__init(WiFiScanPayload * message)325 void   wi_fi_scan_payload__init
326                      (WiFiScanPayload         *message)
327 {
328   static const WiFiScanPayload init_value = WI_FI_SCAN_PAYLOAD__INIT;
329   *message = init_value;
330 }
wi_fi_scan_payload__get_packed_size(const WiFiScanPayload * message)331 size_t wi_fi_scan_payload__get_packed_size
332                      (const WiFiScanPayload *message)
333 {
334   assert(message->base.descriptor == &wi_fi_scan_payload__descriptor);
335   return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
336 }
wi_fi_scan_payload__pack(const WiFiScanPayload * message,uint8_t * out)337 size_t wi_fi_scan_payload__pack
338                      (const WiFiScanPayload *message,
339                       uint8_t       *out)
340 {
341   assert(message->base.descriptor == &wi_fi_scan_payload__descriptor);
342   return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
343 }
wi_fi_scan_payload__pack_to_buffer(const WiFiScanPayload * message,ProtobufCBuffer * buffer)344 size_t wi_fi_scan_payload__pack_to_buffer
345                      (const WiFiScanPayload *message,
346                       ProtobufCBuffer *buffer)
347 {
348   assert(message->base.descriptor == &wi_fi_scan_payload__descriptor);
349   return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
350 }
351 WiFiScanPayload *
wi_fi_scan_payload__unpack(ProtobufCAllocator * allocator,size_t len,const uint8_t * data)352        wi_fi_scan_payload__unpack
353                      (ProtobufCAllocator  *allocator,
354                       size_t               len,
355                       const uint8_t       *data)
356 {
357   return (WiFiScanPayload *)
358      protobuf_c_message_unpack (&wi_fi_scan_payload__descriptor,
359                                 allocator, len, data);
360 }
wi_fi_scan_payload__free_unpacked(WiFiScanPayload * message,ProtobufCAllocator * allocator)361 void   wi_fi_scan_payload__free_unpacked
362                      (WiFiScanPayload *message,
363                       ProtobufCAllocator *allocator)
364 {
365   if(!message)
366     return;
367   assert(message->base.descriptor == &wi_fi_scan_payload__descriptor);
368   protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
369 }
370 static const ProtobufCFieldDescriptor cmd_scan_start__field_descriptors[4] =
371 {
372   {
373     "blocking",
374     1,
375     PROTOBUF_C_LABEL_NONE,
376     PROTOBUF_C_TYPE_BOOL,
377     0,   /* quantifier_offset */
378     offsetof(CmdScanStart, blocking),
379     NULL,
380     NULL,
381     0,             /* flags */
382     0,NULL,NULL    /* reserved1,reserved2, etc */
383   },
384   {
385     "passive",
386     2,
387     PROTOBUF_C_LABEL_NONE,
388     PROTOBUF_C_TYPE_BOOL,
389     0,   /* quantifier_offset */
390     offsetof(CmdScanStart, passive),
391     NULL,
392     NULL,
393     0,             /* flags */
394     0,NULL,NULL    /* reserved1,reserved2, etc */
395   },
396   {
397     "group_channels",
398     3,
399     PROTOBUF_C_LABEL_NONE,
400     PROTOBUF_C_TYPE_UINT32,
401     0,   /* quantifier_offset */
402     offsetof(CmdScanStart, group_channels),
403     NULL,
404     NULL,
405     0,             /* flags */
406     0,NULL,NULL    /* reserved1,reserved2, etc */
407   },
408   {
409     "period_ms",
410     4,
411     PROTOBUF_C_LABEL_NONE,
412     PROTOBUF_C_TYPE_UINT32,
413     0,   /* quantifier_offset */
414     offsetof(CmdScanStart, period_ms),
415     NULL,
416     NULL,
417     0,             /* flags */
418     0,NULL,NULL    /* reserved1,reserved2, etc */
419   },
420 };
421 static const unsigned cmd_scan_start__field_indices_by_name[] = {
422   0,   /* field[0] = blocking */
423   2,   /* field[2] = group_channels */
424   1,   /* field[1] = passive */
425   3,   /* field[3] = period_ms */
426 };
427 static const ProtobufCIntRange cmd_scan_start__number_ranges[1 + 1] =
428 {
429   { 1, 0 },
430   { 0, 4 }
431 };
432 const ProtobufCMessageDescriptor cmd_scan_start__descriptor =
433 {
434   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
435   "CmdScanStart",
436   "CmdScanStart",
437   "CmdScanStart",
438   "",
439   sizeof(CmdScanStart),
440   4,
441   cmd_scan_start__field_descriptors,
442   cmd_scan_start__field_indices_by_name,
443   1,  cmd_scan_start__number_ranges,
444   (ProtobufCMessageInit) cmd_scan_start__init,
445   NULL,NULL,NULL    /* reserved[123] */
446 };
447 #define resp_scan_start__field_descriptors NULL
448 #define resp_scan_start__field_indices_by_name NULL
449 #define resp_scan_start__number_ranges NULL
450 const ProtobufCMessageDescriptor resp_scan_start__descriptor =
451 {
452   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
453   "RespScanStart",
454   "RespScanStart",
455   "RespScanStart",
456   "",
457   sizeof(RespScanStart),
458   0,
459   resp_scan_start__field_descriptors,
460   resp_scan_start__field_indices_by_name,
461   0,  resp_scan_start__number_ranges,
462   (ProtobufCMessageInit) resp_scan_start__init,
463   NULL,NULL,NULL    /* reserved[123] */
464 };
465 #define cmd_scan_status__field_descriptors NULL
466 #define cmd_scan_status__field_indices_by_name NULL
467 #define cmd_scan_status__number_ranges NULL
468 const ProtobufCMessageDescriptor cmd_scan_status__descriptor =
469 {
470   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
471   "CmdScanStatus",
472   "CmdScanStatus",
473   "CmdScanStatus",
474   "",
475   sizeof(CmdScanStatus),
476   0,
477   cmd_scan_status__field_descriptors,
478   cmd_scan_status__field_indices_by_name,
479   0,  cmd_scan_status__number_ranges,
480   (ProtobufCMessageInit) cmd_scan_status__init,
481   NULL,NULL,NULL    /* reserved[123] */
482 };
483 static const ProtobufCFieldDescriptor resp_scan_status__field_descriptors[2] =
484 {
485   {
486     "scan_finished",
487     1,
488     PROTOBUF_C_LABEL_NONE,
489     PROTOBUF_C_TYPE_BOOL,
490     0,   /* quantifier_offset */
491     offsetof(RespScanStatus, scan_finished),
492     NULL,
493     NULL,
494     0,             /* flags */
495     0,NULL,NULL    /* reserved1,reserved2, etc */
496   },
497   {
498     "result_count",
499     2,
500     PROTOBUF_C_LABEL_NONE,
501     PROTOBUF_C_TYPE_UINT32,
502     0,   /* quantifier_offset */
503     offsetof(RespScanStatus, result_count),
504     NULL,
505     NULL,
506     0,             /* flags */
507     0,NULL,NULL    /* reserved1,reserved2, etc */
508   },
509 };
510 static const unsigned resp_scan_status__field_indices_by_name[] = {
511   1,   /* field[1] = result_count */
512   0,   /* field[0] = scan_finished */
513 };
514 static const ProtobufCIntRange resp_scan_status__number_ranges[1 + 1] =
515 {
516   { 1, 0 },
517   { 0, 2 }
518 };
519 const ProtobufCMessageDescriptor resp_scan_status__descriptor =
520 {
521   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
522   "RespScanStatus",
523   "RespScanStatus",
524   "RespScanStatus",
525   "",
526   sizeof(RespScanStatus),
527   2,
528   resp_scan_status__field_descriptors,
529   resp_scan_status__field_indices_by_name,
530   1,  resp_scan_status__number_ranges,
531   (ProtobufCMessageInit) resp_scan_status__init,
532   NULL,NULL,NULL    /* reserved[123] */
533 };
534 static const ProtobufCFieldDescriptor cmd_scan_result__field_descriptors[2] =
535 {
536   {
537     "start_index",
538     1,
539     PROTOBUF_C_LABEL_NONE,
540     PROTOBUF_C_TYPE_UINT32,
541     0,   /* quantifier_offset */
542     offsetof(CmdScanResult, start_index),
543     NULL,
544     NULL,
545     0,             /* flags */
546     0,NULL,NULL    /* reserved1,reserved2, etc */
547   },
548   {
549     "count",
550     2,
551     PROTOBUF_C_LABEL_NONE,
552     PROTOBUF_C_TYPE_UINT32,
553     0,   /* quantifier_offset */
554     offsetof(CmdScanResult, count),
555     NULL,
556     NULL,
557     0,             /* flags */
558     0,NULL,NULL    /* reserved1,reserved2, etc */
559   },
560 };
561 static const unsigned cmd_scan_result__field_indices_by_name[] = {
562   1,   /* field[1] = count */
563   0,   /* field[0] = start_index */
564 };
565 static const ProtobufCIntRange cmd_scan_result__number_ranges[1 + 1] =
566 {
567   { 1, 0 },
568   { 0, 2 }
569 };
570 const ProtobufCMessageDescriptor cmd_scan_result__descriptor =
571 {
572   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
573   "CmdScanResult",
574   "CmdScanResult",
575   "CmdScanResult",
576   "",
577   sizeof(CmdScanResult),
578   2,
579   cmd_scan_result__field_descriptors,
580   cmd_scan_result__field_indices_by_name,
581   1,  cmd_scan_result__number_ranges,
582   (ProtobufCMessageInit) cmd_scan_result__init,
583   NULL,NULL,NULL    /* reserved[123] */
584 };
585 static const ProtobufCFieldDescriptor wi_fi_scan_result__field_descriptors[5] =
586 {
587   {
588     "ssid",
589     1,
590     PROTOBUF_C_LABEL_NONE,
591     PROTOBUF_C_TYPE_BYTES,
592     0,   /* quantifier_offset */
593     offsetof(WiFiScanResult, ssid),
594     NULL,
595     NULL,
596     0,             /* flags */
597     0,NULL,NULL    /* reserved1,reserved2, etc */
598   },
599   {
600     "channel",
601     2,
602     PROTOBUF_C_LABEL_NONE,
603     PROTOBUF_C_TYPE_UINT32,
604     0,   /* quantifier_offset */
605     offsetof(WiFiScanResult, channel),
606     NULL,
607     NULL,
608     0,             /* flags */
609     0,NULL,NULL    /* reserved1,reserved2, etc */
610   },
611   {
612     "rssi",
613     3,
614     PROTOBUF_C_LABEL_NONE,
615     PROTOBUF_C_TYPE_INT32,
616     0,   /* quantifier_offset */
617     offsetof(WiFiScanResult, rssi),
618     NULL,
619     NULL,
620     0,             /* flags */
621     0,NULL,NULL    /* reserved1,reserved2, etc */
622   },
623   {
624     "bssid",
625     4,
626     PROTOBUF_C_LABEL_NONE,
627     PROTOBUF_C_TYPE_BYTES,
628     0,   /* quantifier_offset */
629     offsetof(WiFiScanResult, bssid),
630     NULL,
631     NULL,
632     0,             /* flags */
633     0,NULL,NULL    /* reserved1,reserved2, etc */
634   },
635   {
636     "auth",
637     5,
638     PROTOBUF_C_LABEL_NONE,
639     PROTOBUF_C_TYPE_ENUM,
640     0,   /* quantifier_offset */
641     offsetof(WiFiScanResult, auth),
642     &wifi_auth_mode__descriptor,
643     NULL,
644     0,             /* flags */
645     0,NULL,NULL    /* reserved1,reserved2, etc */
646   },
647 };
648 static const unsigned wi_fi_scan_result__field_indices_by_name[] = {
649   4,   /* field[4] = auth */
650   3,   /* field[3] = bssid */
651   1,   /* field[1] = channel */
652   2,   /* field[2] = rssi */
653   0,   /* field[0] = ssid */
654 };
655 static const ProtobufCIntRange wi_fi_scan_result__number_ranges[1 + 1] =
656 {
657   { 1, 0 },
658   { 0, 5 }
659 };
660 const ProtobufCMessageDescriptor wi_fi_scan_result__descriptor =
661 {
662   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
663   "WiFiScanResult",
664   "WiFiScanResult",
665   "WiFiScanResult",
666   "",
667   sizeof(WiFiScanResult),
668   5,
669   wi_fi_scan_result__field_descriptors,
670   wi_fi_scan_result__field_indices_by_name,
671   1,  wi_fi_scan_result__number_ranges,
672   (ProtobufCMessageInit) wi_fi_scan_result__init,
673   NULL,NULL,NULL    /* reserved[123] */
674 };
675 static const ProtobufCFieldDescriptor resp_scan_result__field_descriptors[1] =
676 {
677   {
678     "entries",
679     1,
680     PROTOBUF_C_LABEL_REPEATED,
681     PROTOBUF_C_TYPE_MESSAGE,
682     offsetof(RespScanResult, n_entries),
683     offsetof(RespScanResult, entries),
684     &wi_fi_scan_result__descriptor,
685     NULL,
686     0,             /* flags */
687     0,NULL,NULL    /* reserved1,reserved2, etc */
688   },
689 };
690 static const unsigned resp_scan_result__field_indices_by_name[] = {
691   0,   /* field[0] = entries */
692 };
693 static const ProtobufCIntRange resp_scan_result__number_ranges[1 + 1] =
694 {
695   { 1, 0 },
696   { 0, 1 }
697 };
698 const ProtobufCMessageDescriptor resp_scan_result__descriptor =
699 {
700   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
701   "RespScanResult",
702   "RespScanResult",
703   "RespScanResult",
704   "",
705   sizeof(RespScanResult),
706   1,
707   resp_scan_result__field_descriptors,
708   resp_scan_result__field_indices_by_name,
709   1,  resp_scan_result__number_ranges,
710   (ProtobufCMessageInit) resp_scan_result__init,
711   NULL,NULL,NULL    /* reserved[123] */
712 };
713 static const ProtobufCFieldDescriptor wi_fi_scan_payload__field_descriptors[8] =
714 {
715   {
716     "msg",
717     1,
718     PROTOBUF_C_LABEL_NONE,
719     PROTOBUF_C_TYPE_ENUM,
720     0,   /* quantifier_offset */
721     offsetof(WiFiScanPayload, msg),
722     &wi_fi_scan_msg_type__descriptor,
723     NULL,
724     0,             /* flags */
725     0,NULL,NULL    /* reserved1,reserved2, etc */
726   },
727   {
728     "status",
729     2,
730     PROTOBUF_C_LABEL_NONE,
731     PROTOBUF_C_TYPE_ENUM,
732     0,   /* quantifier_offset */
733     offsetof(WiFiScanPayload, status),
734     &status__descriptor,
735     NULL,
736     0,             /* flags */
737     0,NULL,NULL    /* reserved1,reserved2, etc */
738   },
739   {
740     "cmd_scan_start",
741     10,
742     PROTOBUF_C_LABEL_NONE,
743     PROTOBUF_C_TYPE_MESSAGE,
744     offsetof(WiFiScanPayload, payload_case),
745     offsetof(WiFiScanPayload, cmd_scan_start),
746     &cmd_scan_start__descriptor,
747     NULL,
748     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
749     0,NULL,NULL    /* reserved1,reserved2, etc */
750   },
751   {
752     "resp_scan_start",
753     11,
754     PROTOBUF_C_LABEL_NONE,
755     PROTOBUF_C_TYPE_MESSAGE,
756     offsetof(WiFiScanPayload, payload_case),
757     offsetof(WiFiScanPayload, resp_scan_start),
758     &resp_scan_start__descriptor,
759     NULL,
760     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
761     0,NULL,NULL    /* reserved1,reserved2, etc */
762   },
763   {
764     "cmd_scan_status",
765     12,
766     PROTOBUF_C_LABEL_NONE,
767     PROTOBUF_C_TYPE_MESSAGE,
768     offsetof(WiFiScanPayload, payload_case),
769     offsetof(WiFiScanPayload, cmd_scan_status),
770     &cmd_scan_status__descriptor,
771     NULL,
772     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
773     0,NULL,NULL    /* reserved1,reserved2, etc */
774   },
775   {
776     "resp_scan_status",
777     13,
778     PROTOBUF_C_LABEL_NONE,
779     PROTOBUF_C_TYPE_MESSAGE,
780     offsetof(WiFiScanPayload, payload_case),
781     offsetof(WiFiScanPayload, resp_scan_status),
782     &resp_scan_status__descriptor,
783     NULL,
784     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
785     0,NULL,NULL    /* reserved1,reserved2, etc */
786   },
787   {
788     "cmd_scan_result",
789     14,
790     PROTOBUF_C_LABEL_NONE,
791     PROTOBUF_C_TYPE_MESSAGE,
792     offsetof(WiFiScanPayload, payload_case),
793     offsetof(WiFiScanPayload, cmd_scan_result),
794     &cmd_scan_result__descriptor,
795     NULL,
796     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
797     0,NULL,NULL    /* reserved1,reserved2, etc */
798   },
799   {
800     "resp_scan_result",
801     15,
802     PROTOBUF_C_LABEL_NONE,
803     PROTOBUF_C_TYPE_MESSAGE,
804     offsetof(WiFiScanPayload, payload_case),
805     offsetof(WiFiScanPayload, resp_scan_result),
806     &resp_scan_result__descriptor,
807     NULL,
808     0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
809     0,NULL,NULL    /* reserved1,reserved2, etc */
810   },
811 };
812 static const unsigned wi_fi_scan_payload__field_indices_by_name[] = {
813   6,   /* field[6] = cmd_scan_result */
814   2,   /* field[2] = cmd_scan_start */
815   4,   /* field[4] = cmd_scan_status */
816   0,   /* field[0] = msg */
817   7,   /* field[7] = resp_scan_result */
818   3,   /* field[3] = resp_scan_start */
819   5,   /* field[5] = resp_scan_status */
820   1,   /* field[1] = status */
821 };
822 static const ProtobufCIntRange wi_fi_scan_payload__number_ranges[2 + 1] =
823 {
824   { 1, 0 },
825   { 10, 2 },
826   { 0, 8 }
827 };
828 const ProtobufCMessageDescriptor wi_fi_scan_payload__descriptor =
829 {
830   PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
831   "WiFiScanPayload",
832   "WiFiScanPayload",
833   "WiFiScanPayload",
834   "",
835   sizeof(WiFiScanPayload),
836   8,
837   wi_fi_scan_payload__field_descriptors,
838   wi_fi_scan_payload__field_indices_by_name,
839   2,  wi_fi_scan_payload__number_ranges,
840   (ProtobufCMessageInit) wi_fi_scan_payload__init,
841   NULL,NULL,NULL    /* reserved[123] */
842 };
843 static const ProtobufCEnumValue wi_fi_scan_msg_type__enum_values_by_number[6] =
844 {
845   { "TypeCmdScanStart", "WI_FI_SCAN_MSG_TYPE__TypeCmdScanStart", 0 },
846   { "TypeRespScanStart", "WI_FI_SCAN_MSG_TYPE__TypeRespScanStart", 1 },
847   { "TypeCmdScanStatus", "WI_FI_SCAN_MSG_TYPE__TypeCmdScanStatus", 2 },
848   { "TypeRespScanStatus", "WI_FI_SCAN_MSG_TYPE__TypeRespScanStatus", 3 },
849   { "TypeCmdScanResult", "WI_FI_SCAN_MSG_TYPE__TypeCmdScanResult", 4 },
850   { "TypeRespScanResult", "WI_FI_SCAN_MSG_TYPE__TypeRespScanResult", 5 },
851 };
852 static const ProtobufCIntRange wi_fi_scan_msg_type__value_ranges[] = {
853 {0, 0},{0, 6}
854 };
855 static const ProtobufCEnumValueIndex wi_fi_scan_msg_type__enum_values_by_name[6] =
856 {
857   { "TypeCmdScanResult", 4 },
858   { "TypeCmdScanStart", 0 },
859   { "TypeCmdScanStatus", 2 },
860   { "TypeRespScanResult", 5 },
861   { "TypeRespScanStart", 1 },
862   { "TypeRespScanStatus", 3 },
863 };
864 const ProtobufCEnumDescriptor wi_fi_scan_msg_type__descriptor =
865 {
866   PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
867   "WiFiScanMsgType",
868   "WiFiScanMsgType",
869   "WiFiScanMsgType",
870   "",
871   6,
872   wi_fi_scan_msg_type__enum_values_by_number,
873   6,
874   wi_fi_scan_msg_type__enum_values_by_name,
875   1,
876   wi_fi_scan_msg_type__value_ranges,
877   NULL,NULL,NULL,NULL   /* reserved[1234] */
878 };
879