Select one of the symbols to view example projects that use it.
 
Outline
#define PROTOBUF_C__NO_DEPRECATED
#include "wifi_config.pb-c.h"
cmd_get_status__init(CmdGetStatus *)
cmd_get_status__get_packed_size(const CmdGetStatus *)
cmd_get_status__pack(const CmdGetStatus *, uint8_t *)
cmd_get_status__pack_to_buffer(const CmdGetStatus *, ProtobufCBuffer *)
cmd_get_status__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
cmd_get_status__free_unpacked(CmdGetStatus *, ProtobufCAllocator *)
resp_get_status__init(RespGetStatus *)
resp_get_status__get_packed_size(const RespGetStatus *)
resp_get_status__pack(const RespGetStatus *, uint8_t *)
resp_get_status__pack_to_buffer(const RespGetStatus *, ProtobufCBuffer *)
resp_get_status__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
resp_get_status__free_unpacked(RespGetStatus *, ProtobufCAllocator *)
cmd_set_config__init(CmdSetConfig *)
cmd_set_config__get_packed_size(const CmdSetConfig *)
cmd_set_config__pack(const CmdSetConfig *, uint8_t *)
cmd_set_config__pack_to_buffer(const CmdSetConfig *, ProtobufCBuffer *)
cmd_set_config__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
cmd_set_config__free_unpacked(CmdSetConfig *, ProtobufCAllocator *)
resp_set_config__init(RespSetConfig *)
resp_set_config__get_packed_size(const RespSetConfig *)
resp_set_config__pack(const RespSetConfig *, uint8_t *)
resp_set_config__pack_to_buffer(const RespSetConfig *, ProtobufCBuffer *)
resp_set_config__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
resp_set_config__free_unpacked(RespSetConfig *, ProtobufCAllocator *)
cmd_apply_config__init(CmdApplyConfig *)
cmd_apply_config__get_packed_size(const CmdApplyConfig *)
cmd_apply_config__pack(const CmdApplyConfig *, uint8_t *)
cmd_apply_config__pack_to_buffer(const CmdApplyConfig *, ProtobufCBuffer *)
cmd_apply_config__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
cmd_apply_config__free_unpacked(CmdApplyConfig *, ProtobufCAllocator *)
resp_apply_config__init(RespApplyConfig *)
resp_apply_config__get_packed_size(const RespApplyConfig *)
resp_apply_config__pack(const RespApplyConfig *, uint8_t *)
resp_apply_config__pack_to_buffer(const RespApplyConfig *, ProtobufCBuffer *)
resp_apply_config__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
resp_apply_config__free_unpacked(RespApplyConfig *, ProtobufCAllocator *)
wi_fi_config_payload__init(WiFiConfigPayload *)
wi_fi_config_payload__get_packed_size(const WiFiConfigPayload *)
wi_fi_config_payload__pack(const WiFiConfigPayload *, uint8_t *)
wi_fi_config_payload__pack_to_buffer(const WiFiConfigPayload *, ProtobufCBuffer *)
wi_fi_config_payload__unpack(ProtobufCAllocator *, size_t, const uint8_t *)
wi_fi_config_payload__free_unpacked(WiFiConfigPayload *, ProtobufCAllocator *)
#define cmd_get_status__field_descriptors
#define cmd_get_status__field_indices_by_name
#define cmd_get_status__number_ranges
cmd_get_status__descriptor
resp_get_status__field_descriptors
resp_get_status__field_indices_by_name
resp_get_status__number_ranges
resp_get_status__descriptor
cmd_set_config__field_descriptors
cmd_set_config__field_indices_by_name
cmd_set_config__number_ranges
cmd_set_config__descriptor
resp_set_config__field_descriptors
resp_set_config__field_indices_by_name
resp_set_config__number_ranges
resp_set_config__descriptor
#define cmd_apply_config__field_descriptors
#define cmd_apply_config__field_indices_by_name
#define cmd_apply_config__number_ranges
cmd_apply_config__descriptor
resp_apply_config__field_descriptors
resp_apply_config__field_indices_by_name
resp_apply_config__number_ranges
resp_apply_config__descriptor
wi_fi_config_payload__field_descriptors
wi_fi_config_payload__field_indices_by_name
wi_fi_config_payload__number_ranges
wi_fi_config_payload__descriptor
wi_fi_config_msg_type__enum_values_by_number
wi_fi_config_msg_type__value_ranges
wi_fi_config_msg_type__enum_values_by_name
wi_fi_config_msg_type__descriptor
Files
loading (3/5)...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/wifi_provisioning/proto-c/wifi_config.pb-c.c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: wifi_config.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "wifi_config.pb-c.h" void cmd_get_status__init (CmdGetStatus *message) { static const CmdGetStatus init_value = CMD_GET_STATUS__INIT; *message = init_value; }{ ... } size_t cmd_get_status__get_packed_size (const CmdGetStatus *message) { assert(message->base.descriptor == &cmd_get_status__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t cmd_get_status__pack (const CmdGetStatus *message, uint8_t *out) { assert(message->base.descriptor == &cmd_get_status__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t cmd_get_status__pack_to_buffer (const CmdGetStatus *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &cmd_get_status__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } CmdGetStatus * cmd_get_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CmdGetStatus *) protobuf_c_message_unpack (&cmd_get_status__descriptor, allocator, len, data); }{ ... } void cmd_get_status__free_unpacked (CmdGetStatus *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &cmd_get_status__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void resp_get_status__init (RespGetStatus *message) { static const RespGetStatus init_value = RESP_GET_STATUS__INIT; *message = init_value; }{ ... } size_t resp_get_status__get_packed_size (const RespGetStatus *message) { assert(message->base.descriptor == &resp_get_status__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t resp_get_status__pack (const RespGetStatus *message, uint8_t *out) { assert(message->base.descriptor == &resp_get_status__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t resp_get_status__pack_to_buffer (const RespGetStatus *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &resp_get_status__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } RespGetStatus * resp_get_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (RespGetStatus *) protobuf_c_message_unpack (&resp_get_status__descriptor, allocator, len, data); }{ ... } void resp_get_status__free_unpacked (RespGetStatus *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &resp_get_status__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void cmd_set_config__init (CmdSetConfig *message) { static const CmdSetConfig init_value = CMD_SET_CONFIG__INIT; *message = init_value; }{ ... } size_t cmd_set_config__get_packed_size (const CmdSetConfig *message) { assert(message->base.descriptor == &cmd_set_config__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t cmd_set_config__pack (const CmdSetConfig *message, uint8_t *out) { assert(message->base.descriptor == &cmd_set_config__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t cmd_set_config__pack_to_buffer (const CmdSetConfig *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &cmd_set_config__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } CmdSetConfig * cmd_set_config__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CmdSetConfig *) protobuf_c_message_unpack (&cmd_set_config__descriptor, allocator, len, data); }{ ... } void cmd_set_config__free_unpacked (CmdSetConfig *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &cmd_set_config__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void resp_set_config__init (RespSetConfig *message) { static const RespSetConfig init_value = RESP_SET_CONFIG__INIT; *message = init_value; }{ ... } size_t resp_set_config__get_packed_size (const RespSetConfig *message) { assert(message->base.descriptor == &resp_set_config__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t resp_set_config__pack (const RespSetConfig *message, uint8_t *out) { assert(message->base.descriptor == &resp_set_config__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t resp_set_config__pack_to_buffer (const RespSetConfig *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &resp_set_config__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } RespSetConfig * resp_set_config__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (RespSetConfig *) protobuf_c_message_unpack (&resp_set_config__descriptor, allocator, len, data); }{ ... } void resp_set_config__free_unpacked (RespSetConfig *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &resp_set_config__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void cmd_apply_config__init (CmdApplyConfig *message) { static const CmdApplyConfig init_value = CMD_APPLY_CONFIG__INIT; *message = init_value; }{ ... } size_t cmd_apply_config__get_packed_size (const CmdApplyConfig *message) { assert(message->base.descriptor == &cmd_apply_config__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t cmd_apply_config__pack (const CmdApplyConfig *message, uint8_t *out) { assert(message->base.descriptor == &cmd_apply_config__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t cmd_apply_config__pack_to_buffer (const CmdApplyConfig *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &cmd_apply_config__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } CmdApplyConfig * cmd_apply_config__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CmdApplyConfig *) protobuf_c_message_unpack (&cmd_apply_config__descriptor, allocator, len, data); }{ ... } void cmd_apply_config__free_unpacked (CmdApplyConfig *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &cmd_apply_config__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void resp_apply_config__init (RespApplyConfig *message) { static const RespApplyConfig init_value = RESP_APPLY_CONFIG__INIT; *message = init_value; }{ ... } size_t resp_apply_config__get_packed_size (const RespApplyConfig *message) { assert(message->base.descriptor == &resp_apply_config__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t resp_apply_config__pack (const RespApplyConfig *message, uint8_t *out) { assert(message->base.descriptor == &resp_apply_config__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t resp_apply_config__pack_to_buffer (const RespApplyConfig *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &resp_apply_config__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } RespApplyConfig * resp_apply_config__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (RespApplyConfig *) protobuf_c_message_unpack (&resp_apply_config__descriptor, allocator, len, data); }{ ... } void resp_apply_config__free_unpacked (RespApplyConfig *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &resp_apply_config__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } void wi_fi_config_payload__init (WiFiConfigPayload *message) { static const WiFiConfigPayload init_value = WI_FI_CONFIG_PAYLOAD__INIT; *message = init_value; }{ ... } size_t wi_fi_config_payload__get_packed_size (const WiFiConfigPayload *message) { assert(message->base.descriptor == &wi_fi_config_payload__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); }{ ... } size_t wi_fi_config_payload__pack (const WiFiConfigPayload *message, uint8_t *out) { assert(message->base.descriptor == &wi_fi_config_payload__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); }{ ... } size_t wi_fi_config_payload__pack_to_buffer (const WiFiConfigPayload *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &wi_fi_config_payload__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); }{ ... } WiFiConfigPayload * wi_fi_config_payload__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (WiFiConfigPayload *) protobuf_c_message_unpack (&wi_fi_config_payload__descriptor, allocator, len, data); }{ ... } void wi_fi_config_payload__free_unpacked (WiFiConfigPayload *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &wi_fi_config_payload__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); }{ ... } #define cmd_get_status__field_descriptors NULL #define cmd_get_status__field_indices_by_name NULL #define cmd_get_status__number_ranges NULL const ProtobufCMessageDescriptor cmd_get_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CmdGetStatus", "CmdGetStatus", "CmdGetStatus", "", sizeof(CmdGetStatus), 0, cmd_get_status__field_descriptors, cmd_get_status__field_indices_by_name, 0, cmd_get_status__number_ranges, (ProtobufCMessageInit) cmd_get_status__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor resp_get_status__field_descriptors[5] = { { "status", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(RespGetStatus, status), &status__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "sta_state", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(RespGetStatus, sta_state), &wifi_station_state__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "fail_reason", 10, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, offsetof(RespGetStatus, state_case), offsetof(RespGetStatus, fail_reason), &wifi_connect_failed_reason__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "connected", 11, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(RespGetStatus, state_case), offsetof(RespGetStatus, connected), &wifi_connected_state__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "attempt_failed", 12, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(RespGetStatus, state_case), offsetof(RespGetStatus, attempt_failed), &wifi_attempt_failed__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned resp_get_status__field_indices_by_name[] = { 4, /* field[4] = attempt_failed */ 3, /* field[3] = connected */ 2, /* field[2] = fail_reason */ 1, /* field[1] = sta_state */ 0, /* field[0] = status */ }{...}; static const ProtobufCIntRange resp_get_status__number_ranges[2 + 1] = { { 1, 0 }, { 10, 2 }, { 0, 5 } }{...}; const ProtobufCMessageDescriptor resp_get_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "RespGetStatus", "RespGetStatus", "RespGetStatus", "", sizeof(RespGetStatus), 5, resp_get_status__field_descriptors, resp_get_status__field_indices_by_name, 2, resp_get_status__number_ranges, (ProtobufCMessageInit) resp_get_status__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor cmd_set_config__field_descriptors[4] = { { "ssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CmdSetConfig, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "passphrase", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CmdSetConfig, passphrase), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "bssid", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CmdSetConfig, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "channel", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CmdSetConfig, channel), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned cmd_set_config__field_indices_by_name[] = { 2, /* field[2] = bssid */ 3, /* field[3] = channel */ 1, /* field[1] = passphrase */ 0, /* field[0] = ssid */ }{...}; static const ProtobufCIntRange cmd_set_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 4 } }{...}; const ProtobufCMessageDescriptor cmd_set_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CmdSetConfig", "CmdSetConfig", "CmdSetConfig", "", sizeof(CmdSetConfig), 4, cmd_set_config__field_descriptors, cmd_set_config__field_indices_by_name, 1, cmd_set_config__number_ranges, (ProtobufCMessageInit) cmd_set_config__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor resp_set_config__field_descriptors[1] = { { "status", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(RespSetConfig, status), &status__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned resp_set_config__field_indices_by_name[] = { 0, /* field[0] = status */ }{...}; static const ProtobufCIntRange resp_set_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }{...}; const ProtobufCMessageDescriptor resp_set_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "RespSetConfig", "RespSetConfig", "RespSetConfig", "", sizeof(RespSetConfig), 1, resp_set_config__field_descriptors, resp_set_config__field_indices_by_name, 1, resp_set_config__number_ranges, (ProtobufCMessageInit) resp_set_config__init, NULL,NULL,NULL /* reserved[123] */ }{...}; #define cmd_apply_config__field_descriptors NULL #define cmd_apply_config__field_indices_by_name NULL #define cmd_apply_config__number_ranges NULL const ProtobufCMessageDescriptor cmd_apply_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CmdApplyConfig", "CmdApplyConfig", "CmdApplyConfig", "", sizeof(CmdApplyConfig), 0, cmd_apply_config__field_descriptors, cmd_apply_config__field_indices_by_name, 0, cmd_apply_config__number_ranges, (ProtobufCMessageInit) cmd_apply_config__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor resp_apply_config__field_descriptors[1] = { { "status", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(RespApplyConfig, status), &status__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned resp_apply_config__field_indices_by_name[] = { 0, /* field[0] = status */ }{...}; static const ProtobufCIntRange resp_apply_config__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }{...}; const ProtobufCMessageDescriptor resp_apply_config__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "RespApplyConfig", "RespApplyConfig", "RespApplyConfig", "", sizeof(RespApplyConfig), 1, resp_apply_config__field_descriptors, resp_apply_config__field_indices_by_name, 1, resp_apply_config__number_ranges, (ProtobufCMessageInit) resp_apply_config__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCFieldDescriptor wi_fi_config_payload__field_descriptors[7] = { { "msg", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(WiFiConfigPayload, msg), &wi_fi_config_msg_type__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "cmd_get_status", 10, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(WiFiConfigPayload, payload_case), offsetof(WiFiConfigPayload, cmd_get_status), &cmd_get_status__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "resp_get_status", 11, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(WiFiConfigPayload, payload_case), offsetof(WiFiConfigPayload, resp_get_status), &resp_get_status__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "cmd_set_config", 12, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(WiFiConfigPayload, payload_case), offsetof(WiFiConfigPayload, cmd_set_config), &cmd_set_config__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "resp_set_config", 13, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(WiFiConfigPayload, payload_case), offsetof(WiFiConfigPayload, resp_set_config), &resp_set_config__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "cmd_apply_config", 14, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(WiFiConfigPayload, payload_case), offsetof(WiFiConfigPayload, cmd_apply_config), &cmd_apply_config__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, { "resp_apply_config", 15, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(WiFiConfigPayload, payload_case), offsetof(WiFiConfigPayload, resp_apply_config), &resp_apply_config__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }{...}, }{...}; static const unsigned wi_fi_config_payload__field_indices_by_name[] = { 5, /* field[5] = cmd_apply_config */ 1, /* field[1] = cmd_get_status */ 3, /* field[3] = cmd_set_config */ 0, /* field[0] = msg */ 6, /* field[6] = resp_apply_config */ 2, /* field[2] = resp_get_status */ 4, /* field[4] = resp_set_config */ }{...}; static const ProtobufCIntRange wi_fi_config_payload__number_ranges[2 + 1] = { { 1, 0 }, { 10, 1 }, { 0, 7 } }{...}; const ProtobufCMessageDescriptor wi_fi_config_payload__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "WiFiConfigPayload", "WiFiConfigPayload", "WiFiConfigPayload", "", sizeof(WiFiConfigPayload), 7, wi_fi_config_payload__field_descriptors, wi_fi_config_payload__field_indices_by_name, 2, wi_fi_config_payload__number_ranges, (ProtobufCMessageInit) wi_fi_config_payload__init, NULL,NULL,NULL /* reserved[123] */ }{...}; static const ProtobufCEnumValue wi_fi_config_msg_type__enum_values_by_number[6] = { { "TypeCmdGetStatus", "WI_FI_CONFIG_MSG_TYPE__TypeCmdGetStatus", 0 }, { "TypeRespGetStatus", "WI_FI_CONFIG_MSG_TYPE__TypeRespGetStatus", 1 }, { "TypeCmdSetConfig", "WI_FI_CONFIG_MSG_TYPE__TypeCmdSetConfig", 2 }, { "TypeRespSetConfig", "WI_FI_CONFIG_MSG_TYPE__TypeRespSetConfig", 3 }, { "TypeCmdApplyConfig", "WI_FI_CONFIG_MSG_TYPE__TypeCmdApplyConfig", 4 }, { "TypeRespApplyConfig", "WI_FI_CONFIG_MSG_TYPE__TypeRespApplyConfig", 5 }, }{...}; static const ProtobufCIntRange wi_fi_config_msg_type__value_ranges[] = { {0, 0},{0, 6} }{...}; static const ProtobufCEnumValueIndex wi_fi_config_msg_type__enum_values_by_name[6] = { { "TypeCmdApplyConfig", 4 }, { "TypeCmdGetStatus", 0 }, { "TypeCmdSetConfig", 2 }, { "TypeRespApplyConfig", 5 }, { "TypeRespGetStatus", 1 }, { "TypeRespSetConfig", 3 }, }{...}; const ProtobufCEnumDescriptor wi_fi_config_msg_type__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "WiFiConfigMsgType", "WiFiConfigMsgType", "WiFiConfigMsgType", "", 6, wi_fi_config_msg_type__enum_values_by_number, 6, wi_fi_config_msg_type__enum_values_by_name, 1, wi_fi_config_msg_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }{...};
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.