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