]>
Commit | Line | Data |
---|---|---|
f956a62b | 1 | /* Generated by the protocol buffer compiler. DO NOT EDIT! */ |
f2753857 | 2 | /* Generated from: esp_hosted_config.proto */ |
f956a62b | 3 | |
4 | /* Do not generate deprecated warnings for self */ | |
5 | #ifndef PROTOBUF_C__NO_DEPRECATED | |
6 | #define PROTOBUF_C__NO_DEPRECATED | |
7 | #endif | |
8 | ||
f2753857 | 9 | #include "esp_hosted_config.pb-c.h" |
6e029e3a | 10 | void esp_hosted_cmd_get_mac_address__init |
11 | (EspHostedCmdGetMacAddress *message) | |
12 | { | |
13 | static EspHostedCmdGetMacAddress init_value = ESP_HOSTED_CMD_GET_MAC_ADDRESS__INIT; | |
14 | *message = init_value; | |
15 | } | |
16 | size_t esp_hosted_cmd_get_mac_address__get_packed_size | |
17 | (const EspHostedCmdGetMacAddress *message) | |
18 | { | |
19 | assert(message->base.descriptor == &esp_hosted_cmd_get_mac_address__descriptor); | |
20 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
21 | } | |
22 | size_t esp_hosted_cmd_get_mac_address__pack | |
23 | (const EspHostedCmdGetMacAddress *message, | |
24 | uint8_t *out) | |
25 | { | |
26 | assert(message->base.descriptor == &esp_hosted_cmd_get_mac_address__descriptor); | |
27 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
28 | } | |
29 | size_t esp_hosted_cmd_get_mac_address__pack_to_buffer | |
30 | (const EspHostedCmdGetMacAddress *message, | |
31 | ProtobufCBuffer *buffer) | |
32 | { | |
33 | assert(message->base.descriptor == &esp_hosted_cmd_get_mac_address__descriptor); | |
34 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
35 | } | |
36 | EspHostedCmdGetMacAddress * | |
37 | esp_hosted_cmd_get_mac_address__unpack | |
38 | (ProtobufCAllocator *allocator, | |
39 | size_t len, | |
40 | const uint8_t *data) | |
41 | { | |
42 | return (EspHostedCmdGetMacAddress *) | |
43 | protobuf_c_message_unpack (&esp_hosted_cmd_get_mac_address__descriptor, | |
44 | allocator, len, data); | |
45 | } | |
46 | void esp_hosted_cmd_get_mac_address__free_unpacked | |
47 | (EspHostedCmdGetMacAddress *message, | |
48 | ProtobufCAllocator *allocator) | |
49 | { | |
50 | assert(message->base.descriptor == &esp_hosted_cmd_get_mac_address__descriptor); | |
51 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
52 | } | |
53 | void esp_hosted_resp_get_mac_address__init | |
54 | (EspHostedRespGetMacAddress *message) | |
55 | { | |
56 | static EspHostedRespGetMacAddress init_value = ESP_HOSTED_RESP_GET_MAC_ADDRESS__INIT; | |
57 | *message = init_value; | |
58 | } | |
59 | size_t esp_hosted_resp_get_mac_address__get_packed_size | |
60 | (const EspHostedRespGetMacAddress *message) | |
61 | { | |
62 | assert(message->base.descriptor == &esp_hosted_resp_get_mac_address__descriptor); | |
63 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
64 | } | |
65 | size_t esp_hosted_resp_get_mac_address__pack | |
66 | (const EspHostedRespGetMacAddress *message, | |
67 | uint8_t *out) | |
68 | { | |
69 | assert(message->base.descriptor == &esp_hosted_resp_get_mac_address__descriptor); | |
70 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
71 | } | |
72 | size_t esp_hosted_resp_get_mac_address__pack_to_buffer | |
73 | (const EspHostedRespGetMacAddress *message, | |
74 | ProtobufCBuffer *buffer) | |
75 | { | |
76 | assert(message->base.descriptor == &esp_hosted_resp_get_mac_address__descriptor); | |
77 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
78 | } | |
79 | EspHostedRespGetMacAddress * | |
80 | esp_hosted_resp_get_mac_address__unpack | |
81 | (ProtobufCAllocator *allocator, | |
82 | size_t len, | |
83 | const uint8_t *data) | |
84 | { | |
85 | return (EspHostedRespGetMacAddress *) | |
86 | protobuf_c_message_unpack (&esp_hosted_resp_get_mac_address__descriptor, | |
87 | allocator, len, data); | |
88 | } | |
89 | void esp_hosted_resp_get_mac_address__free_unpacked | |
90 | (EspHostedRespGetMacAddress *message, | |
91 | ProtobufCAllocator *allocator) | |
92 | { | |
93 | assert(message->base.descriptor == &esp_hosted_resp_get_mac_address__descriptor); | |
94 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
95 | } | |
96 | void esp_hosted_cmd_get_mode__init | |
97 | (EspHostedCmdGetMode *message) | |
98 | { | |
99 | static EspHostedCmdGetMode init_value = ESP_HOSTED_CMD_GET_MODE__INIT; | |
100 | *message = init_value; | |
101 | } | |
102 | size_t esp_hosted_cmd_get_mode__get_packed_size | |
103 | (const EspHostedCmdGetMode *message) | |
104 | { | |
105 | assert(message->base.descriptor == &esp_hosted_cmd_get_mode__descriptor); | |
106 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
107 | } | |
108 | size_t esp_hosted_cmd_get_mode__pack | |
109 | (const EspHostedCmdGetMode *message, | |
110 | uint8_t *out) | |
111 | { | |
112 | assert(message->base.descriptor == &esp_hosted_cmd_get_mode__descriptor); | |
113 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
114 | } | |
115 | size_t esp_hosted_cmd_get_mode__pack_to_buffer | |
116 | (const EspHostedCmdGetMode *message, | |
117 | ProtobufCBuffer *buffer) | |
118 | { | |
119 | assert(message->base.descriptor == &esp_hosted_cmd_get_mode__descriptor); | |
120 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
121 | } | |
122 | EspHostedCmdGetMode * | |
123 | esp_hosted_cmd_get_mode__unpack | |
124 | (ProtobufCAllocator *allocator, | |
125 | size_t len, | |
126 | const uint8_t *data) | |
127 | { | |
128 | return (EspHostedCmdGetMode *) | |
129 | protobuf_c_message_unpack (&esp_hosted_cmd_get_mode__descriptor, | |
130 | allocator, len, data); | |
131 | } | |
132 | void esp_hosted_cmd_get_mode__free_unpacked | |
133 | (EspHostedCmdGetMode *message, | |
134 | ProtobufCAllocator *allocator) | |
135 | { | |
136 | assert(message->base.descriptor == &esp_hosted_cmd_get_mode__descriptor); | |
137 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
138 | } | |
139 | void esp_hosted_resp_get_mode__init | |
140 | (EspHostedRespGetMode *message) | |
141 | { | |
142 | static EspHostedRespGetMode init_value = ESP_HOSTED_RESP_GET_MODE__INIT; | |
143 | *message = init_value; | |
144 | } | |
145 | size_t esp_hosted_resp_get_mode__get_packed_size | |
146 | (const EspHostedRespGetMode *message) | |
147 | { | |
148 | assert(message->base.descriptor == &esp_hosted_resp_get_mode__descriptor); | |
149 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
150 | } | |
151 | size_t esp_hosted_resp_get_mode__pack | |
152 | (const EspHostedRespGetMode *message, | |
153 | uint8_t *out) | |
154 | { | |
155 | assert(message->base.descriptor == &esp_hosted_resp_get_mode__descriptor); | |
156 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
157 | } | |
158 | size_t esp_hosted_resp_get_mode__pack_to_buffer | |
159 | (const EspHostedRespGetMode *message, | |
160 | ProtobufCBuffer *buffer) | |
161 | { | |
162 | assert(message->base.descriptor == &esp_hosted_resp_get_mode__descriptor); | |
163 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
164 | } | |
165 | EspHostedRespGetMode * | |
166 | esp_hosted_resp_get_mode__unpack | |
167 | (ProtobufCAllocator *allocator, | |
168 | size_t len, | |
169 | const uint8_t *data) | |
170 | { | |
171 | return (EspHostedRespGetMode *) | |
172 | protobuf_c_message_unpack (&esp_hosted_resp_get_mode__descriptor, | |
173 | allocator, len, data); | |
174 | } | |
175 | void esp_hosted_resp_get_mode__free_unpacked | |
176 | (EspHostedRespGetMode *message, | |
177 | ProtobufCAllocator *allocator) | |
178 | { | |
179 | assert(message->base.descriptor == &esp_hosted_resp_get_mode__descriptor); | |
180 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
181 | } | |
182 | void esp_hosted_cmd_set_mode__init | |
183 | (EspHostedCmdSetMode *message) | |
184 | { | |
185 | static EspHostedCmdSetMode init_value = ESP_HOSTED_CMD_SET_MODE__INIT; | |
186 | *message = init_value; | |
187 | } | |
188 | size_t esp_hosted_cmd_set_mode__get_packed_size | |
189 | (const EspHostedCmdSetMode *message) | |
190 | { | |
191 | assert(message->base.descriptor == &esp_hosted_cmd_set_mode__descriptor); | |
192 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
193 | } | |
194 | size_t esp_hosted_cmd_set_mode__pack | |
195 | (const EspHostedCmdSetMode *message, | |
196 | uint8_t *out) | |
197 | { | |
198 | assert(message->base.descriptor == &esp_hosted_cmd_set_mode__descriptor); | |
199 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
200 | } | |
201 | size_t esp_hosted_cmd_set_mode__pack_to_buffer | |
202 | (const EspHostedCmdSetMode *message, | |
203 | ProtobufCBuffer *buffer) | |
204 | { | |
205 | assert(message->base.descriptor == &esp_hosted_cmd_set_mode__descriptor); | |
206 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
207 | } | |
208 | EspHostedCmdSetMode * | |
209 | esp_hosted_cmd_set_mode__unpack | |
210 | (ProtobufCAllocator *allocator, | |
211 | size_t len, | |
212 | const uint8_t *data) | |
213 | { | |
214 | return (EspHostedCmdSetMode *) | |
215 | protobuf_c_message_unpack (&esp_hosted_cmd_set_mode__descriptor, | |
216 | allocator, len, data); | |
217 | } | |
218 | void esp_hosted_cmd_set_mode__free_unpacked | |
219 | (EspHostedCmdSetMode *message, | |
220 | ProtobufCAllocator *allocator) | |
221 | { | |
222 | assert(message->base.descriptor == &esp_hosted_cmd_set_mode__descriptor); | |
223 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
224 | } | |
225 | void esp_hosted_resp_set_mode__init | |
226 | (EspHostedRespSetMode *message) | |
227 | { | |
228 | static EspHostedRespSetMode init_value = ESP_HOSTED_RESP_SET_MODE__INIT; | |
229 | *message = init_value; | |
230 | } | |
231 | size_t esp_hosted_resp_set_mode__get_packed_size | |
232 | (const EspHostedRespSetMode *message) | |
233 | { | |
234 | assert(message->base.descriptor == &esp_hosted_resp_set_mode__descriptor); | |
235 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
236 | } | |
237 | size_t esp_hosted_resp_set_mode__pack | |
238 | (const EspHostedRespSetMode *message, | |
239 | uint8_t *out) | |
240 | { | |
241 | assert(message->base.descriptor == &esp_hosted_resp_set_mode__descriptor); | |
242 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
243 | } | |
244 | size_t esp_hosted_resp_set_mode__pack_to_buffer | |
245 | (const EspHostedRespSetMode *message, | |
246 | ProtobufCBuffer *buffer) | |
247 | { | |
248 | assert(message->base.descriptor == &esp_hosted_resp_set_mode__descriptor); | |
249 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
250 | } | |
251 | EspHostedRespSetMode * | |
252 | esp_hosted_resp_set_mode__unpack | |
253 | (ProtobufCAllocator *allocator, | |
254 | size_t len, | |
255 | const uint8_t *data) | |
256 | { | |
257 | return (EspHostedRespSetMode *) | |
258 | protobuf_c_message_unpack (&esp_hosted_resp_set_mode__descriptor, | |
259 | allocator, len, data); | |
260 | } | |
261 | void esp_hosted_resp_set_mode__free_unpacked | |
262 | (EspHostedRespSetMode *message, | |
263 | ProtobufCAllocator *allocator) | |
264 | { | |
265 | assert(message->base.descriptor == &esp_hosted_resp_set_mode__descriptor); | |
266 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
267 | } | |
f8683f8c | 268 | void esp_hosted_cmd_get_status__init |
269 | (EspHostedCmdGetStatus *message) | |
f956a62b | 270 | { |
f8683f8c | 271 | static EspHostedCmdGetStatus init_value = ESP_HOSTED_CMD_GET_STATUS__INIT; |
f956a62b | 272 | *message = init_value; |
273 | } | |
f8683f8c | 274 | size_t esp_hosted_cmd_get_status__get_packed_size |
275 | (const EspHostedCmdGetStatus *message) | |
f956a62b | 276 | { |
f8683f8c | 277 | assert(message->base.descriptor == &esp_hosted_cmd_get_status__descriptor); |
f956a62b | 278 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
279 | } | |
f8683f8c | 280 | size_t esp_hosted_cmd_get_status__pack |
281 | (const EspHostedCmdGetStatus *message, | |
f956a62b | 282 | uint8_t *out) |
283 | { | |
f8683f8c | 284 | assert(message->base.descriptor == &esp_hosted_cmd_get_status__descriptor); |
f956a62b | 285 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
286 | } | |
f8683f8c | 287 | size_t esp_hosted_cmd_get_status__pack_to_buffer |
288 | (const EspHostedCmdGetStatus *message, | |
f956a62b | 289 | ProtobufCBuffer *buffer) |
290 | { | |
f8683f8c | 291 | assert(message->base.descriptor == &esp_hosted_cmd_get_status__descriptor); |
f956a62b | 292 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
293 | } | |
f8683f8c | 294 | EspHostedCmdGetStatus * |
295 | esp_hosted_cmd_get_status__unpack | |
f956a62b | 296 | (ProtobufCAllocator *allocator, |
297 | size_t len, | |
298 | const uint8_t *data) | |
299 | { | |
f8683f8c | 300 | return (EspHostedCmdGetStatus *) |
301 | protobuf_c_message_unpack (&esp_hosted_cmd_get_status__descriptor, | |
f956a62b | 302 | allocator, len, data); |
303 | } | |
f8683f8c | 304 | void esp_hosted_cmd_get_status__free_unpacked |
305 | (EspHostedCmdGetStatus *message, | |
f956a62b | 306 | ProtobufCAllocator *allocator) |
307 | { | |
f8683f8c | 308 | assert(message->base.descriptor == &esp_hosted_cmd_get_status__descriptor); |
f956a62b | 309 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
310 | } | |
f8683f8c | 311 | void esp_hosted_resp_get_status__init |
312 | (EspHostedRespGetStatus *message) | |
f956a62b | 313 | { |
f8683f8c | 314 | static EspHostedRespGetStatus init_value = ESP_HOSTED_RESP_GET_STATUS__INIT; |
f956a62b | 315 | *message = init_value; |
316 | } | |
f8683f8c | 317 | size_t esp_hosted_resp_get_status__get_packed_size |
318 | (const EspHostedRespGetStatus *message) | |
f956a62b | 319 | { |
f8683f8c | 320 | assert(message->base.descriptor == &esp_hosted_resp_get_status__descriptor); |
f956a62b | 321 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
322 | } | |
f8683f8c | 323 | size_t esp_hosted_resp_get_status__pack |
324 | (const EspHostedRespGetStatus *message, | |
f956a62b | 325 | uint8_t *out) |
326 | { | |
f8683f8c | 327 | assert(message->base.descriptor == &esp_hosted_resp_get_status__descriptor); |
f956a62b | 328 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
329 | } | |
f8683f8c | 330 | size_t esp_hosted_resp_get_status__pack_to_buffer |
331 | (const EspHostedRespGetStatus *message, | |
f956a62b | 332 | ProtobufCBuffer *buffer) |
333 | { | |
f8683f8c | 334 | assert(message->base.descriptor == &esp_hosted_resp_get_status__descriptor); |
f956a62b | 335 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
336 | } | |
f8683f8c | 337 | EspHostedRespGetStatus * |
338 | esp_hosted_resp_get_status__unpack | |
f956a62b | 339 | (ProtobufCAllocator *allocator, |
340 | size_t len, | |
341 | const uint8_t *data) | |
342 | { | |
f8683f8c | 343 | return (EspHostedRespGetStatus *) |
344 | protobuf_c_message_unpack (&esp_hosted_resp_get_status__descriptor, | |
f956a62b | 345 | allocator, len, data); |
346 | } | |
f8683f8c | 347 | void esp_hosted_resp_get_status__free_unpacked |
348 | (EspHostedRespGetStatus *message, | |
f956a62b | 349 | ProtobufCAllocator *allocator) |
350 | { | |
f8683f8c | 351 | assert(message->base.descriptor == &esp_hosted_resp_get_status__descriptor); |
f956a62b | 352 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
353 | } | |
c618ef93 | 354 | void esp_hosted_cmd_set_mac_address__init |
355 | (EspHostedCmdSetMacAddress *message) | |
356 | { | |
357 | static EspHostedCmdSetMacAddress init_value = ESP_HOSTED_CMD_SET_MAC_ADDRESS__INIT; | |
358 | *message = init_value; | |
359 | } | |
360 | size_t esp_hosted_cmd_set_mac_address__get_packed_size | |
361 | (const EspHostedCmdSetMacAddress *message) | |
362 | { | |
363 | assert(message->base.descriptor == &esp_hosted_cmd_set_mac_address__descriptor); | |
364 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
365 | } | |
366 | size_t esp_hosted_cmd_set_mac_address__pack | |
367 | (const EspHostedCmdSetMacAddress *message, | |
368 | uint8_t *out) | |
369 | { | |
370 | assert(message->base.descriptor == &esp_hosted_cmd_set_mac_address__descriptor); | |
371 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
372 | } | |
373 | size_t esp_hosted_cmd_set_mac_address__pack_to_buffer | |
374 | (const EspHostedCmdSetMacAddress *message, | |
375 | ProtobufCBuffer *buffer) | |
376 | { | |
377 | assert(message->base.descriptor == &esp_hosted_cmd_set_mac_address__descriptor); | |
378 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
379 | } | |
380 | EspHostedCmdSetMacAddress * | |
381 | esp_hosted_cmd_set_mac_address__unpack | |
382 | (ProtobufCAllocator *allocator, | |
383 | size_t len, | |
384 | const uint8_t *data) | |
385 | { | |
386 | return (EspHostedCmdSetMacAddress *) | |
387 | protobuf_c_message_unpack (&esp_hosted_cmd_set_mac_address__descriptor, | |
388 | allocator, len, data); | |
389 | } | |
390 | void esp_hosted_cmd_set_mac_address__free_unpacked | |
391 | (EspHostedCmdSetMacAddress *message, | |
392 | ProtobufCAllocator *allocator) | |
393 | { | |
394 | assert(message->base.descriptor == &esp_hosted_cmd_set_mac_address__descriptor); | |
395 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
396 | } | |
397 | void esp_hosted_resp_set_mac_address__init | |
398 | (EspHostedRespSetMacAddress *message) | |
399 | { | |
400 | static EspHostedRespSetMacAddress init_value = ESP_HOSTED_RESP_SET_MAC_ADDRESS__INIT; | |
401 | *message = init_value; | |
402 | } | |
403 | size_t esp_hosted_resp_set_mac_address__get_packed_size | |
404 | (const EspHostedRespSetMacAddress *message) | |
405 | { | |
406 | assert(message->base.descriptor == &esp_hosted_resp_set_mac_address__descriptor); | |
407 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
408 | } | |
409 | size_t esp_hosted_resp_set_mac_address__pack | |
410 | (const EspHostedRespSetMacAddress *message, | |
411 | uint8_t *out) | |
412 | { | |
413 | assert(message->base.descriptor == &esp_hosted_resp_set_mac_address__descriptor); | |
414 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
415 | } | |
416 | size_t esp_hosted_resp_set_mac_address__pack_to_buffer | |
417 | (const EspHostedRespSetMacAddress *message, | |
418 | ProtobufCBuffer *buffer) | |
419 | { | |
420 | assert(message->base.descriptor == &esp_hosted_resp_set_mac_address__descriptor); | |
421 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
422 | } | |
423 | EspHostedRespSetMacAddress * | |
424 | esp_hosted_resp_set_mac_address__unpack | |
425 | (ProtobufCAllocator *allocator, | |
426 | size_t len, | |
427 | const uint8_t *data) | |
428 | { | |
429 | return (EspHostedRespSetMacAddress *) | |
430 | protobuf_c_message_unpack (&esp_hosted_resp_set_mac_address__descriptor, | |
431 | allocator, len, data); | |
432 | } | |
433 | void esp_hosted_resp_set_mac_address__free_unpacked | |
434 | (EspHostedRespSetMacAddress *message, | |
435 | ProtobufCAllocator *allocator) | |
436 | { | |
437 | assert(message->base.descriptor == &esp_hosted_resp_set_mac_address__descriptor); | |
438 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
439 | } | |
6e029e3a | 440 | void esp_hosted_cmd_get_apconfig__init |
441 | (EspHostedCmdGetAPConfig *message) | |
f956a62b | 442 | { |
6e029e3a | 443 | static EspHostedCmdGetAPConfig init_value = ESP_HOSTED_CMD_GET_APCONFIG__INIT; |
f956a62b | 444 | *message = init_value; |
445 | } | |
6e029e3a | 446 | size_t esp_hosted_cmd_get_apconfig__get_packed_size |
447 | (const EspHostedCmdGetAPConfig *message) | |
f956a62b | 448 | { |
6e029e3a | 449 | assert(message->base.descriptor == &esp_hosted_cmd_get_apconfig__descriptor); |
f956a62b | 450 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
451 | } | |
6e029e3a | 452 | size_t esp_hosted_cmd_get_apconfig__pack |
453 | (const EspHostedCmdGetAPConfig *message, | |
f956a62b | 454 | uint8_t *out) |
455 | { | |
6e029e3a | 456 | assert(message->base.descriptor == &esp_hosted_cmd_get_apconfig__descriptor); |
f956a62b | 457 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
458 | } | |
6e029e3a | 459 | size_t esp_hosted_cmd_get_apconfig__pack_to_buffer |
460 | (const EspHostedCmdGetAPConfig *message, | |
f956a62b | 461 | ProtobufCBuffer *buffer) |
462 | { | |
6e029e3a | 463 | assert(message->base.descriptor == &esp_hosted_cmd_get_apconfig__descriptor); |
f956a62b | 464 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
465 | } | |
6e029e3a | 466 | EspHostedCmdGetAPConfig * |
467 | esp_hosted_cmd_get_apconfig__unpack | |
f956a62b | 468 | (ProtobufCAllocator *allocator, |
469 | size_t len, | |
470 | const uint8_t *data) | |
471 | { | |
6e029e3a | 472 | return (EspHostedCmdGetAPConfig *) |
473 | protobuf_c_message_unpack (&esp_hosted_cmd_get_apconfig__descriptor, | |
f956a62b | 474 | allocator, len, data); |
475 | } | |
6e029e3a | 476 | void esp_hosted_cmd_get_apconfig__free_unpacked |
477 | (EspHostedCmdGetAPConfig *message, | |
f956a62b | 478 | ProtobufCAllocator *allocator) |
479 | { | |
6e029e3a | 480 | assert(message->base.descriptor == &esp_hosted_cmd_get_apconfig__descriptor); |
f956a62b | 481 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
482 | } | |
6e029e3a | 483 | void esp_hosted_resp_get_apconfig__init |
484 | (EspHostedRespGetAPConfig *message) | |
f956a62b | 485 | { |
6e029e3a | 486 | static EspHostedRespGetAPConfig init_value = ESP_HOSTED_RESP_GET_APCONFIG__INIT; |
f956a62b | 487 | *message = init_value; |
488 | } | |
6e029e3a | 489 | size_t esp_hosted_resp_get_apconfig__get_packed_size |
490 | (const EspHostedRespGetAPConfig *message) | |
f956a62b | 491 | { |
6e029e3a | 492 | assert(message->base.descriptor == &esp_hosted_resp_get_apconfig__descriptor); |
f956a62b | 493 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
494 | } | |
6e029e3a | 495 | size_t esp_hosted_resp_get_apconfig__pack |
496 | (const EspHostedRespGetAPConfig *message, | |
f956a62b | 497 | uint8_t *out) |
498 | { | |
6e029e3a | 499 | assert(message->base.descriptor == &esp_hosted_resp_get_apconfig__descriptor); |
f956a62b | 500 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
501 | } | |
6e029e3a | 502 | size_t esp_hosted_resp_get_apconfig__pack_to_buffer |
503 | (const EspHostedRespGetAPConfig *message, | |
f956a62b | 504 | ProtobufCBuffer *buffer) |
505 | { | |
6e029e3a | 506 | assert(message->base.descriptor == &esp_hosted_resp_get_apconfig__descriptor); |
f956a62b | 507 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
508 | } | |
6e029e3a | 509 | EspHostedRespGetAPConfig * |
510 | esp_hosted_resp_get_apconfig__unpack | |
f956a62b | 511 | (ProtobufCAllocator *allocator, |
512 | size_t len, | |
513 | const uint8_t *data) | |
514 | { | |
6e029e3a | 515 | return (EspHostedRespGetAPConfig *) |
516 | protobuf_c_message_unpack (&esp_hosted_resp_get_apconfig__descriptor, | |
f956a62b | 517 | allocator, len, data); |
518 | } | |
6e029e3a | 519 | void esp_hosted_resp_get_apconfig__free_unpacked |
520 | (EspHostedRespGetAPConfig *message, | |
f956a62b | 521 | ProtobufCAllocator *allocator) |
522 | { | |
6e029e3a | 523 | assert(message->base.descriptor == &esp_hosted_resp_get_apconfig__descriptor); |
f956a62b | 524 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
525 | } | |
6e029e3a | 526 | void esp_hosted_cmd_set_apconfig__init |
527 | (EspHostedCmdSetAPConfig *message) | |
259f9899 | 528 | { |
6e029e3a | 529 | static EspHostedCmdSetAPConfig init_value = ESP_HOSTED_CMD_SET_APCONFIG__INIT; |
259f9899 | 530 | *message = init_value; |
531 | } | |
6e029e3a | 532 | size_t esp_hosted_cmd_set_apconfig__get_packed_size |
533 | (const EspHostedCmdSetAPConfig *message) | |
259f9899 | 534 | { |
6e029e3a | 535 | assert(message->base.descriptor == &esp_hosted_cmd_set_apconfig__descriptor); |
259f9899 | 536 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
537 | } | |
6e029e3a | 538 | size_t esp_hosted_cmd_set_apconfig__pack |
539 | (const EspHostedCmdSetAPConfig *message, | |
259f9899 | 540 | uint8_t *out) |
541 | { | |
6e029e3a | 542 | assert(message->base.descriptor == &esp_hosted_cmd_set_apconfig__descriptor); |
259f9899 | 543 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
544 | } | |
6e029e3a | 545 | size_t esp_hosted_cmd_set_apconfig__pack_to_buffer |
546 | (const EspHostedCmdSetAPConfig *message, | |
259f9899 | 547 | ProtobufCBuffer *buffer) |
548 | { | |
6e029e3a | 549 | assert(message->base.descriptor == &esp_hosted_cmd_set_apconfig__descriptor); |
259f9899 | 550 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
551 | } | |
6e029e3a | 552 | EspHostedCmdSetAPConfig * |
553 | esp_hosted_cmd_set_apconfig__unpack | |
259f9899 | 554 | (ProtobufCAllocator *allocator, |
555 | size_t len, | |
556 | const uint8_t *data) | |
557 | { | |
6e029e3a | 558 | return (EspHostedCmdSetAPConfig *) |
559 | protobuf_c_message_unpack (&esp_hosted_cmd_set_apconfig__descriptor, | |
259f9899 | 560 | allocator, len, data); |
561 | } | |
6e029e3a | 562 | void esp_hosted_cmd_set_apconfig__free_unpacked |
563 | (EspHostedCmdSetAPConfig *message, | |
259f9899 | 564 | ProtobufCAllocator *allocator) |
565 | { | |
6e029e3a | 566 | assert(message->base.descriptor == &esp_hosted_cmd_set_apconfig__descriptor); |
259f9899 | 567 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
568 | } | |
6e029e3a | 569 | void esp_hosted_resp_set_apconfig__init |
570 | (EspHostedRespSetAPConfig *message) | |
259f9899 | 571 | { |
6e029e3a | 572 | static EspHostedRespSetAPConfig init_value = ESP_HOSTED_RESP_SET_APCONFIG__INIT; |
259f9899 | 573 | *message = init_value; |
574 | } | |
6e029e3a | 575 | size_t esp_hosted_resp_set_apconfig__get_packed_size |
576 | (const EspHostedRespSetAPConfig *message) | |
259f9899 | 577 | { |
6e029e3a | 578 | assert(message->base.descriptor == &esp_hosted_resp_set_apconfig__descriptor); |
259f9899 | 579 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
580 | } | |
6e029e3a | 581 | size_t esp_hosted_resp_set_apconfig__pack |
582 | (const EspHostedRespSetAPConfig *message, | |
259f9899 | 583 | uint8_t *out) |
584 | { | |
6e029e3a | 585 | assert(message->base.descriptor == &esp_hosted_resp_set_apconfig__descriptor); |
259f9899 | 586 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
587 | } | |
6e029e3a | 588 | size_t esp_hosted_resp_set_apconfig__pack_to_buffer |
589 | (const EspHostedRespSetAPConfig *message, | |
259f9899 | 590 | ProtobufCBuffer *buffer) |
591 | { | |
6e029e3a | 592 | assert(message->base.descriptor == &esp_hosted_resp_set_apconfig__descriptor); |
259f9899 | 593 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
594 | } | |
6e029e3a | 595 | EspHostedRespSetAPConfig * |
596 | esp_hosted_resp_set_apconfig__unpack | |
259f9899 | 597 | (ProtobufCAllocator *allocator, |
598 | size_t len, | |
599 | const uint8_t *data) | |
600 | { | |
6e029e3a | 601 | return (EspHostedRespSetAPConfig *) |
602 | protobuf_c_message_unpack (&esp_hosted_resp_set_apconfig__descriptor, | |
259f9899 | 603 | allocator, len, data); |
604 | } | |
6e029e3a | 605 | void esp_hosted_resp_set_apconfig__free_unpacked |
606 | (EspHostedRespSetAPConfig *message, | |
259f9899 | 607 | ProtobufCAllocator *allocator) |
608 | { | |
6e029e3a | 609 | assert(message->base.descriptor == &esp_hosted_resp_set_apconfig__descriptor); |
259f9899 | 610 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
611 | } | |
6e029e3a | 612 | void esp_hosted_cmd_get_soft_apconfig__init |
613 | (EspHostedCmdGetSoftAPConfig *message) | |
259f9899 | 614 | { |
6e029e3a | 615 | static EspHostedCmdGetSoftAPConfig init_value = ESP_HOSTED_CMD_GET_SOFT_APCONFIG__INIT; |
259f9899 | 616 | *message = init_value; |
617 | } | |
6e029e3a | 618 | size_t esp_hosted_cmd_get_soft_apconfig__get_packed_size |
619 | (const EspHostedCmdGetSoftAPConfig *message) | |
259f9899 | 620 | { |
6e029e3a | 621 | assert(message->base.descriptor == &esp_hosted_cmd_get_soft_apconfig__descriptor); |
259f9899 | 622 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
623 | } | |
6e029e3a | 624 | size_t esp_hosted_cmd_get_soft_apconfig__pack |
625 | (const EspHostedCmdGetSoftAPConfig *message, | |
259f9899 | 626 | uint8_t *out) |
627 | { | |
6e029e3a | 628 | assert(message->base.descriptor == &esp_hosted_cmd_get_soft_apconfig__descriptor); |
259f9899 | 629 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
630 | } | |
6e029e3a | 631 | size_t esp_hosted_cmd_get_soft_apconfig__pack_to_buffer |
632 | (const EspHostedCmdGetSoftAPConfig *message, | |
259f9899 | 633 | ProtobufCBuffer *buffer) |
634 | { | |
6e029e3a | 635 | assert(message->base.descriptor == &esp_hosted_cmd_get_soft_apconfig__descriptor); |
259f9899 | 636 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
637 | } | |
6e029e3a | 638 | EspHostedCmdGetSoftAPConfig * |
639 | esp_hosted_cmd_get_soft_apconfig__unpack | |
259f9899 | 640 | (ProtobufCAllocator *allocator, |
641 | size_t len, | |
642 | const uint8_t *data) | |
643 | { | |
6e029e3a | 644 | return (EspHostedCmdGetSoftAPConfig *) |
645 | protobuf_c_message_unpack (&esp_hosted_cmd_get_soft_apconfig__descriptor, | |
259f9899 | 646 | allocator, len, data); |
647 | } | |
6e029e3a | 648 | void esp_hosted_cmd_get_soft_apconfig__free_unpacked |
649 | (EspHostedCmdGetSoftAPConfig *message, | |
259f9899 | 650 | ProtobufCAllocator *allocator) |
651 | { | |
6e029e3a | 652 | assert(message->base.descriptor == &esp_hosted_cmd_get_soft_apconfig__descriptor); |
259f9899 | 653 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
654 | } | |
6e029e3a | 655 | void esp_hosted_resp_get_soft_apconfig__init |
656 | (EspHostedRespGetSoftAPConfig *message) | |
1175ec3d | 657 | { |
6e029e3a | 658 | static EspHostedRespGetSoftAPConfig init_value = ESP_HOSTED_RESP_GET_SOFT_APCONFIG__INIT; |
1175ec3d | 659 | *message = init_value; |
660 | } | |
6e029e3a | 661 | size_t esp_hosted_resp_get_soft_apconfig__get_packed_size |
662 | (const EspHostedRespGetSoftAPConfig *message) | |
1175ec3d | 663 | { |
6e029e3a | 664 | assert(message->base.descriptor == &esp_hosted_resp_get_soft_apconfig__descriptor); |
1175ec3d | 665 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
666 | } | |
6e029e3a | 667 | size_t esp_hosted_resp_get_soft_apconfig__pack |
668 | (const EspHostedRespGetSoftAPConfig *message, | |
1175ec3d | 669 | uint8_t *out) |
670 | { | |
6e029e3a | 671 | assert(message->base.descriptor == &esp_hosted_resp_get_soft_apconfig__descriptor); |
1175ec3d | 672 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
673 | } | |
6e029e3a | 674 | size_t esp_hosted_resp_get_soft_apconfig__pack_to_buffer |
675 | (const EspHostedRespGetSoftAPConfig *message, | |
1175ec3d | 676 | ProtobufCBuffer *buffer) |
677 | { | |
6e029e3a | 678 | assert(message->base.descriptor == &esp_hosted_resp_get_soft_apconfig__descriptor); |
1175ec3d | 679 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
680 | } | |
6e029e3a | 681 | EspHostedRespGetSoftAPConfig * |
682 | esp_hosted_resp_get_soft_apconfig__unpack | |
1175ec3d | 683 | (ProtobufCAllocator *allocator, |
684 | size_t len, | |
685 | const uint8_t *data) | |
686 | { | |
6e029e3a | 687 | return (EspHostedRespGetSoftAPConfig *) |
688 | protobuf_c_message_unpack (&esp_hosted_resp_get_soft_apconfig__descriptor, | |
1175ec3d | 689 | allocator, len, data); |
690 | } | |
6e029e3a | 691 | void esp_hosted_resp_get_soft_apconfig__free_unpacked |
692 | (EspHostedRespGetSoftAPConfig *message, | |
1175ec3d | 693 | ProtobufCAllocator *allocator) |
694 | { | |
6e029e3a | 695 | assert(message->base.descriptor == &esp_hosted_resp_get_soft_apconfig__descriptor); |
1175ec3d | 696 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
697 | } | |
6e029e3a | 698 | void esp_hosted_cmd_set_soft_apconfig__init |
699 | (EspHostedCmdSetSoftAPConfig *message) | |
1175ec3d | 700 | { |
6e029e3a | 701 | static EspHostedCmdSetSoftAPConfig init_value = ESP_HOSTED_CMD_SET_SOFT_APCONFIG__INIT; |
1175ec3d | 702 | *message = init_value; |
703 | } | |
6e029e3a | 704 | size_t esp_hosted_cmd_set_soft_apconfig__get_packed_size |
705 | (const EspHostedCmdSetSoftAPConfig *message) | |
1175ec3d | 706 | { |
6e029e3a | 707 | assert(message->base.descriptor == &esp_hosted_cmd_set_soft_apconfig__descriptor); |
1175ec3d | 708 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
709 | } | |
6e029e3a | 710 | size_t esp_hosted_cmd_set_soft_apconfig__pack |
711 | (const EspHostedCmdSetSoftAPConfig *message, | |
1175ec3d | 712 | uint8_t *out) |
713 | { | |
6e029e3a | 714 | assert(message->base.descriptor == &esp_hosted_cmd_set_soft_apconfig__descriptor); |
1175ec3d | 715 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
716 | } | |
6e029e3a | 717 | size_t esp_hosted_cmd_set_soft_apconfig__pack_to_buffer |
718 | (const EspHostedCmdSetSoftAPConfig *message, | |
1175ec3d | 719 | ProtobufCBuffer *buffer) |
720 | { | |
6e029e3a | 721 | assert(message->base.descriptor == &esp_hosted_cmd_set_soft_apconfig__descriptor); |
1175ec3d | 722 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
723 | } | |
6e029e3a | 724 | EspHostedCmdSetSoftAPConfig * |
725 | esp_hosted_cmd_set_soft_apconfig__unpack | |
1175ec3d | 726 | (ProtobufCAllocator *allocator, |
727 | size_t len, | |
728 | const uint8_t *data) | |
729 | { | |
6e029e3a | 730 | return (EspHostedCmdSetSoftAPConfig *) |
731 | protobuf_c_message_unpack (&esp_hosted_cmd_set_soft_apconfig__descriptor, | |
1175ec3d | 732 | allocator, len, data); |
733 | } | |
6e029e3a | 734 | void esp_hosted_cmd_set_soft_apconfig__free_unpacked |
735 | (EspHostedCmdSetSoftAPConfig *message, | |
1175ec3d | 736 | ProtobufCAllocator *allocator) |
737 | { | |
6e029e3a | 738 | assert(message->base.descriptor == &esp_hosted_cmd_set_soft_apconfig__descriptor); |
1175ec3d | 739 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
740 | } | |
6e029e3a | 741 | void esp_hosted_resp_set_soft_apconfig__init |
742 | (EspHostedRespSetSoftAPConfig *message) | |
1175ec3d | 743 | { |
6e029e3a | 744 | static EspHostedRespSetSoftAPConfig init_value = ESP_HOSTED_RESP_SET_SOFT_APCONFIG__INIT; |
1175ec3d | 745 | *message = init_value; |
746 | } | |
6e029e3a | 747 | size_t esp_hosted_resp_set_soft_apconfig__get_packed_size |
748 | (const EspHostedRespSetSoftAPConfig *message) | |
1175ec3d | 749 | { |
6e029e3a | 750 | assert(message->base.descriptor == &esp_hosted_resp_set_soft_apconfig__descriptor); |
1175ec3d | 751 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
752 | } | |
6e029e3a | 753 | size_t esp_hosted_resp_set_soft_apconfig__pack |
754 | (const EspHostedRespSetSoftAPConfig *message, | |
1175ec3d | 755 | uint8_t *out) |
756 | { | |
6e029e3a | 757 | assert(message->base.descriptor == &esp_hosted_resp_set_soft_apconfig__descriptor); |
1175ec3d | 758 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
759 | } | |
6e029e3a | 760 | size_t esp_hosted_resp_set_soft_apconfig__pack_to_buffer |
761 | (const EspHostedRespSetSoftAPConfig *message, | |
1175ec3d | 762 | ProtobufCBuffer *buffer) |
763 | { | |
6e029e3a | 764 | assert(message->base.descriptor == &esp_hosted_resp_set_soft_apconfig__descriptor); |
1175ec3d | 765 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
766 | } | |
6e029e3a | 767 | EspHostedRespSetSoftAPConfig * |
768 | esp_hosted_resp_set_soft_apconfig__unpack | |
1175ec3d | 769 | (ProtobufCAllocator *allocator, |
770 | size_t len, | |
771 | const uint8_t *data) | |
772 | { | |
6e029e3a | 773 | return (EspHostedRespSetSoftAPConfig *) |
774 | protobuf_c_message_unpack (&esp_hosted_resp_set_soft_apconfig__descriptor, | |
1175ec3d | 775 | allocator, len, data); |
776 | } | |
6e029e3a | 777 | void esp_hosted_resp_set_soft_apconfig__free_unpacked |
778 | (EspHostedRespSetSoftAPConfig *message, | |
1175ec3d | 779 | ProtobufCAllocator *allocator) |
780 | { | |
6e029e3a | 781 | assert(message->base.descriptor == &esp_hosted_resp_set_soft_apconfig__descriptor); |
1175ec3d | 782 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
783 | } | |
6e029e3a | 784 | void esp_hosted_scan_result__init |
785 | (EspHostedScanResult *message) | |
fb00c9ba | 786 | { |
6e029e3a | 787 | static EspHostedScanResult init_value = ESP_HOSTED_SCAN_RESULT__INIT; |
fb00c9ba | 788 | *message = init_value; |
789 | } | |
6e029e3a | 790 | size_t esp_hosted_scan_result__get_packed_size |
791 | (const EspHostedScanResult *message) | |
fb00c9ba | 792 | { |
6e029e3a | 793 | assert(message->base.descriptor == &esp_hosted_scan_result__descriptor); |
fb00c9ba | 794 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
795 | } | |
6e029e3a | 796 | size_t esp_hosted_scan_result__pack |
797 | (const EspHostedScanResult *message, | |
fb00c9ba | 798 | uint8_t *out) |
799 | { | |
6e029e3a | 800 | assert(message->base.descriptor == &esp_hosted_scan_result__descriptor); |
fb00c9ba | 801 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
802 | } | |
6e029e3a | 803 | size_t esp_hosted_scan_result__pack_to_buffer |
804 | (const EspHostedScanResult *message, | |
fb00c9ba | 805 | ProtobufCBuffer *buffer) |
806 | { | |
6e029e3a | 807 | assert(message->base.descriptor == &esp_hosted_scan_result__descriptor); |
fb00c9ba | 808 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
809 | } | |
6e029e3a | 810 | EspHostedScanResult * |
811 | esp_hosted_scan_result__unpack | |
fb00c9ba | 812 | (ProtobufCAllocator *allocator, |
813 | size_t len, | |
814 | const uint8_t *data) | |
815 | { | |
6e029e3a | 816 | return (EspHostedScanResult *) |
817 | protobuf_c_message_unpack (&esp_hosted_scan_result__descriptor, | |
fb00c9ba | 818 | allocator, len, data); |
819 | } | |
6e029e3a | 820 | void esp_hosted_scan_result__free_unpacked |
821 | (EspHostedScanResult *message, | |
fb00c9ba | 822 | ProtobufCAllocator *allocator) |
823 | { | |
6e029e3a | 824 | assert(message->base.descriptor == &esp_hosted_scan_result__descriptor); |
fb00c9ba | 825 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
826 | } | |
6e029e3a | 827 | void esp_hosted_cmd_scan_result__init |
828 | (EspHostedCmdScanResult *message) | |
fb00c9ba | 829 | { |
6e029e3a | 830 | static EspHostedCmdScanResult init_value = ESP_HOSTED_CMD_SCAN_RESULT__INIT; |
fb00c9ba | 831 | *message = init_value; |
832 | } | |
6e029e3a | 833 | size_t esp_hosted_cmd_scan_result__get_packed_size |
834 | (const EspHostedCmdScanResult *message) | |
fb00c9ba | 835 | { |
6e029e3a | 836 | assert(message->base.descriptor == &esp_hosted_cmd_scan_result__descriptor); |
fb00c9ba | 837 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
838 | } | |
6e029e3a | 839 | size_t esp_hosted_cmd_scan_result__pack |
840 | (const EspHostedCmdScanResult *message, | |
fb00c9ba | 841 | uint8_t *out) |
842 | { | |
6e029e3a | 843 | assert(message->base.descriptor == &esp_hosted_cmd_scan_result__descriptor); |
fb00c9ba | 844 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
845 | } | |
6e029e3a | 846 | size_t esp_hosted_cmd_scan_result__pack_to_buffer |
847 | (const EspHostedCmdScanResult *message, | |
fb00c9ba | 848 | ProtobufCBuffer *buffer) |
849 | { | |
6e029e3a | 850 | assert(message->base.descriptor == &esp_hosted_cmd_scan_result__descriptor); |
851 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
852 | } | |
853 | EspHostedCmdScanResult * | |
854 | esp_hosted_cmd_scan_result__unpack | |
855 | (ProtobufCAllocator *allocator, | |
856 | size_t len, | |
857 | const uint8_t *data) | |
858 | { | |
859 | return (EspHostedCmdScanResult *) | |
860 | protobuf_c_message_unpack (&esp_hosted_cmd_scan_result__descriptor, | |
861 | allocator, len, data); | |
862 | } | |
863 | void esp_hosted_cmd_scan_result__free_unpacked | |
864 | (EspHostedCmdScanResult *message, | |
865 | ProtobufCAllocator *allocator) | |
866 | { | |
867 | assert(message->base.descriptor == &esp_hosted_cmd_scan_result__descriptor); | |
868 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
869 | } | |
870 | void esp_hosted_resp_scan_result__init | |
871 | (EspHostedRespScanResult *message) | |
872 | { | |
873 | static EspHostedRespScanResult init_value = ESP_HOSTED_RESP_SCAN_RESULT__INIT; | |
874 | *message = init_value; | |
875 | } | |
876 | size_t esp_hosted_resp_scan_result__get_packed_size | |
877 | (const EspHostedRespScanResult *message) | |
878 | { | |
879 | assert(message->base.descriptor == &esp_hosted_resp_scan_result__descriptor); | |
880 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
881 | } | |
882 | size_t esp_hosted_resp_scan_result__pack | |
883 | (const EspHostedRespScanResult *message, | |
884 | uint8_t *out) | |
885 | { | |
886 | assert(message->base.descriptor == &esp_hosted_resp_scan_result__descriptor); | |
887 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
888 | } | |
889 | size_t esp_hosted_resp_scan_result__pack_to_buffer | |
890 | (const EspHostedRespScanResult *message, | |
891 | ProtobufCBuffer *buffer) | |
892 | { | |
893 | assert(message->base.descriptor == &esp_hosted_resp_scan_result__descriptor); | |
894 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
895 | } | |
896 | EspHostedRespScanResult * | |
897 | esp_hosted_resp_scan_result__unpack | |
898 | (ProtobufCAllocator *allocator, | |
899 | size_t len, | |
900 | const uint8_t *data) | |
901 | { | |
902 | return (EspHostedRespScanResult *) | |
903 | protobuf_c_message_unpack (&esp_hosted_resp_scan_result__descriptor, | |
904 | allocator, len, data); | |
905 | } | |
906 | void esp_hosted_resp_scan_result__free_unpacked | |
907 | (EspHostedRespScanResult *message, | |
908 | ProtobufCAllocator *allocator) | |
909 | { | |
910 | assert(message->base.descriptor == &esp_hosted_resp_scan_result__descriptor); | |
911 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
912 | } | |
913 | void esp_hosted_connected_stalist__init | |
914 | (EspHostedConnectedSTAList *message) | |
915 | { | |
916 | static EspHostedConnectedSTAList init_value = ESP_HOSTED_CONNECTED_STALIST__INIT; | |
917 | *message = init_value; | |
918 | } | |
919 | size_t esp_hosted_connected_stalist__get_packed_size | |
920 | (const EspHostedConnectedSTAList *message) | |
921 | { | |
922 | assert(message->base.descriptor == &esp_hosted_connected_stalist__descriptor); | |
923 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
924 | } | |
925 | size_t esp_hosted_connected_stalist__pack | |
926 | (const EspHostedConnectedSTAList *message, | |
927 | uint8_t *out) | |
928 | { | |
929 | assert(message->base.descriptor == &esp_hosted_connected_stalist__descriptor); | |
930 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
931 | } | |
932 | size_t esp_hosted_connected_stalist__pack_to_buffer | |
933 | (const EspHostedConnectedSTAList *message, | |
934 | ProtobufCBuffer *buffer) | |
935 | { | |
936 | assert(message->base.descriptor == &esp_hosted_connected_stalist__descriptor); | |
fb00c9ba | 937 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
938 | } | |
6e029e3a | 939 | EspHostedConnectedSTAList * |
940 | esp_hosted_connected_stalist__unpack | |
fb00c9ba | 941 | (ProtobufCAllocator *allocator, |
942 | size_t len, | |
943 | const uint8_t *data) | |
944 | { | |
6e029e3a | 945 | return (EspHostedConnectedSTAList *) |
946 | protobuf_c_message_unpack (&esp_hosted_connected_stalist__descriptor, | |
fb00c9ba | 947 | allocator, len, data); |
948 | } | |
6e029e3a | 949 | void esp_hosted_connected_stalist__free_unpacked |
950 | (EspHostedConnectedSTAList *message, | |
fb00c9ba | 951 | ProtobufCAllocator *allocator) |
952 | { | |
6e029e3a | 953 | assert(message->base.descriptor == &esp_hosted_connected_stalist__descriptor); |
fb00c9ba | 954 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
955 | } | |
6e029e3a | 956 | void esp_hosted_cmd_connected_sta__init |
957 | (EspHostedCmdConnectedSTA *message) | |
fb00c9ba | 958 | { |
6e029e3a | 959 | static EspHostedCmdConnectedSTA init_value = ESP_HOSTED_CMD_CONNECTED_STA__INIT; |
fb00c9ba | 960 | *message = init_value; |
961 | } | |
6e029e3a | 962 | size_t esp_hosted_cmd_connected_sta__get_packed_size |
963 | (const EspHostedCmdConnectedSTA *message) | |
fb00c9ba | 964 | { |
6e029e3a | 965 | assert(message->base.descriptor == &esp_hosted_cmd_connected_sta__descriptor); |
fb00c9ba | 966 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
967 | } | |
6e029e3a | 968 | size_t esp_hosted_cmd_connected_sta__pack |
969 | (const EspHostedCmdConnectedSTA *message, | |
fb00c9ba | 970 | uint8_t *out) |
971 | { | |
6e029e3a | 972 | assert(message->base.descriptor == &esp_hosted_cmd_connected_sta__descriptor); |
fb00c9ba | 973 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
974 | } | |
6e029e3a | 975 | size_t esp_hosted_cmd_connected_sta__pack_to_buffer |
976 | (const EspHostedCmdConnectedSTA *message, | |
fb00c9ba | 977 | ProtobufCBuffer *buffer) |
978 | { | |
6e029e3a | 979 | assert(message->base.descriptor == &esp_hosted_cmd_connected_sta__descriptor); |
fb00c9ba | 980 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
981 | } | |
6e029e3a | 982 | EspHostedCmdConnectedSTA * |
983 | esp_hosted_cmd_connected_sta__unpack | |
fb00c9ba | 984 | (ProtobufCAllocator *allocator, |
985 | size_t len, | |
986 | const uint8_t *data) | |
987 | { | |
6e029e3a | 988 | return (EspHostedCmdConnectedSTA *) |
989 | protobuf_c_message_unpack (&esp_hosted_cmd_connected_sta__descriptor, | |
fb00c9ba | 990 | allocator, len, data); |
991 | } | |
6e029e3a | 992 | void esp_hosted_cmd_connected_sta__free_unpacked |
993 | (EspHostedCmdConnectedSTA *message, | |
fb00c9ba | 994 | ProtobufCAllocator *allocator) |
995 | { | |
6e029e3a | 996 | assert(message->base.descriptor == &esp_hosted_cmd_connected_sta__descriptor); |
fb00c9ba | 997 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
998 | } | |
6e029e3a | 999 | void esp_hosted_resp_connected_sta__init |
1000 | (EspHostedRespConnectedSTA *message) | |
fb00c9ba | 1001 | { |
6e029e3a | 1002 | static EspHostedRespConnectedSTA init_value = ESP_HOSTED_RESP_CONNECTED_STA__INIT; |
fb00c9ba | 1003 | *message = init_value; |
1004 | } | |
6e029e3a | 1005 | size_t esp_hosted_resp_connected_sta__get_packed_size |
1006 | (const EspHostedRespConnectedSTA *message) | |
fb00c9ba | 1007 | { |
6e029e3a | 1008 | assert(message->base.descriptor == &esp_hosted_resp_connected_sta__descriptor); |
fb00c9ba | 1009 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1010 | } | |
6e029e3a | 1011 | size_t esp_hosted_resp_connected_sta__pack |
1012 | (const EspHostedRespConnectedSTA *message, | |
fb00c9ba | 1013 | uint8_t *out) |
1014 | { | |
6e029e3a | 1015 | assert(message->base.descriptor == &esp_hosted_resp_connected_sta__descriptor); |
fb00c9ba | 1016 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1017 | } | |
6e029e3a | 1018 | size_t esp_hosted_resp_connected_sta__pack_to_buffer |
1019 | (const EspHostedRespConnectedSTA *message, | |
fb00c9ba | 1020 | ProtobufCBuffer *buffer) |
1021 | { | |
6e029e3a | 1022 | assert(message->base.descriptor == &esp_hosted_resp_connected_sta__descriptor); |
fb00c9ba | 1023 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1024 | } | |
6e029e3a | 1025 | EspHostedRespConnectedSTA * |
1026 | esp_hosted_resp_connected_sta__unpack | |
fb00c9ba | 1027 | (ProtobufCAllocator *allocator, |
1028 | size_t len, | |
1029 | const uint8_t *data) | |
1030 | { | |
6e029e3a | 1031 | return (EspHostedRespConnectedSTA *) |
1032 | protobuf_c_message_unpack (&esp_hosted_resp_connected_sta__descriptor, | |
fb00c9ba | 1033 | allocator, len, data); |
1034 | } | |
6e029e3a | 1035 | void esp_hosted_resp_connected_sta__free_unpacked |
1036 | (EspHostedRespConnectedSTA *message, | |
fb00c9ba | 1037 | ProtobufCAllocator *allocator) |
1038 | { | |
6e029e3a | 1039 | assert(message->base.descriptor == &esp_hosted_resp_connected_sta__descriptor); |
fb00c9ba | 1040 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1041 | } | |
cdd6c7dc YM |
1042 | void esp_hosted_cmd_otabegin__init |
1043 | (EspHostedCmdOTABegin *message) | |
1044 | { | |
1045 | static EspHostedCmdOTABegin init_value = ESP_HOSTED_CMD_OTABEGIN__INIT; | |
1046 | *message = init_value; | |
1047 | } | |
1048 | size_t esp_hosted_cmd_otabegin__get_packed_size | |
1049 | (const EspHostedCmdOTABegin *message) | |
1050 | { | |
1051 | assert(message->base.descriptor == &esp_hosted_cmd_otabegin__descriptor); | |
1052 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
1053 | } | |
1054 | size_t esp_hosted_cmd_otabegin__pack | |
1055 | (const EspHostedCmdOTABegin *message, | |
1056 | uint8_t *out) | |
1057 | { | |
1058 | assert(message->base.descriptor == &esp_hosted_cmd_otabegin__descriptor); | |
1059 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
1060 | } | |
1061 | size_t esp_hosted_cmd_otabegin__pack_to_buffer | |
1062 | (const EspHostedCmdOTABegin *message, | |
1063 | ProtobufCBuffer *buffer) | |
1064 | { | |
1065 | assert(message->base.descriptor == &esp_hosted_cmd_otabegin__descriptor); | |
1066 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
1067 | } | |
1068 | EspHostedCmdOTABegin * | |
1069 | esp_hosted_cmd_otabegin__unpack | |
1070 | (ProtobufCAllocator *allocator, | |
1071 | size_t len, | |
1072 | const uint8_t *data) | |
1073 | { | |
1074 | return (EspHostedCmdOTABegin *) | |
1075 | protobuf_c_message_unpack (&esp_hosted_cmd_otabegin__descriptor, | |
1076 | allocator, len, data); | |
1077 | } | |
1078 | void esp_hosted_cmd_otabegin__free_unpacked | |
1079 | (EspHostedCmdOTABegin *message, | |
1080 | ProtobufCAllocator *allocator) | |
1081 | { | |
1082 | assert(message->base.descriptor == &esp_hosted_cmd_otabegin__descriptor); | |
1083 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
1084 | } | |
1085 | void esp_hosted_resp_otabegin__init | |
1086 | (EspHostedRespOTABegin *message) | |
1087 | { | |
1088 | static EspHostedRespOTABegin init_value = ESP_HOSTED_RESP_OTABEGIN__INIT; | |
1089 | *message = init_value; | |
1090 | } | |
1091 | size_t esp_hosted_resp_otabegin__get_packed_size | |
1092 | (const EspHostedRespOTABegin *message) | |
1093 | { | |
1094 | assert(message->base.descriptor == &esp_hosted_resp_otabegin__descriptor); | |
1095 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
1096 | } | |
1097 | size_t esp_hosted_resp_otabegin__pack | |
1098 | (const EspHostedRespOTABegin *message, | |
1099 | uint8_t *out) | |
1100 | { | |
1101 | assert(message->base.descriptor == &esp_hosted_resp_otabegin__descriptor); | |
1102 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
1103 | } | |
1104 | size_t esp_hosted_resp_otabegin__pack_to_buffer | |
1105 | (const EspHostedRespOTABegin *message, | |
1106 | ProtobufCBuffer *buffer) | |
1107 | { | |
1108 | assert(message->base.descriptor == &esp_hosted_resp_otabegin__descriptor); | |
1109 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
1110 | } | |
1111 | EspHostedRespOTABegin * | |
1112 | esp_hosted_resp_otabegin__unpack | |
1113 | (ProtobufCAllocator *allocator, | |
1114 | size_t len, | |
1115 | const uint8_t *data) | |
1116 | { | |
1117 | return (EspHostedRespOTABegin *) | |
1118 | protobuf_c_message_unpack (&esp_hosted_resp_otabegin__descriptor, | |
1119 | allocator, len, data); | |
1120 | } | |
1121 | void esp_hosted_resp_otabegin__free_unpacked | |
1122 | (EspHostedRespOTABegin *message, | |
1123 | ProtobufCAllocator *allocator) | |
1124 | { | |
1125 | assert(message->base.descriptor == &esp_hosted_resp_otabegin__descriptor); | |
1126 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
1127 | } | |
1128 | void esp_hosted_cmd_otawrite__init | |
1129 | (EspHostedCmdOTAWrite *message) | |
1130 | { | |
1131 | static EspHostedCmdOTAWrite init_value = ESP_HOSTED_CMD_OTAWRITE__INIT; | |
1132 | *message = init_value; | |
1133 | } | |
1134 | size_t esp_hosted_cmd_otawrite__get_packed_size | |
1135 | (const EspHostedCmdOTAWrite *message) | |
1136 | { | |
1137 | assert(message->base.descriptor == &esp_hosted_cmd_otawrite__descriptor); | |
1138 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
1139 | } | |
1140 | size_t esp_hosted_cmd_otawrite__pack | |
1141 | (const EspHostedCmdOTAWrite *message, | |
1142 | uint8_t *out) | |
1143 | { | |
1144 | assert(message->base.descriptor == &esp_hosted_cmd_otawrite__descriptor); | |
1145 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
1146 | } | |
1147 | size_t esp_hosted_cmd_otawrite__pack_to_buffer | |
1148 | (const EspHostedCmdOTAWrite *message, | |
1149 | ProtobufCBuffer *buffer) | |
1150 | { | |
1151 | assert(message->base.descriptor == &esp_hosted_cmd_otawrite__descriptor); | |
1152 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
1153 | } | |
1154 | EspHostedCmdOTAWrite * | |
1155 | esp_hosted_cmd_otawrite__unpack | |
1156 | (ProtobufCAllocator *allocator, | |
1157 | size_t len, | |
1158 | const uint8_t *data) | |
1159 | { | |
1160 | return (EspHostedCmdOTAWrite *) | |
1161 | protobuf_c_message_unpack (&esp_hosted_cmd_otawrite__descriptor, | |
1162 | allocator, len, data); | |
1163 | } | |
1164 | void esp_hosted_cmd_otawrite__free_unpacked | |
1165 | (EspHostedCmdOTAWrite *message, | |
1166 | ProtobufCAllocator *allocator) | |
1167 | { | |
1168 | assert(message->base.descriptor == &esp_hosted_cmd_otawrite__descriptor); | |
1169 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
1170 | } | |
1171 | void esp_hosted_resp_otawrite__init | |
1172 | (EspHostedRespOTAWrite *message) | |
1173 | { | |
1174 | static EspHostedRespOTAWrite init_value = ESP_HOSTED_RESP_OTAWRITE__INIT; | |
1175 | *message = init_value; | |
1176 | } | |
1177 | size_t esp_hosted_resp_otawrite__get_packed_size | |
1178 | (const EspHostedRespOTAWrite *message) | |
1179 | { | |
1180 | assert(message->base.descriptor == &esp_hosted_resp_otawrite__descriptor); | |
1181 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
1182 | } | |
1183 | size_t esp_hosted_resp_otawrite__pack | |
1184 | (const EspHostedRespOTAWrite *message, | |
1185 | uint8_t *out) | |
1186 | { | |
1187 | assert(message->base.descriptor == &esp_hosted_resp_otawrite__descriptor); | |
1188 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
1189 | } | |
1190 | size_t esp_hosted_resp_otawrite__pack_to_buffer | |
1191 | (const EspHostedRespOTAWrite *message, | |
1192 | ProtobufCBuffer *buffer) | |
1193 | { | |
1194 | assert(message->base.descriptor == &esp_hosted_resp_otawrite__descriptor); | |
1195 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
1196 | } | |
1197 | EspHostedRespOTAWrite * | |
1198 | esp_hosted_resp_otawrite__unpack | |
1199 | (ProtobufCAllocator *allocator, | |
1200 | size_t len, | |
1201 | const uint8_t *data) | |
1202 | { | |
1203 | return (EspHostedRespOTAWrite *) | |
1204 | protobuf_c_message_unpack (&esp_hosted_resp_otawrite__descriptor, | |
1205 | allocator, len, data); | |
1206 | } | |
1207 | void esp_hosted_resp_otawrite__free_unpacked | |
1208 | (EspHostedRespOTAWrite *message, | |
1209 | ProtobufCAllocator *allocator) | |
1210 | { | |
1211 | assert(message->base.descriptor == &esp_hosted_resp_otawrite__descriptor); | |
1212 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
1213 | } | |
1214 | void esp_hosted_cmd_otaend__init | |
1215 | (EspHostedCmdOTAEnd *message) | |
1216 | { | |
1217 | static EspHostedCmdOTAEnd init_value = ESP_HOSTED_CMD_OTAEND__INIT; | |
1218 | *message = init_value; | |
1219 | } | |
1220 | size_t esp_hosted_cmd_otaend__get_packed_size | |
1221 | (const EspHostedCmdOTAEnd *message) | |
1222 | { | |
1223 | assert(message->base.descriptor == &esp_hosted_cmd_otaend__descriptor); | |
1224 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
1225 | } | |
1226 | size_t esp_hosted_cmd_otaend__pack | |
1227 | (const EspHostedCmdOTAEnd *message, | |
1228 | uint8_t *out) | |
1229 | { | |
1230 | assert(message->base.descriptor == &esp_hosted_cmd_otaend__descriptor); | |
1231 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
1232 | } | |
1233 | size_t esp_hosted_cmd_otaend__pack_to_buffer | |
1234 | (const EspHostedCmdOTAEnd *message, | |
1235 | ProtobufCBuffer *buffer) | |
1236 | { | |
1237 | assert(message->base.descriptor == &esp_hosted_cmd_otaend__descriptor); | |
1238 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
1239 | } | |
1240 | EspHostedCmdOTAEnd * | |
1241 | esp_hosted_cmd_otaend__unpack | |
1242 | (ProtobufCAllocator *allocator, | |
1243 | size_t len, | |
1244 | const uint8_t *data) | |
1245 | { | |
1246 | return (EspHostedCmdOTAEnd *) | |
1247 | protobuf_c_message_unpack (&esp_hosted_cmd_otaend__descriptor, | |
1248 | allocator, len, data); | |
1249 | } | |
1250 | void esp_hosted_cmd_otaend__free_unpacked | |
1251 | (EspHostedCmdOTAEnd *message, | |
1252 | ProtobufCAllocator *allocator) | |
1253 | { | |
1254 | assert(message->base.descriptor == &esp_hosted_cmd_otaend__descriptor); | |
1255 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
1256 | } | |
1257 | void esp_hosted_resp_otaend__init | |
1258 | (EspHostedRespOTAEnd *message) | |
1259 | { | |
1260 | static EspHostedRespOTAEnd init_value = ESP_HOSTED_RESP_OTAEND__INIT; | |
1261 | *message = init_value; | |
1262 | } | |
1263 | size_t esp_hosted_resp_otaend__get_packed_size | |
1264 | (const EspHostedRespOTAEnd *message) | |
1265 | { | |
1266 | assert(message->base.descriptor == &esp_hosted_resp_otaend__descriptor); | |
1267 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
1268 | } | |
1269 | size_t esp_hosted_resp_otaend__pack | |
1270 | (const EspHostedRespOTAEnd *message, | |
1271 | uint8_t *out) | |
1272 | { | |
1273 | assert(message->base.descriptor == &esp_hosted_resp_otaend__descriptor); | |
1274 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
1275 | } | |
1276 | size_t esp_hosted_resp_otaend__pack_to_buffer | |
1277 | (const EspHostedRespOTAEnd *message, | |
1278 | ProtobufCBuffer *buffer) | |
1279 | { | |
1280 | assert(message->base.descriptor == &esp_hosted_resp_otaend__descriptor); | |
1281 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
1282 | } | |
1283 | EspHostedRespOTAEnd * | |
1284 | esp_hosted_resp_otaend__unpack | |
1285 | (ProtobufCAllocator *allocator, | |
1286 | size_t len, | |
1287 | const uint8_t *data) | |
1288 | { | |
1289 | return (EspHostedRespOTAEnd *) | |
1290 | protobuf_c_message_unpack (&esp_hosted_resp_otaend__descriptor, | |
1291 | allocator, len, data); | |
1292 | } | |
1293 | void esp_hosted_resp_otaend__free_unpacked | |
1294 | (EspHostedRespOTAEnd *message, | |
1295 | ProtobufCAllocator *allocator) | |
1296 | { | |
1297 | assert(message->base.descriptor == &esp_hosted_resp_otaend__descriptor); | |
1298 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
1299 | } | |
9625f63d | 1300 | void esp_hosted_cmd_set_vendor_specific_ie__init |
1301 | (EspHostedCmdSetVendorSpecificIE *message) | |
1302 | { | |
1303 | static EspHostedCmdSetVendorSpecificIE init_value = ESP_HOSTED_CMD_SET_VENDOR_SPECIFIC_IE__INIT; | |
1304 | *message = init_value; | |
1305 | } | |
1306 | size_t esp_hosted_cmd_set_vendor_specific_ie__get_packed_size | |
1307 | (const EspHostedCmdSetVendorSpecificIE *message) | |
1308 | { | |
1309 | assert(message->base.descriptor == &esp_hosted_cmd_set_vendor_specific_ie__descriptor); | |
1310 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
1311 | } | |
1312 | size_t esp_hosted_cmd_set_vendor_specific_ie__pack | |
1313 | (const EspHostedCmdSetVendorSpecificIE *message, | |
1314 | uint8_t *out) | |
1315 | { | |
1316 | assert(message->base.descriptor == &esp_hosted_cmd_set_vendor_specific_ie__descriptor); | |
1317 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
1318 | } | |
1319 | size_t esp_hosted_cmd_set_vendor_specific_ie__pack_to_buffer | |
1320 | (const EspHostedCmdSetVendorSpecificIE *message, | |
1321 | ProtobufCBuffer *buffer) | |
1322 | { | |
1323 | assert(message->base.descriptor == &esp_hosted_cmd_set_vendor_specific_ie__descriptor); | |
1324 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
1325 | } | |
1326 | EspHostedCmdSetVendorSpecificIE * | |
1327 | esp_hosted_cmd_set_vendor_specific_ie__unpack | |
1328 | (ProtobufCAllocator *allocator, | |
1329 | size_t len, | |
1330 | const uint8_t *data) | |
1331 | { | |
1332 | return (EspHostedCmdSetVendorSpecificIE *) | |
1333 | protobuf_c_message_unpack (&esp_hosted_cmd_set_vendor_specific_ie__descriptor, | |
1334 | allocator, len, data); | |
1335 | } | |
1336 | void esp_hosted_cmd_set_vendor_specific_ie__free_unpacked | |
1337 | (EspHostedCmdSetVendorSpecificIE *message, | |
1338 | ProtobufCAllocator *allocator) | |
1339 | { | |
1340 | assert(message->base.descriptor == &esp_hosted_cmd_set_vendor_specific_ie__descriptor); | |
1341 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
1342 | } | |
1343 | void esp_hosted_resp_set_vendor_specific_ie__init | |
1344 | (EspHostedRespSetVendorSpecificIE *message) | |
1345 | { | |
1346 | static EspHostedRespSetVendorSpecificIE init_value = ESP_HOSTED_RESP_SET_VENDOR_SPECIFIC_IE__INIT; | |
1347 | *message = init_value; | |
1348 | } | |
1349 | size_t esp_hosted_resp_set_vendor_specific_ie__get_packed_size | |
1350 | (const EspHostedRespSetVendorSpecificIE *message) | |
1351 | { | |
1352 | assert(message->base.descriptor == &esp_hosted_resp_set_vendor_specific_ie__descriptor); | |
1353 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); | |
1354 | } | |
1355 | size_t esp_hosted_resp_set_vendor_specific_ie__pack | |
1356 | (const EspHostedRespSetVendorSpecificIE *message, | |
1357 | uint8_t *out) | |
1358 | { | |
1359 | assert(message->base.descriptor == &esp_hosted_resp_set_vendor_specific_ie__descriptor); | |
1360 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); | |
1361 | } | |
1362 | size_t esp_hosted_resp_set_vendor_specific_ie__pack_to_buffer | |
1363 | (const EspHostedRespSetVendorSpecificIE *message, | |
1364 | ProtobufCBuffer *buffer) | |
1365 | { | |
1366 | assert(message->base.descriptor == &esp_hosted_resp_set_vendor_specific_ie__descriptor); | |
1367 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); | |
1368 | } | |
1369 | EspHostedRespSetVendorSpecificIE * | |
1370 | esp_hosted_resp_set_vendor_specific_ie__unpack | |
1371 | (ProtobufCAllocator *allocator, | |
1372 | size_t len, | |
1373 | const uint8_t *data) | |
1374 | { | |
1375 | return (EspHostedRespSetVendorSpecificIE *) | |
1376 | protobuf_c_message_unpack (&esp_hosted_resp_set_vendor_specific_ie__descriptor, | |
1377 | allocator, len, data); | |
1378 | } | |
1379 | void esp_hosted_resp_set_vendor_specific_ie__free_unpacked | |
1380 | (EspHostedRespSetVendorSpecificIE *message, | |
1381 | ProtobufCAllocator *allocator) | |
1382 | { | |
1383 | assert(message->base.descriptor == &esp_hosted_resp_set_vendor_specific_ie__descriptor); | |
1384 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); | |
1385 | } | |
f2753857 | 1386 | void esp_hosted_config_payload__init |
1387 | (EspHostedConfigPayload *message) | |
f956a62b | 1388 | { |
f2753857 | 1389 | static EspHostedConfigPayload init_value = ESP_HOSTED_CONFIG_PAYLOAD__INIT; |
f956a62b | 1390 | *message = init_value; |
1391 | } | |
f2753857 | 1392 | size_t esp_hosted_config_payload__get_packed_size |
1393 | (const EspHostedConfigPayload *message) | |
f956a62b | 1394 | { |
f2753857 | 1395 | assert(message->base.descriptor == &esp_hosted_config_payload__descriptor); |
f956a62b | 1396 | return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); |
1397 | } | |
f2753857 | 1398 | size_t esp_hosted_config_payload__pack |
1399 | (const EspHostedConfigPayload *message, | |
f956a62b | 1400 | uint8_t *out) |
1401 | { | |
f2753857 | 1402 | assert(message->base.descriptor == &esp_hosted_config_payload__descriptor); |
f956a62b | 1403 | return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); |
1404 | } | |
f2753857 | 1405 | size_t esp_hosted_config_payload__pack_to_buffer |
1406 | (const EspHostedConfigPayload *message, | |
f956a62b | 1407 | ProtobufCBuffer *buffer) |
1408 | { | |
f2753857 | 1409 | assert(message->base.descriptor == &esp_hosted_config_payload__descriptor); |
f956a62b | 1410 | return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); |
1411 | } | |
f2753857 | 1412 | EspHostedConfigPayload * |
1413 | esp_hosted_config_payload__unpack | |
f956a62b | 1414 | (ProtobufCAllocator *allocator, |
1415 | size_t len, | |
1416 | const uint8_t *data) | |
1417 | { | |
f2753857 | 1418 | return (EspHostedConfigPayload *) |
1419 | protobuf_c_message_unpack (&esp_hosted_config_payload__descriptor, | |
f956a62b | 1420 | allocator, len, data); |
1421 | } | |
f2753857 | 1422 | void esp_hosted_config_payload__free_unpacked |
1423 | (EspHostedConfigPayload *message, | |
f956a62b | 1424 | ProtobufCAllocator *allocator) |
1425 | { | |
f2753857 | 1426 | assert(message->base.descriptor == &esp_hosted_config_payload__descriptor); |
f956a62b | 1427 | protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); |
1428 | } | |
6e029e3a | 1429 | static const ProtobufCFieldDescriptor esp_hosted_cmd_get_mac_address__field_descriptors[1] = |
f956a62b | 1430 | { |
1431 | { | |
6e029e3a | 1432 | "mode", |
f956a62b | 1433 | 1, |
1434 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 1435 | PROTOBUF_C_TYPE_INT32, |
1436 | offsetof(EspHostedCmdGetMacAddress, has_mode), | |
1437 | offsetof(EspHostedCmdGetMacAddress, mode), | |
f956a62b | 1438 | NULL, |
1439 | NULL, | |
1440 | 0, /* flags */ | |
1441 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1442 | }, | |
6e029e3a | 1443 | }; |
1444 | static const unsigned esp_hosted_cmd_get_mac_address__field_indices_by_name[] = { | |
1445 | 0, /* field[0] = mode */ | |
1446 | }; | |
1447 | static const ProtobufCIntRange esp_hosted_cmd_get_mac_address__number_ranges[1 + 1] = | |
1448 | { | |
1449 | { 1, 0 }, | |
1450 | { 0, 1 } | |
1451 | }; | |
1452 | const ProtobufCMessageDescriptor esp_hosted_cmd_get_mac_address__descriptor = | |
1453 | { | |
1454 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1455 | "EspHostedCmdGetMacAddress", | |
1456 | "EspHostedCmdGetMacAddress", | |
1457 | "EspHostedCmdGetMacAddress", | |
1458 | "", | |
1459 | sizeof(EspHostedCmdGetMacAddress), | |
1460 | 1, | |
1461 | esp_hosted_cmd_get_mac_address__field_descriptors, | |
1462 | esp_hosted_cmd_get_mac_address__field_indices_by_name, | |
1463 | 1, esp_hosted_cmd_get_mac_address__number_ranges, | |
1464 | (ProtobufCMessageInit) esp_hosted_cmd_get_mac_address__init, | |
1465 | NULL,NULL,NULL /* reserved[123] */ | |
1466 | }; | |
1467 | static const ProtobufCFieldDescriptor esp_hosted_resp_get_mac_address__field_descriptors[2] = | |
1468 | { | |
1469 | { | |
1470 | "mac", | |
1471 | 1, | |
1472 | PROTOBUF_C_LABEL_OPTIONAL, | |
1473 | PROTOBUF_C_TYPE_BYTES, | |
1474 | offsetof(EspHostedRespGetMacAddress, has_mac), | |
1475 | offsetof(EspHostedRespGetMacAddress, mac), | |
1476 | NULL, | |
1477 | NULL, | |
1478 | 0, /* flags */ | |
1479 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1480 | }, | |
1481 | { | |
1482 | "resp", | |
1483 | 2, | |
1484 | PROTOBUF_C_LABEL_OPTIONAL, | |
1485 | PROTOBUF_C_TYPE_INT32, | |
1486 | offsetof(EspHostedRespGetMacAddress, has_resp), | |
1487 | offsetof(EspHostedRespGetMacAddress, resp), | |
1488 | NULL, | |
1489 | NULL, | |
1490 | 0, /* flags */ | |
1491 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1492 | }, | |
1493 | }; | |
1494 | static const unsigned esp_hosted_resp_get_mac_address__field_indices_by_name[] = { | |
1495 | 0, /* field[0] = mac */ | |
1496 | 1, /* field[1] = resp */ | |
1497 | }; | |
1498 | static const ProtobufCIntRange esp_hosted_resp_get_mac_address__number_ranges[1 + 1] = | |
1499 | { | |
1500 | { 1, 0 }, | |
1501 | { 0, 2 } | |
1502 | }; | |
1503 | const ProtobufCMessageDescriptor esp_hosted_resp_get_mac_address__descriptor = | |
1504 | { | |
1505 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1506 | "EspHostedRespGetMacAddress", | |
1507 | "EspHostedRespGetMacAddress", | |
1508 | "EspHostedRespGetMacAddress", | |
1509 | "", | |
1510 | sizeof(EspHostedRespGetMacAddress), | |
1511 | 2, | |
1512 | esp_hosted_resp_get_mac_address__field_descriptors, | |
1513 | esp_hosted_resp_get_mac_address__field_indices_by_name, | |
1514 | 1, esp_hosted_resp_get_mac_address__number_ranges, | |
1515 | (ProtobufCMessageInit) esp_hosted_resp_get_mac_address__init, | |
1516 | NULL,NULL,NULL /* reserved[123] */ | |
1517 | }; | |
1518 | #define esp_hosted_cmd_get_mode__field_descriptors NULL | |
1519 | #define esp_hosted_cmd_get_mode__field_indices_by_name NULL | |
1520 | #define esp_hosted_cmd_get_mode__number_ranges NULL | |
1521 | const ProtobufCMessageDescriptor esp_hosted_cmd_get_mode__descriptor = | |
1522 | { | |
1523 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1524 | "EspHostedCmdGetMode", | |
1525 | "EspHostedCmdGetMode", | |
1526 | "EspHostedCmdGetMode", | |
1527 | "", | |
1528 | sizeof(EspHostedCmdGetMode), | |
1529 | 0, | |
1530 | esp_hosted_cmd_get_mode__field_descriptors, | |
1531 | esp_hosted_cmd_get_mode__field_indices_by_name, | |
1532 | 0, esp_hosted_cmd_get_mode__number_ranges, | |
1533 | (ProtobufCMessageInit) esp_hosted_cmd_get_mode__init, | |
1534 | NULL,NULL,NULL /* reserved[123] */ | |
1535 | }; | |
1536 | static const ProtobufCFieldDescriptor esp_hosted_resp_get_mode__field_descriptors[2] = | |
1537 | { | |
f956a62b | 1538 | { |
1539 | "mode", | |
6e029e3a | 1540 | 1, |
1541 | PROTOBUF_C_LABEL_OPTIONAL, | |
1542 | PROTOBUF_C_TYPE_INT32, | |
1543 | offsetof(EspHostedRespGetMode, has_mode), | |
1544 | offsetof(EspHostedRespGetMode, mode), | |
1545 | NULL, | |
1546 | NULL, | |
1547 | 0, /* flags */ | |
1548 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1549 | }, | |
1550 | { | |
1551 | "resp", | |
f956a62b | 1552 | 2, |
1553 | PROTOBUF_C_LABEL_OPTIONAL, | |
1554 | PROTOBUF_C_TYPE_INT32, | |
6e029e3a | 1555 | offsetof(EspHostedRespGetMode, has_resp), |
1556 | offsetof(EspHostedRespGetMode, resp), | |
f956a62b | 1557 | NULL, |
1558 | NULL, | |
1559 | 0, /* flags */ | |
1560 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1561 | }, | |
1562 | }; | |
6e029e3a | 1563 | static const unsigned esp_hosted_resp_get_mode__field_indices_by_name[] = { |
1564 | 0, /* field[0] = mode */ | |
1565 | 1, /* field[1] = resp */ | |
f956a62b | 1566 | }; |
6e029e3a | 1567 | static const ProtobufCIntRange esp_hosted_resp_get_mode__number_ranges[1 + 1] = |
f956a62b | 1568 | { |
1569 | { 1, 0 }, | |
1570 | { 0, 2 } | |
1571 | }; | |
6e029e3a | 1572 | const ProtobufCMessageDescriptor esp_hosted_resp_get_mode__descriptor = |
f956a62b | 1573 | { |
1574 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
6e029e3a | 1575 | "EspHostedRespGetMode", |
1576 | "EspHostedRespGetMode", | |
1577 | "EspHostedRespGetMode", | |
f956a62b | 1578 | "", |
6e029e3a | 1579 | sizeof(EspHostedRespGetMode), |
f956a62b | 1580 | 2, |
6e029e3a | 1581 | esp_hosted_resp_get_mode__field_descriptors, |
1582 | esp_hosted_resp_get_mode__field_indices_by_name, | |
1583 | 1, esp_hosted_resp_get_mode__number_ranges, | |
1584 | (ProtobufCMessageInit) esp_hosted_resp_get_mode__init, | |
1585 | NULL,NULL,NULL /* reserved[123] */ | |
1586 | }; | |
1587 | static const ProtobufCFieldDescriptor esp_hosted_cmd_set_mode__field_descriptors[1] = | |
1588 | { | |
1589 | { | |
1590 | "mode", | |
1591 | 1, | |
1592 | PROTOBUF_C_LABEL_OPTIONAL, | |
1593 | PROTOBUF_C_TYPE_INT32, | |
1594 | offsetof(EspHostedCmdSetMode, has_mode), | |
1595 | offsetof(EspHostedCmdSetMode, mode), | |
1596 | NULL, | |
1597 | NULL, | |
1598 | 0, /* flags */ | |
1599 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1600 | }, | |
1601 | }; | |
1602 | static const unsigned esp_hosted_cmd_set_mode__field_indices_by_name[] = { | |
1603 | 0, /* field[0] = mode */ | |
1604 | }; | |
1605 | static const ProtobufCIntRange esp_hosted_cmd_set_mode__number_ranges[1 + 1] = | |
1606 | { | |
1607 | { 1, 0 }, | |
1608 | { 0, 1 } | |
1609 | }; | |
1610 | const ProtobufCMessageDescriptor esp_hosted_cmd_set_mode__descriptor = | |
1611 | { | |
1612 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1613 | "EspHostedCmdSetMode", | |
1614 | "EspHostedCmdSetMode", | |
1615 | "EspHostedCmdSetMode", | |
1616 | "", | |
1617 | sizeof(EspHostedCmdSetMode), | |
1618 | 1, | |
1619 | esp_hosted_cmd_set_mode__field_descriptors, | |
1620 | esp_hosted_cmd_set_mode__field_indices_by_name, | |
1621 | 1, esp_hosted_cmd_set_mode__number_ranges, | |
1622 | (ProtobufCMessageInit) esp_hosted_cmd_set_mode__init, | |
f956a62b | 1623 | NULL,NULL,NULL /* reserved[123] */ |
1624 | }; | |
6e029e3a | 1625 | static const ProtobufCFieldDescriptor esp_hosted_resp_set_mode__field_descriptors[1] = |
f956a62b | 1626 | { |
1627 | { | |
1628 | "resp", | |
1629 | 1, | |
1630 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 1631 | PROTOBUF_C_TYPE_INT32, |
1632 | offsetof(EspHostedRespSetMode, has_resp), | |
1633 | offsetof(EspHostedRespSetMode, resp), | |
f956a62b | 1634 | NULL, |
1635 | NULL, | |
1636 | 0, /* flags */ | |
1637 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1638 | }, | |
6e029e3a | 1639 | }; |
1640 | static const unsigned esp_hosted_resp_set_mode__field_indices_by_name[] = { | |
1641 | 0, /* field[0] = resp */ | |
1642 | }; | |
1643 | static const ProtobufCIntRange esp_hosted_resp_set_mode__number_ranges[1 + 1] = | |
1644 | { | |
1645 | { 1, 0 }, | |
1646 | { 0, 1 } | |
1647 | }; | |
1648 | const ProtobufCMessageDescriptor esp_hosted_resp_set_mode__descriptor = | |
1649 | { | |
1650 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1651 | "EspHostedRespSetMode", | |
1652 | "EspHostedRespSetMode", | |
1653 | "EspHostedRespSetMode", | |
1654 | "", | |
1655 | sizeof(EspHostedRespSetMode), | |
1656 | 1, | |
1657 | esp_hosted_resp_set_mode__field_descriptors, | |
1658 | esp_hosted_resp_set_mode__field_indices_by_name, | |
1659 | 1, esp_hosted_resp_set_mode__number_ranges, | |
1660 | (ProtobufCMessageInit) esp_hosted_resp_set_mode__init, | |
1661 | NULL,NULL,NULL /* reserved[123] */ | |
1662 | }; | |
1663 | #define esp_hosted_cmd_get_status__field_descriptors NULL | |
1664 | #define esp_hosted_cmd_get_status__field_indices_by_name NULL | |
1665 | #define esp_hosted_cmd_get_status__number_ranges NULL | |
1666 | const ProtobufCMessageDescriptor esp_hosted_cmd_get_status__descriptor = | |
1667 | { | |
1668 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1669 | "EspHostedCmdGetStatus", | |
1670 | "EspHostedCmdGetStatus", | |
1671 | "EspHostedCmdGetStatus", | |
1672 | "", | |
1673 | sizeof(EspHostedCmdGetStatus), | |
1674 | 0, | |
1675 | esp_hosted_cmd_get_status__field_descriptors, | |
1676 | esp_hosted_cmd_get_status__field_indices_by_name, | |
1677 | 0, esp_hosted_cmd_get_status__number_ranges, | |
1678 | (ProtobufCMessageInit) esp_hosted_cmd_get_status__init, | |
1679 | NULL,NULL,NULL /* reserved[123] */ | |
1680 | }; | |
1681 | static const ProtobufCFieldDescriptor esp_hosted_resp_get_status__field_descriptors[1] = | |
1682 | { | |
f956a62b | 1683 | { |
6e029e3a | 1684 | "resp", |
1685 | 1, | |
f956a62b | 1686 | PROTOBUF_C_LABEL_OPTIONAL, |
1687 | PROTOBUF_C_TYPE_INT32, | |
6e029e3a | 1688 | offsetof(EspHostedRespGetStatus, has_resp), |
1689 | offsetof(EspHostedRespGetStatus, resp), | |
f956a62b | 1690 | NULL, |
1691 | NULL, | |
1692 | 0, /* flags */ | |
1693 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1694 | }, | |
1695 | }; | |
f8683f8c | 1696 | static const unsigned esp_hosted_resp_get_status__field_indices_by_name[] = { |
f956a62b | 1697 | 0, /* field[0] = resp */ |
1698 | }; | |
f8683f8c | 1699 | static const ProtobufCIntRange esp_hosted_resp_get_status__number_ranges[1 + 1] = |
f956a62b | 1700 | { |
1701 | { 1, 0 }, | |
6e029e3a | 1702 | { 0, 1 } |
f956a62b | 1703 | }; |
f8683f8c | 1704 | const ProtobufCMessageDescriptor esp_hosted_resp_get_status__descriptor = |
f956a62b | 1705 | { |
1706 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
f8683f8c | 1707 | "EspHostedRespGetStatus", |
1708 | "EspHostedRespGetStatus", | |
1709 | "EspHostedRespGetStatus", | |
f956a62b | 1710 | "", |
f8683f8c | 1711 | sizeof(EspHostedRespGetStatus), |
6e029e3a | 1712 | 1, |
f8683f8c | 1713 | esp_hosted_resp_get_status__field_descriptors, |
1714 | esp_hosted_resp_get_status__field_indices_by_name, | |
1715 | 1, esp_hosted_resp_get_status__number_ranges, | |
1716 | (ProtobufCMessageInit) esp_hosted_resp_get_status__init, | |
f956a62b | 1717 | NULL,NULL,NULL /* reserved[123] */ |
1718 | }; | |
c618ef93 | 1719 | static const ProtobufCFieldDescriptor esp_hosted_cmd_set_mac_address__field_descriptors[2] = |
1720 | { | |
1721 | { | |
1722 | "mac", | |
1723 | 1, | |
1724 | PROTOBUF_C_LABEL_OPTIONAL, | |
1725 | PROTOBUF_C_TYPE_BYTES, | |
1726 | offsetof(EspHostedCmdSetMacAddress, has_mac), | |
1727 | offsetof(EspHostedCmdSetMacAddress, mac), | |
1728 | NULL, | |
1729 | NULL, | |
1730 | 0, /* flags */ | |
1731 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1732 | }, | |
1733 | { | |
1734 | "mode", | |
1735 | 2, | |
1736 | PROTOBUF_C_LABEL_OPTIONAL, | |
1737 | PROTOBUF_C_TYPE_INT32, | |
1738 | offsetof(EspHostedCmdSetMacAddress, has_mode), | |
1739 | offsetof(EspHostedCmdSetMacAddress, mode), | |
1740 | NULL, | |
1741 | NULL, | |
1742 | 0, /* flags */ | |
1743 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1744 | }, | |
1745 | }; | |
1746 | static const unsigned esp_hosted_cmd_set_mac_address__field_indices_by_name[] = { | |
1747 | 0, /* field[0] = mac */ | |
1748 | 1, /* field[1] = mode */ | |
1749 | }; | |
1750 | static const ProtobufCIntRange esp_hosted_cmd_set_mac_address__number_ranges[1 + 1] = | |
1751 | { | |
1752 | { 1, 0 }, | |
1753 | { 0, 2 } | |
1754 | }; | |
1755 | const ProtobufCMessageDescriptor esp_hosted_cmd_set_mac_address__descriptor = | |
1756 | { | |
1757 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1758 | "EspHostedCmdSetMacAddress", | |
1759 | "EspHostedCmdSetMacAddress", | |
1760 | "EspHostedCmdSetMacAddress", | |
1761 | "", | |
1762 | sizeof(EspHostedCmdSetMacAddress), | |
1763 | 2, | |
1764 | esp_hosted_cmd_set_mac_address__field_descriptors, | |
1765 | esp_hosted_cmd_set_mac_address__field_indices_by_name, | |
1766 | 1, esp_hosted_cmd_set_mac_address__number_ranges, | |
1767 | (ProtobufCMessageInit) esp_hosted_cmd_set_mac_address__init, | |
1768 | NULL,NULL,NULL /* reserved[123] */ | |
1769 | }; | |
1770 | static const ProtobufCFieldDescriptor esp_hosted_resp_set_mac_address__field_descriptors[1] = | |
1771 | { | |
1772 | { | |
1773 | "resp", | |
1774 | 1, | |
1775 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 1776 | PROTOBUF_C_TYPE_INT32, |
c618ef93 | 1777 | offsetof(EspHostedRespSetMacAddress, has_resp), |
1778 | offsetof(EspHostedRespSetMacAddress, resp), | |
1779 | NULL, | |
1780 | NULL, | |
1781 | 0, /* flags */ | |
1782 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1783 | }, | |
1784 | }; | |
1785 | static const unsigned esp_hosted_resp_set_mac_address__field_indices_by_name[] = { | |
1786 | 0, /* field[0] = resp */ | |
1787 | }; | |
1788 | static const ProtobufCIntRange esp_hosted_resp_set_mac_address__number_ranges[1 + 1] = | |
1789 | { | |
1790 | { 1, 0 }, | |
1791 | { 0, 1 } | |
1792 | }; | |
1793 | const ProtobufCMessageDescriptor esp_hosted_resp_set_mac_address__descriptor = | |
1794 | { | |
1795 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1796 | "EspHostedRespSetMacAddress", | |
1797 | "EspHostedRespSetMacAddress", | |
1798 | "EspHostedRespSetMacAddress", | |
1799 | "", | |
1800 | sizeof(EspHostedRespSetMacAddress), | |
1801 | 1, | |
1802 | esp_hosted_resp_set_mac_address__field_descriptors, | |
1803 | esp_hosted_resp_set_mac_address__field_indices_by_name, | |
1804 | 1, esp_hosted_resp_set_mac_address__number_ranges, | |
1805 | (ProtobufCMessageInit) esp_hosted_resp_set_mac_address__init, | |
1806 | NULL,NULL,NULL /* reserved[123] */ | |
1807 | }; | |
6e029e3a | 1808 | #define esp_hosted_cmd_get_apconfig__field_descriptors NULL |
1809 | #define esp_hosted_cmd_get_apconfig__field_indices_by_name NULL | |
1810 | #define esp_hosted_cmd_get_apconfig__number_ranges NULL | |
1811 | const ProtobufCMessageDescriptor esp_hosted_cmd_get_apconfig__descriptor = | |
1812 | { | |
1813 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1814 | "EspHostedCmdGetAPConfig", | |
1815 | "EspHostedCmdGetAPConfig", | |
1816 | "EspHostedCmdGetAPConfig", | |
1817 | "", | |
1818 | sizeof(EspHostedCmdGetAPConfig), | |
1819 | 0, | |
1820 | esp_hosted_cmd_get_apconfig__field_descriptors, | |
1821 | esp_hosted_cmd_get_apconfig__field_indices_by_name, | |
1822 | 0, esp_hosted_cmd_get_apconfig__number_ranges, | |
1823 | (ProtobufCMessageInit) esp_hosted_cmd_get_apconfig__init, | |
1824 | NULL,NULL,NULL /* reserved[123] */ | |
1825 | }; | |
1826 | static const ProtobufCFieldDescriptor esp_hosted_resp_get_apconfig__field_descriptors[6] = | |
f956a62b | 1827 | { |
1828 | { | |
1829 | "ssid", | |
1830 | 1, | |
1831 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 1832 | PROTOBUF_C_TYPE_BYTES, |
1833 | offsetof(EspHostedRespGetAPConfig, has_ssid), | |
1834 | offsetof(EspHostedRespGetAPConfig, ssid), | |
f956a62b | 1835 | NULL, |
1836 | NULL, | |
1837 | 0, /* flags */ | |
1838 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1839 | }, | |
1840 | { | |
6e029e3a | 1841 | "bssid", |
f956a62b | 1842 | 2, |
1843 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 1844 | PROTOBUF_C_TYPE_BYTES, |
1845 | offsetof(EspHostedRespGetAPConfig, has_bssid), | |
1846 | offsetof(EspHostedRespGetAPConfig, bssid), | |
f956a62b | 1847 | NULL, |
1848 | NULL, | |
1849 | 0, /* flags */ | |
1850 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1851 | }, | |
1852 | { | |
6e029e3a | 1853 | "rssi", |
f956a62b | 1854 | 3, |
1855 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 1856 | PROTOBUF_C_TYPE_INT32, |
1857 | offsetof(EspHostedRespGetAPConfig, has_rssi), | |
1858 | offsetof(EspHostedRespGetAPConfig, rssi), | |
1859 | NULL, | |
f956a62b | 1860 | NULL, |
1861 | 0, /* flags */ | |
1862 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1863 | }, | |
1864 | { | |
1865 | "chnl", | |
1866 | 4, | |
1867 | PROTOBUF_C_LABEL_OPTIONAL, | |
1868 | PROTOBUF_C_TYPE_INT32, | |
6e029e3a | 1869 | offsetof(EspHostedRespGetAPConfig, has_chnl), |
1870 | offsetof(EspHostedRespGetAPConfig, chnl), | |
f956a62b | 1871 | NULL, |
1872 | NULL, | |
1873 | 0, /* flags */ | |
1874 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1875 | }, | |
1876 | { | |
6e029e3a | 1877 | "ecn", |
f956a62b | 1878 | 5, |
1879 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 1880 | PROTOBUF_C_TYPE_ENUM, |
1881 | offsetof(EspHostedRespGetAPConfig, has_ecn), | |
1882 | offsetof(EspHostedRespGetAPConfig, ecn), | |
1883 | &esp_hosted_encryption_mode__descriptor, | |
1884 | NULL, | |
1885 | 0, /* flags */ | |
1886 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1887 | }, | |
1888 | { | |
1889 | "resp", | |
1890 | 6, | |
1891 | PROTOBUF_C_LABEL_OPTIONAL, | |
f956a62b | 1892 | PROTOBUF_C_TYPE_INT32, |
6e029e3a | 1893 | offsetof(EspHostedRespGetAPConfig, has_resp), |
1894 | offsetof(EspHostedRespGetAPConfig, resp), | |
f956a62b | 1895 | NULL, |
1896 | NULL, | |
1897 | 0, /* flags */ | |
1898 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1899 | }, | |
6e029e3a | 1900 | }; |
1901 | static const unsigned esp_hosted_resp_get_apconfig__field_indices_by_name[] = { | |
1902 | 1, /* field[1] = bssid */ | |
1903 | 3, /* field[3] = chnl */ | |
1904 | 4, /* field[4] = ecn */ | |
1905 | 5, /* field[5] = resp */ | |
1906 | 2, /* field[2] = rssi */ | |
1907 | 0, /* field[0] = ssid */ | |
1908 | }; | |
1909 | static const ProtobufCIntRange esp_hosted_resp_get_apconfig__number_ranges[1 + 1] = | |
1910 | { | |
1911 | { 1, 0 }, | |
1912 | { 0, 6 } | |
1913 | }; | |
1914 | const ProtobufCMessageDescriptor esp_hosted_resp_get_apconfig__descriptor = | |
1915 | { | |
1916 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
1917 | "EspHostedRespGetAPConfig", | |
1918 | "EspHostedRespGetAPConfig", | |
1919 | "EspHostedRespGetAPConfig", | |
1920 | "", | |
1921 | sizeof(EspHostedRespGetAPConfig), | |
1922 | 6, | |
1923 | esp_hosted_resp_get_apconfig__field_descriptors, | |
1924 | esp_hosted_resp_get_apconfig__field_indices_by_name, | |
1925 | 1, esp_hosted_resp_get_apconfig__number_ranges, | |
1926 | (ProtobufCMessageInit) esp_hosted_resp_get_apconfig__init, | |
1927 | NULL,NULL,NULL /* reserved[123] */ | |
1928 | }; | |
1929 | static const ProtobufCFieldDescriptor esp_hosted_cmd_set_apconfig__field_descriptors[5] = | |
1930 | { | |
f956a62b | 1931 | { |
6e029e3a | 1932 | "ssid", |
1933 | 1, | |
f956a62b | 1934 | PROTOBUF_C_LABEL_OPTIONAL, |
6e029e3a | 1935 | PROTOBUF_C_TYPE_STRING, |
1936 | 0, /* quantifier_offset */ | |
1937 | offsetof(EspHostedCmdSetAPConfig, ssid), | |
1938 | NULL, | |
1939 | NULL, | |
1940 | 0, /* flags */ | |
1941 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1942 | }, | |
1943 | { | |
1944 | "pwd", | |
1945 | 2, | |
1946 | PROTOBUF_C_LABEL_OPTIONAL, | |
1947 | PROTOBUF_C_TYPE_STRING, | |
1948 | 0, /* quantifier_offset */ | |
1949 | offsetof(EspHostedCmdSetAPConfig, pwd), | |
f956a62b | 1950 | NULL, |
1951 | NULL, | |
1952 | 0, /* flags */ | |
1953 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1954 | }, | |
1955 | { | |
1956 | "bssid", | |
6e029e3a | 1957 | 3, |
f956a62b | 1958 | PROTOBUF_C_LABEL_OPTIONAL, |
1959 | PROTOBUF_C_TYPE_STRING, | |
1960 | 0, /* quantifier_offset */ | |
6e029e3a | 1961 | offsetof(EspHostedCmdSetAPConfig, bssid), |
f956a62b | 1962 | NULL, |
1963 | NULL, | |
1964 | 0, /* flags */ | |
1965 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1966 | }, | |
1967 | { | |
6e029e3a | 1968 | "is_wpa3_supported", |
1969 | 4, | |
1970 | PROTOBUF_C_LABEL_OPTIONAL, | |
1971 | PROTOBUF_C_TYPE_BOOL, | |
1972 | offsetof(EspHostedCmdSetAPConfig, has_is_wpa3_supported), | |
1973 | offsetof(EspHostedCmdSetAPConfig, is_wpa3_supported), | |
1974 | NULL, | |
1975 | NULL, | |
1976 | 0, /* flags */ | |
1977 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1978 | }, | |
1979 | { | |
1980 | "listen_interval", | |
1981 | 5, | |
f956a62b | 1982 | PROTOBUF_C_LABEL_OPTIONAL, |
1983 | PROTOBUF_C_TYPE_INT32, | |
6e029e3a | 1984 | offsetof(EspHostedCmdSetAPConfig, has_listen_interval), |
1985 | offsetof(EspHostedCmdSetAPConfig, listen_interval), | |
f956a62b | 1986 | NULL, |
1987 | NULL, | |
1988 | 0, /* flags */ | |
1989 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
1990 | }, | |
6e029e3a | 1991 | }; |
1992 | static const unsigned esp_hosted_cmd_set_apconfig__field_indices_by_name[] = { | |
1993 | 2, /* field[2] = bssid */ | |
1994 | 3, /* field[3] = is_wpa3_supported */ | |
1995 | 4, /* field[4] = listen_interval */ | |
1996 | 1, /* field[1] = pwd */ | |
1997 | 0, /* field[0] = ssid */ | |
1998 | }; | |
1999 | static const ProtobufCIntRange esp_hosted_cmd_set_apconfig__number_ranges[1 + 1] = | |
2000 | { | |
2001 | { 1, 0 }, | |
2002 | { 0, 5 } | |
2003 | }; | |
2004 | const ProtobufCMessageDescriptor esp_hosted_cmd_set_apconfig__descriptor = | |
2005 | { | |
2006 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2007 | "EspHostedCmdSetAPConfig", | |
2008 | "EspHostedCmdSetAPConfig", | |
2009 | "EspHostedCmdSetAPConfig", | |
2010 | "", | |
2011 | sizeof(EspHostedCmdSetAPConfig), | |
2012 | 5, | |
2013 | esp_hosted_cmd_set_apconfig__field_descriptors, | |
2014 | esp_hosted_cmd_set_apconfig__field_indices_by_name, | |
2015 | 1, esp_hosted_cmd_set_apconfig__number_ranges, | |
2016 | (ProtobufCMessageInit) esp_hosted_cmd_set_apconfig__init, | |
2017 | NULL,NULL,NULL /* reserved[123] */ | |
2018 | }; | |
2019 | static const ProtobufCFieldDescriptor esp_hosted_resp_set_apconfig__field_descriptors[1] = | |
2020 | { | |
f956a62b | 2021 | { |
6e029e3a | 2022 | "resp", |
2023 | 1, | |
2024 | PROTOBUF_C_LABEL_OPTIONAL, | |
2025 | PROTOBUF_C_TYPE_INT32, | |
2026 | offsetof(EspHostedRespSetAPConfig, has_resp), | |
2027 | offsetof(EspHostedRespSetAPConfig, resp), | |
2028 | NULL, | |
2029 | NULL, | |
2030 | 0, /* flags */ | |
2031 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2032 | }, | |
2033 | }; | |
2034 | static const unsigned esp_hosted_resp_set_apconfig__field_indices_by_name[] = { | |
2035 | 0, /* field[0] = resp */ | |
2036 | }; | |
2037 | static const ProtobufCIntRange esp_hosted_resp_set_apconfig__number_ranges[1 + 1] = | |
2038 | { | |
2039 | { 1, 0 }, | |
2040 | { 0, 1 } | |
2041 | }; | |
2042 | const ProtobufCMessageDescriptor esp_hosted_resp_set_apconfig__descriptor = | |
2043 | { | |
2044 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2045 | "EspHostedRespSetAPConfig", | |
2046 | "EspHostedRespSetAPConfig", | |
2047 | "EspHostedRespSetAPConfig", | |
2048 | "", | |
2049 | sizeof(EspHostedRespSetAPConfig), | |
2050 | 1, | |
2051 | esp_hosted_resp_set_apconfig__field_descriptors, | |
2052 | esp_hosted_resp_set_apconfig__field_indices_by_name, | |
2053 | 1, esp_hosted_resp_set_apconfig__number_ranges, | |
2054 | (ProtobufCMessageInit) esp_hosted_resp_set_apconfig__init, | |
2055 | NULL,NULL,NULL /* reserved[123] */ | |
2056 | }; | |
2057 | #define esp_hosted_cmd_get_soft_apconfig__field_descriptors NULL | |
2058 | #define esp_hosted_cmd_get_soft_apconfig__field_indices_by_name NULL | |
2059 | #define esp_hosted_cmd_get_soft_apconfig__number_ranges NULL | |
2060 | const ProtobufCMessageDescriptor esp_hosted_cmd_get_soft_apconfig__descriptor = | |
2061 | { | |
2062 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2063 | "EspHostedCmdGetSoftAPConfig", | |
2064 | "EspHostedCmdGetSoftAPConfig", | |
2065 | "EspHostedCmdGetSoftAPConfig", | |
2066 | "", | |
2067 | sizeof(EspHostedCmdGetSoftAPConfig), | |
2068 | 0, | |
2069 | esp_hosted_cmd_get_soft_apconfig__field_descriptors, | |
2070 | esp_hosted_cmd_get_soft_apconfig__field_indices_by_name, | |
2071 | 0, esp_hosted_cmd_get_soft_apconfig__number_ranges, | |
2072 | (ProtobufCMessageInit) esp_hosted_cmd_get_soft_apconfig__init, | |
2073 | NULL,NULL,NULL /* reserved[123] */ | |
2074 | }; | |
2075 | static const ProtobufCFieldDescriptor esp_hosted_resp_get_soft_apconfig__field_descriptors[8] = | |
2076 | { | |
2077 | { | |
2078 | "ssid", | |
2079 | 1, | |
2080 | PROTOBUF_C_LABEL_OPTIONAL, | |
2081 | PROTOBUF_C_TYPE_BYTES, | |
2082 | offsetof(EspHostedRespGetSoftAPConfig, has_ssid), | |
2083 | offsetof(EspHostedRespGetSoftAPConfig, ssid), | |
2084 | NULL, | |
2085 | NULL, | |
2086 | 0, /* flags */ | |
2087 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2088 | }, | |
2089 | { | |
2090 | "pwd", | |
2091 | 2, | |
2092 | PROTOBUF_C_LABEL_OPTIONAL, | |
2093 | PROTOBUF_C_TYPE_BYTES, | |
2094 | offsetof(EspHostedRespGetSoftAPConfig, has_pwd), | |
2095 | offsetof(EspHostedRespGetSoftAPConfig, pwd), | |
2096 | NULL, | |
2097 | NULL, | |
2098 | 0, /* flags */ | |
2099 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2100 | }, | |
2101 | { | |
2102 | "chnl", | |
2103 | 3, | |
2104 | PROTOBUF_C_LABEL_OPTIONAL, | |
2105 | PROTOBUF_C_TYPE_INT32, | |
2106 | offsetof(EspHostedRespGetSoftAPConfig, has_chnl), | |
2107 | offsetof(EspHostedRespGetSoftAPConfig, chnl), | |
2108 | NULL, | |
2109 | NULL, | |
2110 | 0, /* flags */ | |
2111 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2112 | }, | |
2113 | { | |
2114 | "ecn", | |
2115 | 4, | |
2116 | PROTOBUF_C_LABEL_OPTIONAL, | |
2117 | PROTOBUF_C_TYPE_ENUM, | |
2118 | offsetof(EspHostedRespGetSoftAPConfig, has_ecn), | |
2119 | offsetof(EspHostedRespGetSoftAPConfig, ecn), | |
2120 | &esp_hosted_encryption_mode__descriptor, | |
2121 | NULL, | |
2122 | 0, /* flags */ | |
2123 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2124 | }, | |
2125 | { | |
2126 | "max_conn", | |
2127 | 5, | |
f956a62b | 2128 | PROTOBUF_C_LABEL_OPTIONAL, |
6e029e3a | 2129 | PROTOBUF_C_TYPE_INT32, |
2130 | offsetof(EspHostedRespGetSoftAPConfig, has_max_conn), | |
2131 | offsetof(EspHostedRespGetSoftAPConfig, max_conn), | |
f956a62b | 2132 | NULL, |
2133 | NULL, | |
2134 | 0, /* flags */ | |
2135 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2136 | }, | |
2cb25fbe | 2137 | { |
6e029e3a | 2138 | "ssid_hidden", |
2139 | 6, | |
2cb25fbe | 2140 | PROTOBUF_C_LABEL_OPTIONAL, |
6e029e3a | 2141 | PROTOBUF_C_TYPE_BOOL, |
2142 | offsetof(EspHostedRespGetSoftAPConfig, has_ssid_hidden), | |
2143 | offsetof(EspHostedRespGetSoftAPConfig, ssid_hidden), | |
2cb25fbe | 2144 | NULL, |
2145 | NULL, | |
2146 | 0, /* flags */ | |
2147 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2148 | }, | |
804b6f87 | 2149 | { |
6e029e3a | 2150 | "bw", |
2151 | 7, | |
804b6f87 | 2152 | PROTOBUF_C_LABEL_OPTIONAL, |
6e029e3a | 2153 | PROTOBUF_C_TYPE_INT32, |
2154 | offsetof(EspHostedRespGetSoftAPConfig, has_bw), | |
2155 | offsetof(EspHostedRespGetSoftAPConfig, bw), | |
804b6f87 | 2156 | NULL, |
2157 | NULL, | |
2158 | 0, /* flags */ | |
2159 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2160 | }, | |
fb00c9ba | 2161 | { |
6e029e3a | 2162 | "resp", |
2163 | 8, | |
fb00c9ba | 2164 | PROTOBUF_C_LABEL_OPTIONAL, |
2165 | PROTOBUF_C_TYPE_INT32, | |
6e029e3a | 2166 | offsetof(EspHostedRespGetSoftAPConfig, has_resp), |
2167 | offsetof(EspHostedRespGetSoftAPConfig, resp), | |
fb00c9ba | 2168 | NULL, |
2169 | NULL, | |
2170 | 0, /* flags */ | |
2171 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2172 | }, | |
f956a62b | 2173 | }; |
6e029e3a | 2174 | static const unsigned esp_hosted_resp_get_soft_apconfig__field_indices_by_name[] = { |
2175 | 6, /* field[6] = bw */ | |
2176 | 2, /* field[2] = chnl */ | |
2177 | 3, /* field[3] = ecn */ | |
f956a62b | 2178 | 4, /* field[4] = max_conn */ |
2179 | 1, /* field[1] = pwd */ | |
6e029e3a | 2180 | 7, /* field[7] = resp */ |
f956a62b | 2181 | 0, /* field[0] = ssid */ |
2182 | 5, /* field[5] = ssid_hidden */ | |
f956a62b | 2183 | }; |
6e029e3a | 2184 | static const ProtobufCIntRange esp_hosted_resp_get_soft_apconfig__number_ranges[1 + 1] = |
f956a62b | 2185 | { |
2186 | { 1, 0 }, | |
6e029e3a | 2187 | { 0, 8 } |
f956a62b | 2188 | }; |
6e029e3a | 2189 | const ProtobufCMessageDescriptor esp_hosted_resp_get_soft_apconfig__descriptor = |
f956a62b | 2190 | { |
2191 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
6e029e3a | 2192 | "EspHostedRespGetSoftAPConfig", |
2193 | "EspHostedRespGetSoftAPConfig", | |
2194 | "EspHostedRespGetSoftAPConfig", | |
f956a62b | 2195 | "", |
6e029e3a | 2196 | sizeof(EspHostedRespGetSoftAPConfig), |
2197 | 8, | |
2198 | esp_hosted_resp_get_soft_apconfig__field_descriptors, | |
2199 | esp_hosted_resp_get_soft_apconfig__field_indices_by_name, | |
2200 | 1, esp_hosted_resp_get_soft_apconfig__number_ranges, | |
2201 | (ProtobufCMessageInit) esp_hosted_resp_get_soft_apconfig__init, | |
f956a62b | 2202 | NULL,NULL,NULL /* reserved[123] */ |
2203 | }; | |
6e029e3a | 2204 | static const ProtobufCFieldDescriptor esp_hosted_cmd_set_soft_apconfig__field_descriptors[7] = |
f956a62b | 2205 | { |
2206 | { | |
2207 | "ssid", | |
2208 | 1, | |
2209 | PROTOBUF_C_LABEL_OPTIONAL, | |
2210 | PROTOBUF_C_TYPE_STRING, | |
2211 | 0, /* quantifier_offset */ | |
6e029e3a | 2212 | offsetof(EspHostedCmdSetSoftAPConfig, ssid), |
f956a62b | 2213 | NULL, |
2214 | NULL, | |
2215 | 0, /* flags */ | |
2216 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2217 | }, | |
2218 | { | |
2219 | "pwd", | |
2220 | 2, | |
2221 | PROTOBUF_C_LABEL_OPTIONAL, | |
2222 | PROTOBUF_C_TYPE_STRING, | |
2223 | 0, /* quantifier_offset */ | |
6e029e3a | 2224 | offsetof(EspHostedCmdSetSoftAPConfig, pwd), |
f956a62b | 2225 | NULL, |
2226 | NULL, | |
2227 | 0, /* flags */ | |
2228 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2229 | }, | |
2230 | { | |
6e029e3a | 2231 | "chnl", |
f956a62b | 2232 | 3, |
2233 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 2234 | PROTOBUF_C_TYPE_INT32, |
2235 | offsetof(EspHostedCmdSetSoftAPConfig, has_chnl), | |
2236 | offsetof(EspHostedCmdSetSoftAPConfig, chnl), | |
2237 | NULL, | |
f956a62b | 2238 | NULL, |
2239 | 0, /* flags */ | |
2240 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2241 | }, | |
2242 | { | |
6e029e3a | 2243 | "ecn", |
f956a62b | 2244 | 4, |
2245 | PROTOBUF_C_LABEL_OPTIONAL, | |
6e029e3a | 2246 | PROTOBUF_C_TYPE_ENUM, |
2247 | offsetof(EspHostedCmdSetSoftAPConfig, has_ecn), | |
2248 | offsetof(EspHostedCmdSetSoftAPConfig, ecn), | |
2249 | &esp_hosted_encryption_mode__descriptor, | |
f956a62b | 2250 | NULL, |
2251 | 0, /* flags */ | |
2252 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2253 | }, | |
2254 | { | |
2255 | "max_conn", | |
2256 | 5, | |
2257 | PROTOBUF_C_LABEL_OPTIONAL, | |
2258 | PROTOBUF_C_TYPE_INT32, | |
6e029e3a | 2259 | offsetof(EspHostedCmdSetSoftAPConfig, has_max_conn), |
2260 | offsetof(EspHostedCmdSetSoftAPConfig, max_conn), | |
f956a62b | 2261 | NULL, |
2262 | NULL, | |
2263 | 0, /* flags */ | |
2264 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2265 | }, | |
2266 | { | |
2267 | "ssid_hidden", | |
2268 | 6, | |
2269 | PROTOBUF_C_LABEL_OPTIONAL, | |
2270 | PROTOBUF_C_TYPE_BOOL, | |
6e029e3a | 2271 | offsetof(EspHostedCmdSetSoftAPConfig, has_ssid_hidden), |
2272 | offsetof(EspHostedCmdSetSoftAPConfig, ssid_hidden), | |
f956a62b | 2273 | NULL, |
2274 | NULL, | |
2275 | 0, /* flags */ | |
2276 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2277 | }, | |
2cb25fbe | 2278 | { |
2279 | "bw", | |
6e029e3a | 2280 | 7, |
2cb25fbe | 2281 | PROTOBUF_C_LABEL_OPTIONAL, |
2282 | PROTOBUF_C_TYPE_INT32, | |
6e029e3a | 2283 | offsetof(EspHostedCmdSetSoftAPConfig, has_bw), |
2284 | offsetof(EspHostedCmdSetSoftAPConfig, bw), | |
804b6f87 | 2285 | NULL, |
2286 | NULL, | |
2287 | 0, /* flags */ | |
2288 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2289 | }, | |
6e029e3a | 2290 | }; |
2291 | static const unsigned esp_hosted_cmd_set_soft_apconfig__field_indices_by_name[] = { | |
2292 | 6, /* field[6] = bw */ | |
2293 | 2, /* field[2] = chnl */ | |
2294 | 3, /* field[3] = ecn */ | |
2295 | 4, /* field[4] = max_conn */ | |
2296 | 1, /* field[1] = pwd */ | |
2297 | 0, /* field[0] = ssid */ | |
2298 | 5, /* field[5] = ssid_hidden */ | |
2299 | }; | |
2300 | static const ProtobufCIntRange esp_hosted_cmd_set_soft_apconfig__number_ranges[1 + 1] = | |
2301 | { | |
2302 | { 1, 0 }, | |
2303 | { 0, 7 } | |
2304 | }; | |
2305 | const ProtobufCMessageDescriptor esp_hosted_cmd_set_soft_apconfig__descriptor = | |
2306 | { | |
2307 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2308 | "EspHostedCmdSetSoftAPConfig", | |
2309 | "EspHostedCmdSetSoftAPConfig", | |
2310 | "EspHostedCmdSetSoftAPConfig", | |
2311 | "", | |
2312 | sizeof(EspHostedCmdSetSoftAPConfig), | |
2313 | 7, | |
2314 | esp_hosted_cmd_set_soft_apconfig__field_descriptors, | |
2315 | esp_hosted_cmd_set_soft_apconfig__field_indices_by_name, | |
2316 | 1, esp_hosted_cmd_set_soft_apconfig__number_ranges, | |
2317 | (ProtobufCMessageInit) esp_hosted_cmd_set_soft_apconfig__init, | |
2318 | NULL,NULL,NULL /* reserved[123] */ | |
2319 | }; | |
2320 | static const ProtobufCFieldDescriptor esp_hosted_resp_set_soft_apconfig__field_descriptors[1] = | |
2321 | { | |
fb00c9ba | 2322 | { |
6e029e3a | 2323 | "resp", |
2324 | 1, | |
fb00c9ba | 2325 | PROTOBUF_C_LABEL_OPTIONAL, |
2326 | PROTOBUF_C_TYPE_INT32, | |
6e029e3a | 2327 | offsetof(EspHostedRespSetSoftAPConfig, has_resp), |
2328 | offsetof(EspHostedRespSetSoftAPConfig, resp), | |
fb00c9ba | 2329 | NULL, |
2330 | NULL, | |
2331 | 0, /* flags */ | |
2332 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2333 | }, | |
f956a62b | 2334 | }; |
6e029e3a | 2335 | static const unsigned esp_hosted_resp_set_soft_apconfig__field_indices_by_name[] = { |
2336 | 0, /* field[0] = resp */ | |
f956a62b | 2337 | }; |
6e029e3a | 2338 | static const ProtobufCIntRange esp_hosted_resp_set_soft_apconfig__number_ranges[1 + 1] = |
f956a62b | 2339 | { |
2340 | { 1, 0 }, | |
6e029e3a | 2341 | { 0, 1 } |
f956a62b | 2342 | }; |
6e029e3a | 2343 | const ProtobufCMessageDescriptor esp_hosted_resp_set_soft_apconfig__descriptor = |
f956a62b | 2344 | { |
2345 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
6e029e3a | 2346 | "EspHostedRespSetSoftAPConfig", |
2347 | "EspHostedRespSetSoftAPConfig", | |
2348 | "EspHostedRespSetSoftAPConfig", | |
f956a62b | 2349 | "", |
6e029e3a | 2350 | sizeof(EspHostedRespSetSoftAPConfig), |
2351 | 1, | |
2352 | esp_hosted_resp_set_soft_apconfig__field_descriptors, | |
2353 | esp_hosted_resp_set_soft_apconfig__field_indices_by_name, | |
2354 | 1, esp_hosted_resp_set_soft_apconfig__number_ranges, | |
2355 | (ProtobufCMessageInit) esp_hosted_resp_set_soft_apconfig__init, | |
f956a62b | 2356 | NULL,NULL,NULL /* reserved[123] */ |
2357 | }; | |
f8683f8c | 2358 | static const ProtobufCFieldDescriptor esp_hosted_scan_result__field_descriptors[5] = |
259f9899 | 2359 | { |
2360 | { | |
2361 | "ssid", | |
2362 | 1, | |
2363 | PROTOBUF_C_LABEL_OPTIONAL, | |
2364 | PROTOBUF_C_TYPE_BYTES, | |
f8683f8c | 2365 | offsetof(EspHostedScanResult, has_ssid), |
2366 | offsetof(EspHostedScanResult, ssid), | |
259f9899 | 2367 | NULL, |
2368 | NULL, | |
2369 | 0, /* flags */ | |
2370 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2371 | }, | |
2372 | { | |
2373 | "chnl", | |
2374 | 2, | |
2375 | PROTOBUF_C_LABEL_OPTIONAL, | |
2376 | PROTOBUF_C_TYPE_UINT32, | |
f8683f8c | 2377 | offsetof(EspHostedScanResult, has_chnl), |
2378 | offsetof(EspHostedScanResult, chnl), | |
259f9899 | 2379 | NULL, |
2380 | NULL, | |
2381 | 0, /* flags */ | |
2382 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2383 | }, | |
2384 | { | |
2385 | "rssi", | |
2386 | 3, | |
2387 | PROTOBUF_C_LABEL_OPTIONAL, | |
2388 | PROTOBUF_C_TYPE_INT32, | |
f8683f8c | 2389 | offsetof(EspHostedScanResult, has_rssi), |
2390 | offsetof(EspHostedScanResult, rssi), | |
259f9899 | 2391 | NULL, |
2392 | NULL, | |
2393 | 0, /* flags */ | |
2394 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2395 | }, | |
2396 | { | |
2397 | "bssid", | |
2398 | 4, | |
2399 | PROTOBUF_C_LABEL_OPTIONAL, | |
2400 | PROTOBUF_C_TYPE_BYTES, | |
f8683f8c | 2401 | offsetof(EspHostedScanResult, has_bssid), |
2402 | offsetof(EspHostedScanResult, bssid), | |
259f9899 | 2403 | NULL, |
2404 | NULL, | |
2405 | 0, /* flags */ | |
2406 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2407 | }, | |
2408 | { | |
2409 | "ecn", | |
2410 | 5, | |
2411 | PROTOBUF_C_LABEL_OPTIONAL, | |
2412 | PROTOBUF_C_TYPE_ENUM, | |
f8683f8c | 2413 | offsetof(EspHostedScanResult, has_ecn), |
2414 | offsetof(EspHostedScanResult, ecn), | |
2415 | &esp_hosted_encryption_mode__descriptor, | |
259f9899 | 2416 | NULL, |
2417 | 0, /* flags */ | |
2418 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2419 | }, | |
2420 | }; | |
f8683f8c | 2421 | static const unsigned esp_hosted_scan_result__field_indices_by_name[] = { |
259f9899 | 2422 | 3, /* field[3] = bssid */ |
2423 | 1, /* field[1] = chnl */ | |
2424 | 4, /* field[4] = ecn */ | |
2425 | 2, /* field[2] = rssi */ | |
2426 | 0, /* field[0] = ssid */ | |
2427 | }; | |
f8683f8c | 2428 | static const ProtobufCIntRange esp_hosted_scan_result__number_ranges[1 + 1] = |
259f9899 | 2429 | { |
2430 | { 1, 0 }, | |
2431 | { 0, 5 } | |
2432 | }; | |
f8683f8c | 2433 | const ProtobufCMessageDescriptor esp_hosted_scan_result__descriptor = |
259f9899 | 2434 | { |
2435 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
f8683f8c | 2436 | "EspHostedScanResult", |
2437 | "EspHostedScanResult", | |
2438 | "EspHostedScanResult", | |
259f9899 | 2439 | "", |
f8683f8c | 2440 | sizeof(EspHostedScanResult), |
259f9899 | 2441 | 5, |
f8683f8c | 2442 | esp_hosted_scan_result__field_descriptors, |
2443 | esp_hosted_scan_result__field_indices_by_name, | |
2444 | 1, esp_hosted_scan_result__number_ranges, | |
2445 | (ProtobufCMessageInit) esp_hosted_scan_result__init, | |
259f9899 | 2446 | NULL,NULL,NULL /* reserved[123] */ |
2447 | }; | |
f8683f8c | 2448 | #define esp_hosted_cmd_scan_result__field_descriptors NULL |
2449 | #define esp_hosted_cmd_scan_result__field_indices_by_name NULL | |
2450 | #define esp_hosted_cmd_scan_result__number_ranges NULL | |
2451 | const ProtobufCMessageDescriptor esp_hosted_cmd_scan_result__descriptor = | |
259f9899 | 2452 | { |
2453 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
f8683f8c | 2454 | "EspHostedCmdScanResult", |
2455 | "EspHostedCmdScanResult", | |
2456 | "EspHostedCmdScanResult", | |
259f9899 | 2457 | "", |
f8683f8c | 2458 | sizeof(EspHostedCmdScanResult), |
f1788765 | 2459 | 0, |
f8683f8c | 2460 | esp_hosted_cmd_scan_result__field_descriptors, |
2461 | esp_hosted_cmd_scan_result__field_indices_by_name, | |
2462 | 0, esp_hosted_cmd_scan_result__number_ranges, | |
2463 | (ProtobufCMessageInit) esp_hosted_cmd_scan_result__init, | |
259f9899 | 2464 | NULL,NULL,NULL /* reserved[123] */ |
2465 | }; | |
6e029e3a | 2466 | static const ProtobufCFieldDescriptor esp_hosted_resp_scan_result__field_descriptors[3] = |
259f9899 | 2467 | { |
2468 | { | |
2469 | "count", | |
2470 | 1, | |
2471 | PROTOBUF_C_LABEL_OPTIONAL, | |
2472 | PROTOBUF_C_TYPE_UINT32, | |
f8683f8c | 2473 | offsetof(EspHostedRespScanResult, has_count), |
2474 | offsetof(EspHostedRespScanResult, count), | |
259f9899 | 2475 | NULL, |
2476 | NULL, | |
2477 | 0, /* flags */ | |
2478 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2479 | }, | |
2480 | { | |
2481 | "entries", | |
2482 | 2, | |
2483 | PROTOBUF_C_LABEL_REPEATED, | |
2484 | PROTOBUF_C_TYPE_MESSAGE, | |
f8683f8c | 2485 | offsetof(EspHostedRespScanResult, n_entries), |
2486 | offsetof(EspHostedRespScanResult, entries), | |
2487 | &esp_hosted_scan_result__descriptor, | |
259f9899 | 2488 | NULL, |
2489 | 0, /* flags */ | |
2490 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2491 | }, | |
6e029e3a | 2492 | { |
2493 | "resp", | |
2494 | 3, | |
2495 | PROTOBUF_C_LABEL_OPTIONAL, | |
2496 | PROTOBUF_C_TYPE_INT32, | |
2497 | offsetof(EspHostedRespScanResult, has_resp), | |
2498 | offsetof(EspHostedRespScanResult, resp), | |
2499 | NULL, | |
2500 | NULL, | |
2501 | 0, /* flags */ | |
2502 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2503 | }, | |
259f9899 | 2504 | }; |
f8683f8c | 2505 | static const unsigned esp_hosted_resp_scan_result__field_indices_by_name[] = { |
259f9899 | 2506 | 0, /* field[0] = count */ |
2507 | 1, /* field[1] = entries */ | |
6e029e3a | 2508 | 2, /* field[2] = resp */ |
259f9899 | 2509 | }; |
f8683f8c | 2510 | static const ProtobufCIntRange esp_hosted_resp_scan_result__number_ranges[1 + 1] = |
259f9899 | 2511 | { |
2512 | { 1, 0 }, | |
6e029e3a | 2513 | { 0, 3 } |
259f9899 | 2514 | }; |
f8683f8c | 2515 | const ProtobufCMessageDescriptor esp_hosted_resp_scan_result__descriptor = |
259f9899 | 2516 | { |
2517 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
f8683f8c | 2518 | "EspHostedRespScanResult", |
2519 | "EspHostedRespScanResult", | |
2520 | "EspHostedRespScanResult", | |
259f9899 | 2521 | "", |
f8683f8c | 2522 | sizeof(EspHostedRespScanResult), |
6e029e3a | 2523 | 3, |
f8683f8c | 2524 | esp_hosted_resp_scan_result__field_descriptors, |
2525 | esp_hosted_resp_scan_result__field_indices_by_name, | |
2526 | 1, esp_hosted_resp_scan_result__number_ranges, | |
2527 | (ProtobufCMessageInit) esp_hosted_resp_scan_result__init, | |
259f9899 | 2528 | NULL,NULL,NULL /* reserved[123] */ |
2529 | }; | |
f8683f8c | 2530 | static const ProtobufCFieldDescriptor esp_hosted_connected_stalist__field_descriptors[2] = |
1175ec3d | 2531 | { |
2532 | { | |
2533 | "mac", | |
2534 | 1, | |
2535 | PROTOBUF_C_LABEL_OPTIONAL, | |
2536 | PROTOBUF_C_TYPE_BYTES, | |
f8683f8c | 2537 | offsetof(EspHostedConnectedSTAList, has_mac), |
2538 | offsetof(EspHostedConnectedSTAList, mac), | |
1175ec3d | 2539 | NULL, |
2540 | NULL, | |
2541 | 0, /* flags */ | |
2542 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2543 | }, | |
2544 | { | |
2545 | "rssi", | |
2546 | 2, | |
2547 | PROTOBUF_C_LABEL_OPTIONAL, | |
2548 | PROTOBUF_C_TYPE_INT32, | |
f8683f8c | 2549 | offsetof(EspHostedConnectedSTAList, has_rssi), |
2550 | offsetof(EspHostedConnectedSTAList, rssi), | |
1175ec3d | 2551 | NULL, |
2552 | NULL, | |
2553 | 0, /* flags */ | |
2554 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2555 | }, | |
2556 | }; | |
f8683f8c | 2557 | static const unsigned esp_hosted_connected_stalist__field_indices_by_name[] = { |
1175ec3d | 2558 | 0, /* field[0] = mac */ |
2559 | 1, /* field[1] = rssi */ | |
2560 | }; | |
f8683f8c | 2561 | static const ProtobufCIntRange esp_hosted_connected_stalist__number_ranges[1 + 1] = |
1175ec3d | 2562 | { |
2563 | { 1, 0 }, | |
2564 | { 0, 2 } | |
2565 | }; | |
f8683f8c | 2566 | const ProtobufCMessageDescriptor esp_hosted_connected_stalist__descriptor = |
1175ec3d | 2567 | { |
2568 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
f8683f8c | 2569 | "EspHostedConnectedSTAList", |
2570 | "EspHostedConnectedSTAList", | |
2571 | "EspHostedConnectedSTAList", | |
1175ec3d | 2572 | "", |
f8683f8c | 2573 | sizeof(EspHostedConnectedSTAList), |
1175ec3d | 2574 | 2, |
f8683f8c | 2575 | esp_hosted_connected_stalist__field_descriptors, |
2576 | esp_hosted_connected_stalist__field_indices_by_name, | |
2577 | 1, esp_hosted_connected_stalist__number_ranges, | |
2578 | (ProtobufCMessageInit) esp_hosted_connected_stalist__init, | |
1175ec3d | 2579 | NULL,NULL,NULL /* reserved[123] */ |
2580 | }; | |
f8683f8c | 2581 | #define esp_hosted_cmd_connected_sta__field_descriptors NULL |
2582 | #define esp_hosted_cmd_connected_sta__field_indices_by_name NULL | |
2583 | #define esp_hosted_cmd_connected_sta__number_ranges NULL | |
2584 | const ProtobufCMessageDescriptor esp_hosted_cmd_connected_sta__descriptor = | |
1175ec3d | 2585 | { |
2586 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
f8683f8c | 2587 | "EspHostedCmdConnectedSTA", |
2588 | "EspHostedCmdConnectedSTA", | |
2589 | "EspHostedCmdConnectedSTA", | |
1175ec3d | 2590 | "", |
f8683f8c | 2591 | sizeof(EspHostedCmdConnectedSTA), |
5cad9ead | 2592 | 0, |
f8683f8c | 2593 | esp_hosted_cmd_connected_sta__field_descriptors, |
2594 | esp_hosted_cmd_connected_sta__field_indices_by_name, | |
2595 | 0, esp_hosted_cmd_connected_sta__number_ranges, | |
2596 | (ProtobufCMessageInit) esp_hosted_cmd_connected_sta__init, | |
1175ec3d | 2597 | NULL,NULL,NULL /* reserved[123] */ |
2598 | }; | |
6e029e3a | 2599 | static const ProtobufCFieldDescriptor esp_hosted_resp_connected_sta__field_descriptors[3] = |
1175ec3d | 2600 | { |
2601 | { | |
2602 | "num", | |
2603 | 1, | |
2604 | PROTOBUF_C_LABEL_OPTIONAL, | |
2605 | PROTOBUF_C_TYPE_UINT32, | |
f8683f8c | 2606 | offsetof(EspHostedRespConnectedSTA, has_num), |
2607 | offsetof(EspHostedRespConnectedSTA, num), | |
1175ec3d | 2608 | NULL, |
2609 | NULL, | |
2610 | 0, /* flags */ | |
2611 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2612 | }, | |
2613 | { | |
2614 | "stations", | |
2615 | 2, | |
2616 | PROTOBUF_C_LABEL_REPEATED, | |
2617 | PROTOBUF_C_TYPE_MESSAGE, | |
f8683f8c | 2618 | offsetof(EspHostedRespConnectedSTA, n_stations), |
2619 | offsetof(EspHostedRespConnectedSTA, stations), | |
2620 | &esp_hosted_connected_stalist__descriptor, | |
1175ec3d | 2621 | NULL, |
2622 | 0, /* flags */ | |
2623 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2624 | }, | |
6e029e3a | 2625 | { |
2626 | "resp", | |
2627 | 3, | |
2628 | PROTOBUF_C_LABEL_OPTIONAL, | |
2629 | PROTOBUF_C_TYPE_INT32, | |
2630 | offsetof(EspHostedRespConnectedSTA, has_resp), | |
2631 | offsetof(EspHostedRespConnectedSTA, resp), | |
2632 | NULL, | |
2633 | NULL, | |
2634 | 0, /* flags */ | |
2635 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2636 | }, | |
1175ec3d | 2637 | }; |
f8683f8c | 2638 | static const unsigned esp_hosted_resp_connected_sta__field_indices_by_name[] = { |
1175ec3d | 2639 | 0, /* field[0] = num */ |
6e029e3a | 2640 | 2, /* field[2] = resp */ |
1175ec3d | 2641 | 1, /* field[1] = stations */ |
2642 | }; | |
f8683f8c | 2643 | static const ProtobufCIntRange esp_hosted_resp_connected_sta__number_ranges[1 + 1] = |
1175ec3d | 2644 | { |
2645 | { 1, 0 }, | |
6e029e3a | 2646 | { 0, 3 } |
1175ec3d | 2647 | }; |
f8683f8c | 2648 | const ProtobufCMessageDescriptor esp_hosted_resp_connected_sta__descriptor = |
1175ec3d | 2649 | { |
2650 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
f8683f8c | 2651 | "EspHostedRespConnectedSTA", |
2652 | "EspHostedRespConnectedSTA", | |
2653 | "EspHostedRespConnectedSTA", | |
1175ec3d | 2654 | "", |
f8683f8c | 2655 | sizeof(EspHostedRespConnectedSTA), |
6e029e3a | 2656 | 3, |
f8683f8c | 2657 | esp_hosted_resp_connected_sta__field_descriptors, |
2658 | esp_hosted_resp_connected_sta__field_indices_by_name, | |
2659 | 1, esp_hosted_resp_connected_sta__number_ranges, | |
2660 | (ProtobufCMessageInit) esp_hosted_resp_connected_sta__init, | |
1175ec3d | 2661 | NULL,NULL,NULL /* reserved[123] */ |
2662 | }; | |
cdd6c7dc YM |
2663 | #define esp_hosted_cmd_otabegin__field_descriptors NULL |
2664 | #define esp_hosted_cmd_otabegin__field_indices_by_name NULL | |
2665 | #define esp_hosted_cmd_otabegin__number_ranges NULL | |
2666 | const ProtobufCMessageDescriptor esp_hosted_cmd_otabegin__descriptor = | |
2667 | { | |
2668 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2669 | "EspHostedCmdOTABegin", | |
2670 | "EspHostedCmdOTABegin", | |
2671 | "EspHostedCmdOTABegin", | |
2672 | "", | |
2673 | sizeof(EspHostedCmdOTABegin), | |
2674 | 0, | |
2675 | esp_hosted_cmd_otabegin__field_descriptors, | |
2676 | esp_hosted_cmd_otabegin__field_indices_by_name, | |
2677 | 0, esp_hosted_cmd_otabegin__number_ranges, | |
2678 | (ProtobufCMessageInit) esp_hosted_cmd_otabegin__init, | |
2679 | NULL,NULL,NULL /* reserved[123] */ | |
2680 | }; | |
2681 | static const ProtobufCFieldDescriptor esp_hosted_resp_otabegin__field_descriptors[1] = | |
2682 | { | |
2683 | { | |
2684 | "resp", | |
2685 | 1, | |
2686 | PROTOBUF_C_LABEL_OPTIONAL, | |
2687 | PROTOBUF_C_TYPE_INT32, | |
2688 | offsetof(EspHostedRespOTABegin, has_resp), | |
2689 | offsetof(EspHostedRespOTABegin, resp), | |
2690 | NULL, | |
2691 | NULL, | |
2692 | 0, /* flags */ | |
2693 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2694 | }, | |
2695 | }; | |
2696 | static const unsigned esp_hosted_resp_otabegin__field_indices_by_name[] = { | |
2697 | 0, /* field[0] = resp */ | |
2698 | }; | |
2699 | static const ProtobufCIntRange esp_hosted_resp_otabegin__number_ranges[1 + 1] = | |
2700 | { | |
2701 | { 1, 0 }, | |
2702 | { 0, 1 } | |
2703 | }; | |
2704 | const ProtobufCMessageDescriptor esp_hosted_resp_otabegin__descriptor = | |
2705 | { | |
2706 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2707 | "EspHostedRespOTABegin", | |
2708 | "EspHostedRespOTABegin", | |
2709 | "EspHostedRespOTABegin", | |
2710 | "", | |
2711 | sizeof(EspHostedRespOTABegin), | |
2712 | 1, | |
2713 | esp_hosted_resp_otabegin__field_descriptors, | |
2714 | esp_hosted_resp_otabegin__field_indices_by_name, | |
2715 | 1, esp_hosted_resp_otabegin__number_ranges, | |
2716 | (ProtobufCMessageInit) esp_hosted_resp_otabegin__init, | |
2717 | NULL,NULL,NULL /* reserved[123] */ | |
2718 | }; | |
2719 | static const ProtobufCFieldDescriptor esp_hosted_cmd_otawrite__field_descriptors[1] = | |
2720 | { | |
2721 | { | |
2722 | "ota_data", | |
2723 | 1, | |
2724 | PROTOBUF_C_LABEL_OPTIONAL, | |
2725 | PROTOBUF_C_TYPE_BYTES, | |
2726 | offsetof(EspHostedCmdOTAWrite, has_ota_data), | |
2727 | offsetof(EspHostedCmdOTAWrite, ota_data), | |
2728 | NULL, | |
2729 | NULL, | |
2730 | 0, /* flags */ | |
2731 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2732 | }, | |
2733 | }; | |
2734 | static const unsigned esp_hosted_cmd_otawrite__field_indices_by_name[] = { | |
2735 | 0, /* field[0] = ota_data */ | |
2736 | }; | |
2737 | static const ProtobufCIntRange esp_hosted_cmd_otawrite__number_ranges[1 + 1] = | |
2738 | { | |
2739 | { 1, 0 }, | |
2740 | { 0, 1 } | |
2741 | }; | |
2742 | const ProtobufCMessageDescriptor esp_hosted_cmd_otawrite__descriptor = | |
2743 | { | |
2744 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2745 | "EspHostedCmdOTAWrite", | |
2746 | "EspHostedCmdOTAWrite", | |
2747 | "EspHostedCmdOTAWrite", | |
2748 | "", | |
2749 | sizeof(EspHostedCmdOTAWrite), | |
2750 | 1, | |
2751 | esp_hosted_cmd_otawrite__field_descriptors, | |
2752 | esp_hosted_cmd_otawrite__field_indices_by_name, | |
2753 | 1, esp_hosted_cmd_otawrite__number_ranges, | |
2754 | (ProtobufCMessageInit) esp_hosted_cmd_otawrite__init, | |
2755 | NULL,NULL,NULL /* reserved[123] */ | |
2756 | }; | |
2757 | static const ProtobufCFieldDescriptor esp_hosted_resp_otawrite__field_descriptors[1] = | |
2758 | { | |
2759 | { | |
2760 | "resp", | |
2761 | 1, | |
2762 | PROTOBUF_C_LABEL_OPTIONAL, | |
2763 | PROTOBUF_C_TYPE_INT32, | |
2764 | offsetof(EspHostedRespOTAWrite, has_resp), | |
2765 | offsetof(EspHostedRespOTAWrite, resp), | |
2766 | NULL, | |
2767 | NULL, | |
2768 | 0, /* flags */ | |
2769 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2770 | }, | |
2771 | }; | |
2772 | static const unsigned esp_hosted_resp_otawrite__field_indices_by_name[] = { | |
2773 | 0, /* field[0] = resp */ | |
2774 | }; | |
2775 | static const ProtobufCIntRange esp_hosted_resp_otawrite__number_ranges[1 + 1] = | |
2776 | { | |
2777 | { 1, 0 }, | |
2778 | { 0, 1 } | |
2779 | }; | |
2780 | const ProtobufCMessageDescriptor esp_hosted_resp_otawrite__descriptor = | |
2781 | { | |
2782 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2783 | "EspHostedRespOTAWrite", | |
2784 | "EspHostedRespOTAWrite", | |
2785 | "EspHostedRespOTAWrite", | |
2786 | "", | |
2787 | sizeof(EspHostedRespOTAWrite), | |
2788 | 1, | |
2789 | esp_hosted_resp_otawrite__field_descriptors, | |
2790 | esp_hosted_resp_otawrite__field_indices_by_name, | |
2791 | 1, esp_hosted_resp_otawrite__number_ranges, | |
2792 | (ProtobufCMessageInit) esp_hosted_resp_otawrite__init, | |
2793 | NULL,NULL,NULL /* reserved[123] */ | |
2794 | }; | |
2795 | #define esp_hosted_cmd_otaend__field_descriptors NULL | |
2796 | #define esp_hosted_cmd_otaend__field_indices_by_name NULL | |
2797 | #define esp_hosted_cmd_otaend__number_ranges NULL | |
2798 | const ProtobufCMessageDescriptor esp_hosted_cmd_otaend__descriptor = | |
2799 | { | |
2800 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2801 | "EspHostedCmdOTAEnd", | |
2802 | "EspHostedCmdOTAEnd", | |
2803 | "EspHostedCmdOTAEnd", | |
2804 | "", | |
2805 | sizeof(EspHostedCmdOTAEnd), | |
2806 | 0, | |
2807 | esp_hosted_cmd_otaend__field_descriptors, | |
2808 | esp_hosted_cmd_otaend__field_indices_by_name, | |
2809 | 0, esp_hosted_cmd_otaend__number_ranges, | |
2810 | (ProtobufCMessageInit) esp_hosted_cmd_otaend__init, | |
2811 | NULL,NULL,NULL /* reserved[123] */ | |
2812 | }; | |
2813 | static const ProtobufCFieldDescriptor esp_hosted_resp_otaend__field_descriptors[1] = | |
2814 | { | |
2815 | { | |
2816 | "resp", | |
2817 | 1, | |
2818 | PROTOBUF_C_LABEL_OPTIONAL, | |
2819 | PROTOBUF_C_TYPE_INT32, | |
2820 | offsetof(EspHostedRespOTAEnd, has_resp), | |
2821 | offsetof(EspHostedRespOTAEnd, resp), | |
2822 | NULL, | |
2823 | NULL, | |
2824 | 0, /* flags */ | |
2825 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2826 | }, | |
2827 | }; | |
2828 | static const unsigned esp_hosted_resp_otaend__field_indices_by_name[] = { | |
2829 | 0, /* field[0] = resp */ | |
2830 | }; | |
2831 | static const ProtobufCIntRange esp_hosted_resp_otaend__number_ranges[1 + 1] = | |
2832 | { | |
2833 | { 1, 0 }, | |
2834 | { 0, 1 } | |
2835 | }; | |
2836 | const ProtobufCMessageDescriptor esp_hosted_resp_otaend__descriptor = | |
2837 | { | |
2838 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2839 | "EspHostedRespOTAEnd", | |
2840 | "EspHostedRespOTAEnd", | |
2841 | "EspHostedRespOTAEnd", | |
2842 | "", | |
2843 | sizeof(EspHostedRespOTAEnd), | |
2844 | 1, | |
2845 | esp_hosted_resp_otaend__field_descriptors, | |
2846 | esp_hosted_resp_otaend__field_indices_by_name, | |
2847 | 1, esp_hosted_resp_otaend__number_ranges, | |
2848 | (ProtobufCMessageInit) esp_hosted_resp_otaend__init, | |
2849 | NULL,NULL,NULL /* reserved[123] */ | |
2850 | }; | |
9625f63d | 2851 | static const ProtobufCFieldDescriptor esp_hosted_cmd_set_vendor_specific_ie__field_descriptors[4] = |
2852 | { | |
2853 | { | |
2854 | "enable", | |
2855 | 1, | |
2856 | PROTOBUF_C_LABEL_OPTIONAL, | |
2857 | PROTOBUF_C_TYPE_BOOL, | |
2858 | offsetof(EspHostedCmdSetVendorSpecificIE, has_enable), | |
2859 | offsetof(EspHostedCmdSetVendorSpecificIE, enable), | |
2860 | NULL, | |
2861 | NULL, | |
2862 | 0, /* flags */ | |
2863 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2864 | }, | |
2865 | { | |
2866 | "type", | |
2867 | 2, | |
2868 | PROTOBUF_C_LABEL_OPTIONAL, | |
2869 | PROTOBUF_C_TYPE_ENUM, | |
2870 | offsetof(EspHostedCmdSetVendorSpecificIE, has_type), | |
2871 | offsetof(EspHostedCmdSetVendorSpecificIE, type), | |
2872 | &esp_hosted_vendor_ietype__descriptor, | |
2873 | NULL, | |
2874 | 0, /* flags */ | |
2875 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2876 | }, | |
2877 | { | |
2878 | "idx", | |
2879 | 3, | |
2880 | PROTOBUF_C_LABEL_OPTIONAL, | |
2881 | PROTOBUF_C_TYPE_ENUM, | |
2882 | offsetof(EspHostedCmdSetVendorSpecificIE, has_idx), | |
2883 | offsetof(EspHostedCmdSetVendorSpecificIE, idx), | |
2884 | &esp_hosted_ieid__descriptor, | |
2885 | NULL, | |
2886 | 0, /* flags */ | |
2887 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2888 | }, | |
2889 | { | |
2890 | "vendor_ie_data", | |
2891 | 4, | |
2892 | PROTOBUF_C_LABEL_OPTIONAL, | |
2893 | PROTOBUF_C_TYPE_BYTES, | |
2894 | offsetof(EspHostedCmdSetVendorSpecificIE, has_vendor_ie_data), | |
2895 | offsetof(EspHostedCmdSetVendorSpecificIE, vendor_ie_data), | |
2896 | NULL, | |
2897 | NULL, | |
2898 | 0, /* flags */ | |
2899 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2900 | }, | |
2901 | }; | |
2902 | static const unsigned esp_hosted_cmd_set_vendor_specific_ie__field_indices_by_name[] = { | |
2903 | 0, /* field[0] = enable */ | |
2904 | 2, /* field[2] = idx */ | |
2905 | 1, /* field[1] = type */ | |
2906 | 3, /* field[3] = vendor_ie_data */ | |
2907 | }; | |
2908 | static const ProtobufCIntRange esp_hosted_cmd_set_vendor_specific_ie__number_ranges[1 + 1] = | |
2909 | { | |
2910 | { 1, 0 }, | |
2911 | { 0, 4 } | |
2912 | }; | |
2913 | const ProtobufCMessageDescriptor esp_hosted_cmd_set_vendor_specific_ie__descriptor = | |
2914 | { | |
2915 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2916 | "EspHostedCmdSetVendorSpecificIE", | |
2917 | "EspHostedCmdSetVendorSpecificIE", | |
2918 | "EspHostedCmdSetVendorSpecificIE", | |
2919 | "", | |
2920 | sizeof(EspHostedCmdSetVendorSpecificIE), | |
2921 | 4, | |
2922 | esp_hosted_cmd_set_vendor_specific_ie__field_descriptors, | |
2923 | esp_hosted_cmd_set_vendor_specific_ie__field_indices_by_name, | |
2924 | 1, esp_hosted_cmd_set_vendor_specific_ie__number_ranges, | |
2925 | (ProtobufCMessageInit) esp_hosted_cmd_set_vendor_specific_ie__init, | |
2926 | NULL,NULL,NULL /* reserved[123] */ | |
2927 | }; | |
2928 | static const ProtobufCFieldDescriptor esp_hosted_resp_set_vendor_specific_ie__field_descriptors[1] = | |
2929 | { | |
2930 | { | |
2931 | "resp", | |
2932 | 1, | |
2933 | PROTOBUF_C_LABEL_OPTIONAL, | |
2934 | PROTOBUF_C_TYPE_INT32, | |
2935 | offsetof(EspHostedRespSetVendorSpecificIE, has_resp), | |
2936 | offsetof(EspHostedRespSetVendorSpecificIE, resp), | |
2937 | NULL, | |
2938 | NULL, | |
2939 | 0, /* flags */ | |
2940 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2941 | }, | |
2942 | }; | |
2943 | static const unsigned esp_hosted_resp_set_vendor_specific_ie__field_indices_by_name[] = { | |
2944 | 0, /* field[0] = resp */ | |
2945 | }; | |
2946 | static const ProtobufCIntRange esp_hosted_resp_set_vendor_specific_ie__number_ranges[1 + 1] = | |
2947 | { | |
2948 | { 1, 0 }, | |
2949 | { 0, 1 } | |
2950 | }; | |
2951 | const ProtobufCMessageDescriptor esp_hosted_resp_set_vendor_specific_ie__descriptor = | |
2952 | { | |
2953 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
2954 | "EspHostedRespSetVendorSpecificIE", | |
2955 | "EspHostedRespSetVendorSpecificIE", | |
2956 | "EspHostedRespSetVendorSpecificIE", | |
2957 | "", | |
2958 | sizeof(EspHostedRespSetVendorSpecificIE), | |
2959 | 1, | |
2960 | esp_hosted_resp_set_vendor_specific_ie__field_descriptors, | |
2961 | esp_hosted_resp_set_vendor_specific_ie__field_indices_by_name, | |
2962 | 1, esp_hosted_resp_set_vendor_specific_ie__number_ranges, | |
2963 | (ProtobufCMessageInit) esp_hosted_resp_set_vendor_specific_ie__init, | |
2964 | NULL,NULL,NULL /* reserved[123] */ | |
2965 | }; | |
2966 | static const ProtobufCFieldDescriptor esp_hosted_config_payload__field_descriptors[37] = | |
f956a62b | 2967 | { |
2968 | { | |
2969 | "msg", | |
2970 | 1, | |
2971 | PROTOBUF_C_LABEL_OPTIONAL, | |
2972 | PROTOBUF_C_TYPE_ENUM, | |
f2753857 | 2973 | offsetof(EspHostedConfigPayload, has_msg), |
2974 | offsetof(EspHostedConfigPayload, msg), | |
2975 | &esp_hosted_config_msg_type__descriptor, | |
f956a62b | 2976 | NULL, |
2977 | 0, /* flags */ | |
2978 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2979 | }, | |
2980 | { | |
2981 | "cmd_get_mac_address", | |
2982 | 10, | |
2983 | PROTOBUF_C_LABEL_OPTIONAL, | |
2984 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 2985 | offsetof(EspHostedConfigPayload, payload_case), |
2986 | offsetof(EspHostedConfigPayload, cmd_get_mac_address), | |
6e029e3a | 2987 | &esp_hosted_cmd_get_mac_address__descriptor, |
f956a62b | 2988 | NULL, |
2989 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
2990 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
2991 | }, | |
2992 | { | |
2993 | "resp_get_mac_address", | |
2994 | 11, | |
2995 | PROTOBUF_C_LABEL_OPTIONAL, | |
2996 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 2997 | offsetof(EspHostedConfigPayload, payload_case), |
2998 | offsetof(EspHostedConfigPayload, resp_get_mac_address), | |
6e029e3a | 2999 | &esp_hosted_resp_get_mac_address__descriptor, |
f956a62b | 3000 | NULL, |
3001 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3002 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3003 | }, | |
3004 | { | |
3005 | "cmd_get_wifi_mode", | |
3006 | 12, | |
3007 | PROTOBUF_C_LABEL_OPTIONAL, | |
3008 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3009 | offsetof(EspHostedConfigPayload, payload_case), |
3010 | offsetof(EspHostedConfigPayload, cmd_get_wifi_mode), | |
6e029e3a | 3011 | &esp_hosted_cmd_get_mode__descriptor, |
f956a62b | 3012 | NULL, |
3013 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3014 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3015 | }, | |
3016 | { | |
3017 | "resp_get_wifi_mode", | |
3018 | 13, | |
3019 | PROTOBUF_C_LABEL_OPTIONAL, | |
3020 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3021 | offsetof(EspHostedConfigPayload, payload_case), |
3022 | offsetof(EspHostedConfigPayload, resp_get_wifi_mode), | |
6e029e3a | 3023 | &esp_hosted_resp_get_mode__descriptor, |
f956a62b | 3024 | NULL, |
3025 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3026 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3027 | }, | |
3028 | { | |
3029 | "cmd_set_wifi_mode", | |
3030 | 14, | |
3031 | PROTOBUF_C_LABEL_OPTIONAL, | |
3032 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3033 | offsetof(EspHostedConfigPayload, payload_case), |
3034 | offsetof(EspHostedConfigPayload, cmd_set_wifi_mode), | |
6e029e3a | 3035 | &esp_hosted_cmd_set_mode__descriptor, |
f956a62b | 3036 | NULL, |
3037 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3038 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3039 | }, | |
3040 | { | |
3041 | "resp_set_wifi_mode", | |
3042 | 15, | |
3043 | PROTOBUF_C_LABEL_OPTIONAL, | |
3044 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3045 | offsetof(EspHostedConfigPayload, payload_case), |
3046 | offsetof(EspHostedConfigPayload, resp_set_wifi_mode), | |
6e029e3a | 3047 | &esp_hosted_resp_set_mode__descriptor, |
f956a62b | 3048 | NULL, |
3049 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3050 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3051 | }, | |
3052 | { | |
3053 | "cmd_get_ap_config", | |
3054 | 16, | |
3055 | PROTOBUF_C_LABEL_OPTIONAL, | |
3056 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3057 | offsetof(EspHostedConfigPayload, payload_case), |
3058 | offsetof(EspHostedConfigPayload, cmd_get_ap_config), | |
6e029e3a | 3059 | &esp_hosted_cmd_get_apconfig__descriptor, |
f956a62b | 3060 | NULL, |
3061 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3062 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3063 | }, | |
3064 | { | |
3065 | "resp_get_ap_config", | |
3066 | 17, | |
3067 | PROTOBUF_C_LABEL_OPTIONAL, | |
3068 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3069 | offsetof(EspHostedConfigPayload, payload_case), |
3070 | offsetof(EspHostedConfigPayload, resp_get_ap_config), | |
6e029e3a | 3071 | &esp_hosted_resp_get_apconfig__descriptor, |
f956a62b | 3072 | NULL, |
3073 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3074 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3075 | }, | |
3076 | { | |
3077 | "cmd_set_ap_config", | |
3078 | 18, | |
3079 | PROTOBUF_C_LABEL_OPTIONAL, | |
3080 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3081 | offsetof(EspHostedConfigPayload, payload_case), |
3082 | offsetof(EspHostedConfigPayload, cmd_set_ap_config), | |
6e029e3a | 3083 | &esp_hosted_cmd_set_apconfig__descriptor, |
f956a62b | 3084 | NULL, |
3085 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3086 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3087 | }, | |
3088 | { | |
3089 | "resp_set_ap_config", | |
3090 | 19, | |
3091 | PROTOBUF_C_LABEL_OPTIONAL, | |
3092 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3093 | offsetof(EspHostedConfigPayload, payload_case), |
3094 | offsetof(EspHostedConfigPayload, resp_set_ap_config), | |
6e029e3a | 3095 | &esp_hosted_resp_set_apconfig__descriptor, |
f956a62b | 3096 | NULL, |
3097 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3098 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3099 | }, | |
3100 | { | |
3101 | "cmd_get_softap_config", | |
3102 | 20, | |
3103 | PROTOBUF_C_LABEL_OPTIONAL, | |
3104 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3105 | offsetof(EspHostedConfigPayload, payload_case), |
3106 | offsetof(EspHostedConfigPayload, cmd_get_softap_config), | |
6e029e3a | 3107 | &esp_hosted_cmd_get_soft_apconfig__descriptor, |
f956a62b | 3108 | NULL, |
3109 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3110 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3111 | }, | |
3112 | { | |
3113 | "resp_get_softap_config", | |
3114 | 21, | |
3115 | PROTOBUF_C_LABEL_OPTIONAL, | |
3116 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3117 | offsetof(EspHostedConfigPayload, payload_case), |
3118 | offsetof(EspHostedConfigPayload, resp_get_softap_config), | |
6e029e3a | 3119 | &esp_hosted_resp_get_soft_apconfig__descriptor, |
f956a62b | 3120 | NULL, |
3121 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3122 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3123 | }, | |
3124 | { | |
3125 | "cmd_set_softap_config", | |
3126 | 22, | |
3127 | PROTOBUF_C_LABEL_OPTIONAL, | |
3128 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3129 | offsetof(EspHostedConfigPayload, payload_case), |
3130 | offsetof(EspHostedConfigPayload, cmd_set_softap_config), | |
6e029e3a | 3131 | &esp_hosted_cmd_set_soft_apconfig__descriptor, |
f956a62b | 3132 | NULL, |
3133 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3134 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3135 | }, | |
3136 | { | |
3137 | "resp_set_softap_config", | |
3138 | 23, | |
3139 | PROTOBUF_C_LABEL_OPTIONAL, | |
3140 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3141 | offsetof(EspHostedConfigPayload, payload_case), |
3142 | offsetof(EspHostedConfigPayload, resp_set_softap_config), | |
6e029e3a | 3143 | &esp_hosted_resp_set_soft_apconfig__descriptor, |
f956a62b | 3144 | NULL, |
3145 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3146 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3147 | }, | |
3148 | { | |
3149 | "cmd_disconnect_ap", | |
3150 | 24, | |
3151 | PROTOBUF_C_LABEL_OPTIONAL, | |
3152 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3153 | offsetof(EspHostedConfigPayload, payload_case), |
3154 | offsetof(EspHostedConfigPayload, cmd_disconnect_ap), | |
f8683f8c | 3155 | &esp_hosted_cmd_get_status__descriptor, |
f956a62b | 3156 | NULL, |
3157 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3158 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3159 | }, | |
3160 | { | |
3161 | "resp_disconnect_ap", | |
3162 | 25, | |
3163 | PROTOBUF_C_LABEL_OPTIONAL, | |
3164 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3165 | offsetof(EspHostedConfigPayload, payload_case), |
3166 | offsetof(EspHostedConfigPayload, resp_disconnect_ap), | |
f8683f8c | 3167 | &esp_hosted_resp_get_status__descriptor, |
f956a62b | 3168 | NULL, |
3169 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3170 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3171 | }, | |
259f9899 | 3172 | { |
6e029e3a | 3173 | "cmd_stop_softap", |
259f9899 | 3174 | 26, |
3175 | PROTOBUF_C_LABEL_OPTIONAL, | |
3176 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3177 | offsetof(EspHostedConfigPayload, payload_case), |
6e029e3a | 3178 | offsetof(EspHostedConfigPayload, cmd_stop_softap), |
3179 | &esp_hosted_cmd_get_status__descriptor, | |
3180 | NULL, | |
3181 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3182 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3183 | }, | |
3184 | { | |
3185 | "resp_stop_softap", | |
3186 | 27, | |
3187 | PROTOBUF_C_LABEL_OPTIONAL, | |
3188 | PROTOBUF_C_TYPE_MESSAGE, | |
3189 | offsetof(EspHostedConfigPayload, payload_case), | |
3190 | offsetof(EspHostedConfigPayload, resp_stop_softap), | |
3191 | &esp_hosted_resp_get_status__descriptor, | |
3192 | NULL, | |
3193 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3194 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3195 | }, | |
3196 | { | |
3197 | "cmd_scan_ap_list", | |
3198 | 28, | |
3199 | PROTOBUF_C_LABEL_OPTIONAL, | |
3200 | PROTOBUF_C_TYPE_MESSAGE, | |
3201 | offsetof(EspHostedConfigPayload, payload_case), | |
f2753857 | 3202 | offsetof(EspHostedConfigPayload, cmd_scan_ap_list), |
f8683f8c | 3203 | &esp_hosted_cmd_scan_result__descriptor, |
259f9899 | 3204 | NULL, |
3205 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3206 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3207 | }, | |
3208 | { | |
3209 | "resp_scan_ap_list", | |
6e029e3a | 3210 | 29, |
259f9899 | 3211 | PROTOBUF_C_LABEL_OPTIONAL, |
3212 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3213 | offsetof(EspHostedConfigPayload, payload_case), |
3214 | offsetof(EspHostedConfigPayload, resp_scan_ap_list), | |
f8683f8c | 3215 | &esp_hosted_resp_scan_result__descriptor, |
259f9899 | 3216 | NULL, |
3217 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3218 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3219 | }, | |
1175ec3d | 3220 | { |
3221 | "cmd_connected_stas_list", | |
6e029e3a | 3222 | 30, |
1175ec3d | 3223 | PROTOBUF_C_LABEL_OPTIONAL, |
3224 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3225 | offsetof(EspHostedConfigPayload, payload_case), |
3226 | offsetof(EspHostedConfigPayload, cmd_connected_stas_list), | |
f8683f8c | 3227 | &esp_hosted_cmd_connected_sta__descriptor, |
1175ec3d | 3228 | NULL, |
3229 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3230 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3231 | }, | |
3232 | { | |
3233 | "resp_connected_stas_list", | |
6e029e3a | 3234 | 31, |
1175ec3d | 3235 | PROTOBUF_C_LABEL_OPTIONAL, |
3236 | PROTOBUF_C_TYPE_MESSAGE, | |
f2753857 | 3237 | offsetof(EspHostedConfigPayload, payload_case), |
3238 | offsetof(EspHostedConfigPayload, resp_connected_stas_list), | |
f8683f8c | 3239 | &esp_hosted_resp_connected_sta__descriptor, |
1175ec3d | 3240 | NULL, |
3241 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3242 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3243 | }, | |
c618ef93 | 3244 | { |
3245 | "cmd_set_mac_address", | |
6e029e3a | 3246 | 32, |
c618ef93 | 3247 | PROTOBUF_C_LABEL_OPTIONAL, |
3248 | PROTOBUF_C_TYPE_MESSAGE, | |
3249 | offsetof(EspHostedConfigPayload, payload_case), | |
3250 | offsetof(EspHostedConfigPayload, cmd_set_mac_address), | |
3251 | &esp_hosted_cmd_set_mac_address__descriptor, | |
3252 | NULL, | |
3253 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3254 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3255 | }, | |
3256 | { | |
3257 | "resp_set_mac_address", | |
6e029e3a | 3258 | 33, |
c618ef93 | 3259 | PROTOBUF_C_LABEL_OPTIONAL, |
3260 | PROTOBUF_C_TYPE_MESSAGE, | |
3261 | offsetof(EspHostedConfigPayload, payload_case), | |
3262 | offsetof(EspHostedConfigPayload, resp_set_mac_address), | |
3263 | &esp_hosted_resp_set_mac_address__descriptor, | |
3264 | NULL, | |
3265 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3266 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3267 | }, | |
fb00c9ba | 3268 | { |
3269 | "cmd_set_power_save_mode", | |
6e029e3a | 3270 | 34, |
fb00c9ba | 3271 | PROTOBUF_C_LABEL_OPTIONAL, |
3272 | PROTOBUF_C_TYPE_MESSAGE, | |
3273 | offsetof(EspHostedConfigPayload, payload_case), | |
3274 | offsetof(EspHostedConfigPayload, cmd_set_power_save_mode), | |
6e029e3a | 3275 | &esp_hosted_cmd_set_mode__descriptor, |
fb00c9ba | 3276 | NULL, |
3277 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3278 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3279 | }, | |
3280 | { | |
3281 | "resp_set_power_save_mode", | |
6e029e3a | 3282 | 35, |
fb00c9ba | 3283 | PROTOBUF_C_LABEL_OPTIONAL, |
3284 | PROTOBUF_C_TYPE_MESSAGE, | |
3285 | offsetof(EspHostedConfigPayload, payload_case), | |
3286 | offsetof(EspHostedConfigPayload, resp_set_power_save_mode), | |
6e029e3a | 3287 | &esp_hosted_resp_set_mode__descriptor, |
fb00c9ba | 3288 | NULL, |
3289 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3290 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3291 | }, | |
3292 | { | |
3293 | "cmd_get_power_save_mode", | |
6e029e3a | 3294 | 36, |
fb00c9ba | 3295 | PROTOBUF_C_LABEL_OPTIONAL, |
3296 | PROTOBUF_C_TYPE_MESSAGE, | |
3297 | offsetof(EspHostedConfigPayload, payload_case), | |
3298 | offsetof(EspHostedConfigPayload, cmd_get_power_save_mode), | |
6e029e3a | 3299 | &esp_hosted_cmd_get_mode__descriptor, |
fb00c9ba | 3300 | NULL, |
3301 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3302 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3303 | }, | |
3304 | { | |
3305 | "resp_get_power_save_mode", | |
6e029e3a | 3306 | 37, |
fb00c9ba | 3307 | PROTOBUF_C_LABEL_OPTIONAL, |
3308 | PROTOBUF_C_TYPE_MESSAGE, | |
3309 | offsetof(EspHostedConfigPayload, payload_case), | |
3310 | offsetof(EspHostedConfigPayload, resp_get_power_save_mode), | |
6e029e3a | 3311 | &esp_hosted_resp_get_mode__descriptor, |
fb00c9ba | 3312 | NULL, |
3313 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3314 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3315 | }, | |
cdd6c7dc YM |
3316 | { |
3317 | "cmd_ota_begin", | |
3318 | 38, | |
3319 | PROTOBUF_C_LABEL_OPTIONAL, | |
3320 | PROTOBUF_C_TYPE_MESSAGE, | |
3321 | offsetof(EspHostedConfigPayload, payload_case), | |
3322 | offsetof(EspHostedConfigPayload, cmd_ota_begin), | |
3323 | &esp_hosted_cmd_otabegin__descriptor, | |
3324 | NULL, | |
3325 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3326 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3327 | }, | |
3328 | { | |
3329 | "resp_ota_begin", | |
3330 | 39, | |
3331 | PROTOBUF_C_LABEL_OPTIONAL, | |
3332 | PROTOBUF_C_TYPE_MESSAGE, | |
3333 | offsetof(EspHostedConfigPayload, payload_case), | |
3334 | offsetof(EspHostedConfigPayload, resp_ota_begin), | |
3335 | &esp_hosted_resp_otabegin__descriptor, | |
3336 | NULL, | |
3337 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3338 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3339 | }, | |
3340 | { | |
3341 | "cmd_ota_write", | |
3342 | 40, | |
3343 | PROTOBUF_C_LABEL_OPTIONAL, | |
3344 | PROTOBUF_C_TYPE_MESSAGE, | |
3345 | offsetof(EspHostedConfigPayload, payload_case), | |
3346 | offsetof(EspHostedConfigPayload, cmd_ota_write), | |
3347 | &esp_hosted_cmd_otawrite__descriptor, | |
3348 | NULL, | |
3349 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3350 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3351 | }, | |
3352 | { | |
3353 | "resp_ota_write", | |
3354 | 41, | |
3355 | PROTOBUF_C_LABEL_OPTIONAL, | |
3356 | PROTOBUF_C_TYPE_MESSAGE, | |
3357 | offsetof(EspHostedConfigPayload, payload_case), | |
3358 | offsetof(EspHostedConfigPayload, resp_ota_write), | |
3359 | &esp_hosted_resp_otawrite__descriptor, | |
3360 | NULL, | |
3361 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3362 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3363 | }, | |
3364 | { | |
3365 | "cmd_ota_end", | |
3366 | 42, | |
3367 | PROTOBUF_C_LABEL_OPTIONAL, | |
3368 | PROTOBUF_C_TYPE_MESSAGE, | |
3369 | offsetof(EspHostedConfigPayload, payload_case), | |
3370 | offsetof(EspHostedConfigPayload, cmd_ota_end), | |
3371 | &esp_hosted_cmd_otaend__descriptor, | |
3372 | NULL, | |
3373 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3374 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3375 | }, | |
3376 | { | |
3377 | "resp_ota_end", | |
3378 | 43, | |
3379 | PROTOBUF_C_LABEL_OPTIONAL, | |
3380 | PROTOBUF_C_TYPE_MESSAGE, | |
3381 | offsetof(EspHostedConfigPayload, payload_case), | |
3382 | offsetof(EspHostedConfigPayload, resp_ota_end), | |
3383 | &esp_hosted_resp_otaend__descriptor, | |
3384 | NULL, | |
3385 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3386 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3387 | }, | |
9625f63d | 3388 | { |
3389 | "cmd_set_vendor_specific_ie", | |
3390 | 44, | |
3391 | PROTOBUF_C_LABEL_OPTIONAL, | |
3392 | PROTOBUF_C_TYPE_MESSAGE, | |
3393 | offsetof(EspHostedConfigPayload, payload_case), | |
3394 | offsetof(EspHostedConfigPayload, cmd_set_vendor_specific_ie), | |
3395 | &esp_hosted_cmd_set_vendor_specific_ie__descriptor, | |
3396 | NULL, | |
3397 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3398 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3399 | }, | |
3400 | { | |
3401 | "resp_set_vendor_specific_ie", | |
3402 | 45, | |
3403 | PROTOBUF_C_LABEL_OPTIONAL, | |
3404 | PROTOBUF_C_TYPE_MESSAGE, | |
3405 | offsetof(EspHostedConfigPayload, payload_case), | |
3406 | offsetof(EspHostedConfigPayload, resp_set_vendor_specific_ie), | |
3407 | &esp_hosted_resp_set_vendor_specific_ie__descriptor, | |
3408 | NULL, | |
3409 | 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ | |
3410 | 0,NULL,NULL /* reserved1,reserved2, etc */ | |
3411 | }, | |
f956a62b | 3412 | }; |
f2753857 | 3413 | static const unsigned esp_hosted_config_payload__field_indices_by_name[] = { |
6e029e3a | 3414 | 21, /* field[21] = cmd_connected_stas_list */ |
f956a62b | 3415 | 15, /* field[15] = cmd_disconnect_ap */ |
3416 | 7, /* field[7] = cmd_get_ap_config */ | |
3417 | 1, /* field[1] = cmd_get_mac_address */ | |
6e029e3a | 3418 | 27, /* field[27] = cmd_get_power_save_mode */ |
f956a62b | 3419 | 11, /* field[11] = cmd_get_softap_config */ |
3420 | 3, /* field[3] = cmd_get_wifi_mode */ | |
cdd6c7dc YM |
3421 | 29, /* field[29] = cmd_ota_begin */ |
3422 | 33, /* field[33] = cmd_ota_end */ | |
3423 | 31, /* field[31] = cmd_ota_write */ | |
6e029e3a | 3424 | 19, /* field[19] = cmd_scan_ap_list */ |
f956a62b | 3425 | 9, /* field[9] = cmd_set_ap_config */ |
6e029e3a | 3426 | 23, /* field[23] = cmd_set_mac_address */ |
3427 | 25, /* field[25] = cmd_set_power_save_mode */ | |
f956a62b | 3428 | 13, /* field[13] = cmd_set_softap_config */ |
9625f63d | 3429 | 35, /* field[35] = cmd_set_vendor_specific_ie */ |
f956a62b | 3430 | 5, /* field[5] = cmd_set_wifi_mode */ |
6e029e3a | 3431 | 17, /* field[17] = cmd_stop_softap */ |
f956a62b | 3432 | 0, /* field[0] = msg */ |
6e029e3a | 3433 | 22, /* field[22] = resp_connected_stas_list */ |
f956a62b | 3434 | 16, /* field[16] = resp_disconnect_ap */ |
3435 | 8, /* field[8] = resp_get_ap_config */ | |
3436 | 2, /* field[2] = resp_get_mac_address */ | |
6e029e3a | 3437 | 28, /* field[28] = resp_get_power_save_mode */ |
f956a62b | 3438 | 12, /* field[12] = resp_get_softap_config */ |
3439 | 4, /* field[4] = resp_get_wifi_mode */ | |
cdd6c7dc YM |
3440 | 30, /* field[30] = resp_ota_begin */ |
3441 | 34, /* field[34] = resp_ota_end */ | |
3442 | 32, /* field[32] = resp_ota_write */ | |
6e029e3a | 3443 | 20, /* field[20] = resp_scan_ap_list */ |
f956a62b | 3444 | 10, /* field[10] = resp_set_ap_config */ |
6e029e3a | 3445 | 24, /* field[24] = resp_set_mac_address */ |
3446 | 26, /* field[26] = resp_set_power_save_mode */ | |
f956a62b | 3447 | 14, /* field[14] = resp_set_softap_config */ |
9625f63d | 3448 | 36, /* field[36] = resp_set_vendor_specific_ie */ |
f956a62b | 3449 | 6, /* field[6] = resp_set_wifi_mode */ |
6e029e3a | 3450 | 18, /* field[18] = resp_stop_softap */ |
f956a62b | 3451 | }; |
f2753857 | 3452 | static const ProtobufCIntRange esp_hosted_config_payload__number_ranges[2 + 1] = |
f956a62b | 3453 | { |
3454 | { 1, 0 }, | |
3455 | { 10, 1 }, | |
9625f63d | 3456 | { 0, 37 } |
f956a62b | 3457 | }; |
f2753857 | 3458 | const ProtobufCMessageDescriptor esp_hosted_config_payload__descriptor = |
f956a62b | 3459 | { |
3460 | PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, | |
f2753857 | 3461 | "EspHostedConfigPayload", |
3462 | "EspHostedConfigPayload", | |
3463 | "EspHostedConfigPayload", | |
f956a62b | 3464 | "", |
f2753857 | 3465 | sizeof(EspHostedConfigPayload), |
9625f63d | 3466 | 37, |
f2753857 | 3467 | esp_hosted_config_payload__field_descriptors, |
3468 | esp_hosted_config_payload__field_indices_by_name, | |
3469 | 2, esp_hosted_config_payload__number_ranges, | |
3470 | (ProtobufCMessageInit) esp_hosted_config_payload__init, | |
f956a62b | 3471 | NULL,NULL,NULL /* reserved[123] */ |
3472 | }; | |
f8683f8c | 3473 | static const ProtobufCEnumValue esp_hosted_encryption_mode__enum_values_by_number[8] = |
3474 | { | |
3475 | { "Type_Open", "ESP_HOSTED_ENCRYPTION_MODE__Type_Open", 0 }, | |
3476 | { "Type_WEP", "ESP_HOSTED_ENCRYPTION_MODE__Type_WEP", 1 }, | |
3477 | { "Type_WPA_PSK", "ESP_HOSTED_ENCRYPTION_MODE__Type_WPA_PSK", 2 }, | |
3478 | { "Type_WPA2_PSK", "ESP_HOSTED_ENCRYPTION_MODE__Type_WPA2_PSK", 3 }, | |
3479 | { "Type_WPA_WPA2_PSK", "ESP_HOSTED_ENCRYPTION_MODE__Type_WPA_WPA2_PSK", 4 }, | |
3480 | { "Type_WPA2_ENTERPRISE", "ESP_HOSTED_ENCRYPTION_MODE__Type_WPA2_ENTERPRISE", 5 }, | |
3481 | { "Type_WPA3_PSK", "ESP_HOSTED_ENCRYPTION_MODE__Type_WPA3_PSK", 6 }, | |
3482 | { "Type_WPA2_WPA3_PSK", "ESP_HOSTED_ENCRYPTION_MODE__Type_WPA2_WPA3_PSK", 7 }, | |
f956a62b | 3483 | }; |
f8683f8c | 3484 | static const ProtobufCIntRange esp_hosted_encryption_mode__value_ranges[] = { |
804b6f87 | 3485 | {0, 0},{0, 8} |
f956a62b | 3486 | }; |
f8683f8c | 3487 | static const ProtobufCEnumValueIndex esp_hosted_encryption_mode__enum_values_by_name[8] = |
f956a62b | 3488 | { |
3489 | { "Type_Open", 0 }, | |
259f9899 | 3490 | { "Type_WEP", 1 }, |
3491 | { "Type_WPA2_ENTERPRISE", 5 }, | |
3492 | { "Type_WPA2_PSK", 3 }, | |
804b6f87 | 3493 | { "Type_WPA2_WPA3_PSK", 7 }, |
3494 | { "Type_WPA3_PSK", 6 }, | |
259f9899 | 3495 | { "Type_WPA_PSK", 2 }, |
3496 | { "Type_WPA_WPA2_PSK", 4 }, | |
f956a62b | 3497 | }; |
f8683f8c | 3498 | const ProtobufCEnumDescriptor esp_hosted_encryption_mode__descriptor = |
f956a62b | 3499 | { |
3500 | PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, | |
f8683f8c | 3501 | "EspHostedEncryptionMode", |
3502 | "EspHostedEncryptionMode", | |
3503 | "EspHostedEncryptionMode", | |
f956a62b | 3504 | "", |
804b6f87 | 3505 | 8, |
f8683f8c | 3506 | esp_hosted_encryption_mode__enum_values_by_number, |
804b6f87 | 3507 | 8, |
f8683f8c | 3508 | esp_hosted_encryption_mode__enum_values_by_name, |
f956a62b | 3509 | 1, |
f8683f8c | 3510 | esp_hosted_encryption_mode__value_ranges, |
f956a62b | 3511 | NULL,NULL,NULL,NULL /* reserved[1234] */ |
3512 | }; | |
65ccf78a | 3513 | static const ProtobufCEnumValue esp_hosted_status__enum_values_by_number[4] = |
3514 | { | |
3515 | { "TYPE_CONNECTED", "ESP_HOSTED_STATUS__TYPE_CONNECTED", 0 }, | |
3516 | { "TYPE_NOT_CONNECTED", "ESP_HOSTED_STATUS__TYPE_NOT_CONNECTED", 1 }, | |
3517 | { "TYPE_NO_AP_FOUND", "ESP_HOSTED_STATUS__TYPE_NO_AP_FOUND", 2 }, | |
3518 | { "TYPE_CONNECTION_FAIL", "ESP_HOSTED_STATUS__TYPE_CONNECTION_FAIL", 3 }, | |
3519 | }; | |
3520 | static const ProtobufCIntRange esp_hosted_status__value_ranges[] = { | |
3521 | {0, 0},{0, 4} | |
3522 | }; | |
3523 | static const ProtobufCEnumValueIndex esp_hosted_status__enum_values_by_name[4] = | |
3524 | { | |
3525 | { "TYPE_CONNECTED", 0 }, | |
3526 | { "TYPE_CONNECTION_FAIL", 3 }, | |
3527 | { "TYPE_NOT_CONNECTED", 1 }, | |
3528 | { "TYPE_NO_AP_FOUND", 2 }, | |
3529 | }; | |
3530 | const ProtobufCEnumDescriptor esp_hosted_status__descriptor = | |
3531 | { | |
3532 | PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, | |
3533 | "EspHostedStatus", | |
3534 | "EspHostedStatus", | |
3535 | "EspHostedStatus", | |
3536 | "", | |
3537 | 4, | |
3538 | esp_hosted_status__enum_values_by_number, | |
3539 | 4, | |
3540 | esp_hosted_status__enum_values_by_name, | |
3541 | 1, | |
3542 | esp_hosted_status__value_ranges, | |
3543 | NULL,NULL,NULL,NULL /* reserved[1234] */ | |
3544 | }; | |
9625f63d | 3545 | static const ProtobufCEnumValue esp_hosted_vendor_ietype__enum_values_by_number[5] = |
3546 | { | |
3547 | { "VND_IE_TYPE_BEACON", "ESP_HOSTED_VENDOR_IETYPE__VND_IE_TYPE_BEACON", 0 }, | |
3548 | { "VND_IE_TYPE_PROBE_REQ", "ESP_HOSTED_VENDOR_IETYPE__VND_IE_TYPE_PROBE_REQ", 1 }, | |
3549 | { "VND_IE_TYPE_PROBE_RESP", "ESP_HOSTED_VENDOR_IETYPE__VND_IE_TYPE_PROBE_RESP", 2 }, | |
3550 | { "VND_IE_TYPE_ASSOC_REQ", "ESP_HOSTED_VENDOR_IETYPE__VND_IE_TYPE_ASSOC_REQ", 3 }, | |
3551 | { "VND_IE_TYPE_ASSOC_RESP", "ESP_HOSTED_VENDOR_IETYPE__VND_IE_TYPE_ASSOC_RESP", 4 }, | |
3552 | }; | |
3553 | static const ProtobufCIntRange esp_hosted_vendor_ietype__value_ranges[] = { | |
3554 | {0, 0},{0, 5} | |
3555 | }; | |
3556 | static const ProtobufCEnumValueIndex esp_hosted_vendor_ietype__enum_values_by_name[5] = | |
3557 | { | |
3558 | { "VND_IE_TYPE_ASSOC_REQ", 3 }, | |
3559 | { "VND_IE_TYPE_ASSOC_RESP", 4 }, | |
3560 | { "VND_IE_TYPE_BEACON", 0 }, | |
3561 | { "VND_IE_TYPE_PROBE_REQ", 1 }, | |
3562 | { "VND_IE_TYPE_PROBE_RESP", 2 }, | |
3563 | }; | |
3564 | const ProtobufCEnumDescriptor esp_hosted_vendor_ietype__descriptor = | |
3565 | { | |
3566 | PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, | |
3567 | "EspHostedVendorIEType", | |
3568 | "EspHostedVendorIEType", | |
3569 | "EspHostedVendorIEType", | |
3570 | "", | |
3571 | 5, | |
3572 | esp_hosted_vendor_ietype__enum_values_by_number, | |
3573 | 5, | |
3574 | esp_hosted_vendor_ietype__enum_values_by_name, | |
3575 | 1, | |
3576 | esp_hosted_vendor_ietype__value_ranges, | |
3577 | NULL,NULL,NULL,NULL /* reserved[1234] */ | |
3578 | }; | |
3579 | static const ProtobufCEnumValue esp_hosted_ieid__enum_values_by_number[2] = | |
3580 | { | |
3581 | { "VND_IE_ID_0", "ESP_HOSTED_IEID__VND_IE_ID_0", 0 }, | |
3582 | { "VND_IE_ID_1", "ESP_HOSTED_IEID__VND_IE_ID_1", 1 }, | |
3583 | }; | |
3584 | static const ProtobufCIntRange esp_hosted_ieid__value_ranges[] = { | |
3585 | {0, 0},{0, 2} | |
3586 | }; | |
3587 | static const ProtobufCEnumValueIndex esp_hosted_ieid__enum_values_by_name[2] = | |
3588 | { | |
3589 | { "VND_IE_ID_0", 0 }, | |
3590 | { "VND_IE_ID_1", 1 }, | |
3591 | }; | |
3592 | const ProtobufCEnumDescriptor esp_hosted_ieid__descriptor = | |
3593 | { | |
3594 | PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, | |
3595 | "EspHostedIEID", | |
3596 | "EspHostedIEID", | |
3597 | "EspHostedIEID", | |
3598 | "", | |
3599 | 2, | |
3600 | esp_hosted_ieid__enum_values_by_number, | |
3601 | 2, | |
3602 | esp_hosted_ieid__enum_values_by_name, | |
3603 | 1, | |
3604 | esp_hosted_ieid__value_ranges, | |
3605 | NULL,NULL,NULL,NULL /* reserved[1234] */ | |
3606 | }; | |
3607 | static const ProtobufCEnumValue esp_hosted_config_msg_type__enum_values_by_number[36] = | |
f2753857 | 3608 | { |
3609 | { "TypeCmdGetMACAddress", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdGetMACAddress", 0 }, | |
3610 | { "TypeRespGetMACAddress", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespGetMACAddress", 1 }, | |
3611 | { "TypeCmdGetWiFiMode", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdGetWiFiMode", 2 }, | |
3612 | { "TypeRespGetWiFiMode", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespGetWiFiMode", 3 }, | |
3613 | { "TypeCmdSetWiFiMode", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdSetWiFiMode", 4 }, | |
3614 | { "TypeRespSetWiFiMode", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespSetWiFiMode", 5 }, | |
3615 | { "TypeCmdGetAPConfig", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdGetAPConfig", 6 }, | |
3616 | { "TypeRespGetAPConfig", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespGetAPConfig", 7 }, | |
3617 | { "TypeCmdSetAPConfig", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdSetAPConfig", 8 }, | |
3618 | { "TypeRespSetAPConfig", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespSetAPConfig", 9 }, | |
3619 | { "TypeCmdGetSoftAPConfig", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdGetSoftAPConfig", 10 }, | |
3620 | { "TypeRespGetSoftAPConfig", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespGetSoftAPConfig", 11 }, | |
3621 | { "TypeCmdSetSoftAPConfig", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdSetSoftAPConfig", 12 }, | |
3622 | { "TypeRespSetSoftAPConfig", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespSetSoftAPConfig", 13 }, | |
3623 | { "TypeCmdDisconnectAP", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdDisconnectAP", 14 }, | |
3624 | { "TypeRespDisconnectAP", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespDisconnectAP", 15 }, | |
6e029e3a | 3625 | { "TypeCmdStopSoftAP", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdStopSoftAP", 16 }, |
3626 | { "TypeRespStopSoftAP", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespStopSoftAP", 17 }, | |
3627 | { "TypeCmdGetAPScanList", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdGetAPScanList", 18 }, | |
3628 | { "TypeRespGetAPScanList", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespGetAPScanList", 19 }, | |
3629 | { "TypeCmdGetConnectedSTAList", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdGetConnectedSTAList", 20 }, | |
3630 | { "TypeRespGetConnectedSTAList", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespGetConnectedSTAList", 21 }, | |
3631 | { "TypeCmdSetMacAddress", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdSetMacAddress", 22 }, | |
3632 | { "TypeRespSetMacAddress", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespSetMacAddress", 23 }, | |
3633 | { "TypeCmdSetPowerSaveMode", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdSetPowerSaveMode", 24 }, | |
3634 | { "TypeRespSetPowerSaveMode", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespSetPowerSaveMode", 25 }, | |
3635 | { "TypeCmdGetPowerSaveMode", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdGetPowerSaveMode", 26 }, | |
3636 | { "TypeRespGetPowerSaveMode", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespGetPowerSaveMode", 27 }, | |
cdd6c7dc YM |
3637 | { "TypeCmdOTABegin", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdOTABegin", 28 }, |
3638 | { "TypeRespOTABegin", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespOTABegin", 29 }, | |
3639 | { "TypeCmdOTAWrite", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdOTAWrite", 30 }, | |
3640 | { "TypeRespOTAWrite", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespOTAWrite", 31 }, | |
3641 | { "TypeCmdOTAEnd", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdOTAEnd", 32 }, | |
3642 | { "TypeRespOTAEnd", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespOTAEnd", 33 }, | |
9625f63d | 3643 | { "TypeCmdSetVendorSpecificIE", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeCmdSetVendorSpecificIE", 34 }, |
3644 | { "TypeRespSetVendorSpecificIE", "ESP_HOSTED_CONFIG_MSG_TYPE__TypeRespSetVendorSpecificIE", 35 }, | |
f956a62b | 3645 | }; |
f2753857 | 3646 | static const ProtobufCIntRange esp_hosted_config_msg_type__value_ranges[] = { |
9625f63d | 3647 | {0, 0},{0, 36} |
f956a62b | 3648 | }; |
9625f63d | 3649 | static const ProtobufCEnumValueIndex esp_hosted_config_msg_type__enum_values_by_name[36] = |
f956a62b | 3650 | { |
3651 | { "TypeCmdDisconnectAP", 14 }, | |
3652 | { "TypeCmdGetAPConfig", 6 }, | |
6e029e3a | 3653 | { "TypeCmdGetAPScanList", 18 }, |
3654 | { "TypeCmdGetConnectedSTAList", 20 }, | |
f956a62b | 3655 | { "TypeCmdGetMACAddress", 0 }, |
6e029e3a | 3656 | { "TypeCmdGetPowerSaveMode", 26 }, |
f956a62b | 3657 | { "TypeCmdGetSoftAPConfig", 10 }, |
3658 | { "TypeCmdGetWiFiMode", 2 }, | |
cdd6c7dc YM |
3659 | { "TypeCmdOTABegin", 28 }, |
3660 | { "TypeCmdOTAEnd", 32 }, | |
3661 | { "TypeCmdOTAWrite", 30 }, | |
f956a62b | 3662 | { "TypeCmdSetAPConfig", 8 }, |
6e029e3a | 3663 | { "TypeCmdSetMacAddress", 22 }, |
3664 | { "TypeCmdSetPowerSaveMode", 24 }, | |
f956a62b | 3665 | { "TypeCmdSetSoftAPConfig", 12 }, |
9625f63d | 3666 | { "TypeCmdSetVendorSpecificIE", 34 }, |
f956a62b | 3667 | { "TypeCmdSetWiFiMode", 4 }, |
6e029e3a | 3668 | { "TypeCmdStopSoftAP", 16 }, |
f956a62b | 3669 | { "TypeRespDisconnectAP", 15 }, |
3670 | { "TypeRespGetAPConfig", 7 }, | |
6e029e3a | 3671 | { "TypeRespGetAPScanList", 19 }, |
3672 | { "TypeRespGetConnectedSTAList", 21 }, | |
f956a62b | 3673 | { "TypeRespGetMACAddress", 1 }, |
6e029e3a | 3674 | { "TypeRespGetPowerSaveMode", 27 }, |
f956a62b | 3675 | { "TypeRespGetSoftAPConfig", 11 }, |
3676 | { "TypeRespGetWiFiMode", 3 }, | |
cdd6c7dc YM |
3677 | { "TypeRespOTABegin", 29 }, |
3678 | { "TypeRespOTAEnd", 33 }, | |
3679 | { "TypeRespOTAWrite", 31 }, | |
f956a62b | 3680 | { "TypeRespSetAPConfig", 9 }, |
6e029e3a | 3681 | { "TypeRespSetMacAddress", 23 }, |
3682 | { "TypeRespSetPowerSaveMode", 25 }, | |
f956a62b | 3683 | { "TypeRespSetSoftAPConfig", 13 }, |
9625f63d | 3684 | { "TypeRespSetVendorSpecificIE", 35 }, |
f956a62b | 3685 | { "TypeRespSetWiFiMode", 5 }, |
6e029e3a | 3686 | { "TypeRespStopSoftAP", 17 }, |
f956a62b | 3687 | }; |
f2753857 | 3688 | const ProtobufCEnumDescriptor esp_hosted_config_msg_type__descriptor = |
f956a62b | 3689 | { |
3690 | PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, | |
f2753857 | 3691 | "EspHostedConfigMsgType", |
3692 | "EspHostedConfigMsgType", | |
3693 | "EspHostedConfigMsgType", | |
f956a62b | 3694 | "", |
9625f63d | 3695 | 36, |
f2753857 | 3696 | esp_hosted_config_msg_type__enum_values_by_number, |
9625f63d | 3697 | 36, |
f2753857 | 3698 | esp_hosted_config_msg_type__enum_values_by_name, |
f956a62b | 3699 | 1, |
f2753857 | 3700 | esp_hosted_config_msg_type__value_ranges, |
f956a62b | 3701 | NULL,NULL,NULL,NULL /* reserved[1234] */ |
3702 | }; |