/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: esp_hosted_config.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "esp_hosted_config.pb-c.h" void scan_result__init (ScanResult *message) { static const ScanResult init_value = SCAN_RESULT__INIT; *message = init_value; } size_t scan_result__get_packed_size (const ScanResult *message) { assert(message->base.descriptor == &scan_result__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t scan_result__pack (const ScanResult *message, uint8_t *out) { assert(message->base.descriptor == &scan_result__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t scan_result__pack_to_buffer (const ScanResult *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &scan_result__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } ScanResult * scan_result__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (ScanResult *) protobuf_c_message_unpack (&scan_result__descriptor, allocator, len, data); } void scan_result__free_unpacked (ScanResult *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &scan_result__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void connected_stalist__init (ConnectedSTAList *message) { static const ConnectedSTAList init_value = CONNECTED_STALIST__INIT; *message = init_value; } size_t connected_stalist__get_packed_size (const ConnectedSTAList *message) { assert(message->base.descriptor == &connected_stalist__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t connected_stalist__pack (const ConnectedSTAList *message, uint8_t *out) { assert(message->base.descriptor == &connected_stalist__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t connected_stalist__pack_to_buffer (const ConnectedSTAList *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &connected_stalist__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } ConnectedSTAList * connected_stalist__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (ConnectedSTAList *) protobuf_c_message_unpack (&connected_stalist__descriptor, allocator, len, data); } void connected_stalist__free_unpacked (ConnectedSTAList *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &connected_stalist__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__get_mac_address__init (CtrlMsgReqGetMacAddress *message) { static const CtrlMsgReqGetMacAddress init_value = CTRL_MSG__REQ__GET_MAC_ADDRESS__INIT; *message = init_value; } size_t ctrl_msg__req__get_mac_address__get_packed_size (const CtrlMsgReqGetMacAddress *message) { assert(message->base.descriptor == &ctrl_msg__req__get_mac_address__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__get_mac_address__pack (const CtrlMsgReqGetMacAddress *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__get_mac_address__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__get_mac_address__pack_to_buffer (const CtrlMsgReqGetMacAddress *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__get_mac_address__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqGetMacAddress * ctrl_msg__req__get_mac_address__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqGetMacAddress *) protobuf_c_message_unpack (&ctrl_msg__req__get_mac_address__descriptor, allocator, len, data); } void ctrl_msg__req__get_mac_address__free_unpacked (CtrlMsgReqGetMacAddress *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__get_mac_address__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__get_mac_address__init (CtrlMsgRespGetMacAddress *message) { static const CtrlMsgRespGetMacAddress init_value = CTRL_MSG__RESP__GET_MAC_ADDRESS__INIT; *message = init_value; } size_t ctrl_msg__resp__get_mac_address__get_packed_size (const CtrlMsgRespGetMacAddress *message) { assert(message->base.descriptor == &ctrl_msg__resp__get_mac_address__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__get_mac_address__pack (const CtrlMsgRespGetMacAddress *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__get_mac_address__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__get_mac_address__pack_to_buffer (const CtrlMsgRespGetMacAddress *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__get_mac_address__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespGetMacAddress * ctrl_msg__resp__get_mac_address__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespGetMacAddress *) protobuf_c_message_unpack (&ctrl_msg__resp__get_mac_address__descriptor, allocator, len, data); } void ctrl_msg__resp__get_mac_address__free_unpacked (CtrlMsgRespGetMacAddress *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__get_mac_address__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__get_mode__init (CtrlMsgReqGetMode *message) { static const CtrlMsgReqGetMode init_value = CTRL_MSG__REQ__GET_MODE__INIT; *message = init_value; } size_t ctrl_msg__req__get_mode__get_packed_size (const CtrlMsgReqGetMode *message) { assert(message->base.descriptor == &ctrl_msg__req__get_mode__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__get_mode__pack (const CtrlMsgReqGetMode *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__get_mode__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__get_mode__pack_to_buffer (const CtrlMsgReqGetMode *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__get_mode__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqGetMode * ctrl_msg__req__get_mode__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqGetMode *) protobuf_c_message_unpack (&ctrl_msg__req__get_mode__descriptor, allocator, len, data); } void ctrl_msg__req__get_mode__free_unpacked (CtrlMsgReqGetMode *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__get_mode__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__get_mode__init (CtrlMsgRespGetMode *message) { static const CtrlMsgRespGetMode init_value = CTRL_MSG__RESP__GET_MODE__INIT; *message = init_value; } size_t ctrl_msg__resp__get_mode__get_packed_size (const CtrlMsgRespGetMode *message) { assert(message->base.descriptor == &ctrl_msg__resp__get_mode__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__get_mode__pack (const CtrlMsgRespGetMode *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__get_mode__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__get_mode__pack_to_buffer (const CtrlMsgRespGetMode *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__get_mode__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespGetMode * ctrl_msg__resp__get_mode__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespGetMode *) protobuf_c_message_unpack (&ctrl_msg__resp__get_mode__descriptor, allocator, len, data); } void ctrl_msg__resp__get_mode__free_unpacked (CtrlMsgRespGetMode *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__get_mode__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__set_mode__init (CtrlMsgReqSetMode *message) { static const CtrlMsgReqSetMode init_value = CTRL_MSG__REQ__SET_MODE__INIT; *message = init_value; } size_t ctrl_msg__req__set_mode__get_packed_size (const CtrlMsgReqSetMode *message) { assert(message->base.descriptor == &ctrl_msg__req__set_mode__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__set_mode__pack (const CtrlMsgReqSetMode *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__set_mode__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__set_mode__pack_to_buffer (const CtrlMsgReqSetMode *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__set_mode__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqSetMode * ctrl_msg__req__set_mode__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqSetMode *) protobuf_c_message_unpack (&ctrl_msg__req__set_mode__descriptor, allocator, len, data); } void ctrl_msg__req__set_mode__free_unpacked (CtrlMsgReqSetMode *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__set_mode__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__set_mode__init (CtrlMsgRespSetMode *message) { static const CtrlMsgRespSetMode init_value = CTRL_MSG__RESP__SET_MODE__INIT; *message = init_value; } size_t ctrl_msg__resp__set_mode__get_packed_size (const CtrlMsgRespSetMode *message) { assert(message->base.descriptor == &ctrl_msg__resp__set_mode__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__set_mode__pack (const CtrlMsgRespSetMode *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__set_mode__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__set_mode__pack_to_buffer (const CtrlMsgRespSetMode *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__set_mode__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespSetMode * ctrl_msg__resp__set_mode__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespSetMode *) protobuf_c_message_unpack (&ctrl_msg__resp__set_mode__descriptor, allocator, len, data); } void ctrl_msg__resp__set_mode__free_unpacked (CtrlMsgRespSetMode *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__set_mode__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__get_status__init (CtrlMsgReqGetStatus *message) { static const CtrlMsgReqGetStatus init_value = CTRL_MSG__REQ__GET_STATUS__INIT; *message = init_value; } size_t ctrl_msg__req__get_status__get_packed_size (const CtrlMsgReqGetStatus *message) { assert(message->base.descriptor == &ctrl_msg__req__get_status__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__get_status__pack (const CtrlMsgReqGetStatus *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__get_status__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__get_status__pack_to_buffer (const CtrlMsgReqGetStatus *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__get_status__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqGetStatus * ctrl_msg__req__get_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqGetStatus *) protobuf_c_message_unpack (&ctrl_msg__req__get_status__descriptor, allocator, len, data); } void ctrl_msg__req__get_status__free_unpacked (CtrlMsgReqGetStatus *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__get_status__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__get_status__init (CtrlMsgRespGetStatus *message) { static const CtrlMsgRespGetStatus init_value = CTRL_MSG__RESP__GET_STATUS__INIT; *message = init_value; } size_t ctrl_msg__resp__get_status__get_packed_size (const CtrlMsgRespGetStatus *message) { assert(message->base.descriptor == &ctrl_msg__resp__get_status__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__get_status__pack (const CtrlMsgRespGetStatus *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__get_status__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__get_status__pack_to_buffer (const CtrlMsgRespGetStatus *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__get_status__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespGetStatus * ctrl_msg__resp__get_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespGetStatus *) protobuf_c_message_unpack (&ctrl_msg__resp__get_status__descriptor, allocator, len, data); } void ctrl_msg__resp__get_status__free_unpacked (CtrlMsgRespGetStatus *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__get_status__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__set_mac_address__init (CtrlMsgReqSetMacAddress *message) { static const CtrlMsgReqSetMacAddress init_value = CTRL_MSG__REQ__SET_MAC_ADDRESS__INIT; *message = init_value; } size_t ctrl_msg__req__set_mac_address__get_packed_size (const CtrlMsgReqSetMacAddress *message) { assert(message->base.descriptor == &ctrl_msg__req__set_mac_address__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__set_mac_address__pack (const CtrlMsgReqSetMacAddress *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__set_mac_address__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__set_mac_address__pack_to_buffer (const CtrlMsgReqSetMacAddress *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__set_mac_address__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqSetMacAddress * ctrl_msg__req__set_mac_address__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqSetMacAddress *) protobuf_c_message_unpack (&ctrl_msg__req__set_mac_address__descriptor, allocator, len, data); } void ctrl_msg__req__set_mac_address__free_unpacked (CtrlMsgReqSetMacAddress *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__set_mac_address__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__set_mac_address__init (CtrlMsgRespSetMacAddress *message) { static const CtrlMsgRespSetMacAddress init_value = CTRL_MSG__RESP__SET_MAC_ADDRESS__INIT; *message = init_value; } size_t ctrl_msg__resp__set_mac_address__get_packed_size (const CtrlMsgRespSetMacAddress *message) { assert(message->base.descriptor == &ctrl_msg__resp__set_mac_address__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__set_mac_address__pack (const CtrlMsgRespSetMacAddress *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__set_mac_address__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__set_mac_address__pack_to_buffer (const CtrlMsgRespSetMacAddress *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__set_mac_address__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespSetMacAddress * ctrl_msg__resp__set_mac_address__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespSetMacAddress *) protobuf_c_message_unpack (&ctrl_msg__resp__set_mac_address__descriptor, allocator, len, data); } void ctrl_msg__resp__set_mac_address__free_unpacked (CtrlMsgRespSetMacAddress *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__set_mac_address__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__get_apconfig__init (CtrlMsgReqGetAPConfig *message) { static const CtrlMsgReqGetAPConfig init_value = CTRL_MSG__REQ__GET_APCONFIG__INIT; *message = init_value; } size_t ctrl_msg__req__get_apconfig__get_packed_size (const CtrlMsgReqGetAPConfig *message) { assert(message->base.descriptor == &ctrl_msg__req__get_apconfig__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__get_apconfig__pack (const CtrlMsgReqGetAPConfig *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__get_apconfig__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__get_apconfig__pack_to_buffer (const CtrlMsgReqGetAPConfig *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__get_apconfig__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqGetAPConfig * ctrl_msg__req__get_apconfig__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqGetAPConfig *) protobuf_c_message_unpack (&ctrl_msg__req__get_apconfig__descriptor, allocator, len, data); } void ctrl_msg__req__get_apconfig__free_unpacked (CtrlMsgReqGetAPConfig *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__get_apconfig__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__get_apconfig__init (CtrlMsgRespGetAPConfig *message) { static const CtrlMsgRespGetAPConfig init_value = CTRL_MSG__RESP__GET_APCONFIG__INIT; *message = init_value; } size_t ctrl_msg__resp__get_apconfig__get_packed_size (const CtrlMsgRespGetAPConfig *message) { assert(message->base.descriptor == &ctrl_msg__resp__get_apconfig__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__get_apconfig__pack (const CtrlMsgRespGetAPConfig *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__get_apconfig__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__get_apconfig__pack_to_buffer (const CtrlMsgRespGetAPConfig *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__get_apconfig__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespGetAPConfig * ctrl_msg__resp__get_apconfig__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespGetAPConfig *) protobuf_c_message_unpack (&ctrl_msg__resp__get_apconfig__descriptor, allocator, len, data); } void ctrl_msg__resp__get_apconfig__free_unpacked (CtrlMsgRespGetAPConfig *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__get_apconfig__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__connect_ap__init (CtrlMsgReqConnectAP *message) { static const CtrlMsgReqConnectAP init_value = CTRL_MSG__REQ__CONNECT_AP__INIT; *message = init_value; } size_t ctrl_msg__req__connect_ap__get_packed_size (const CtrlMsgReqConnectAP *message) { assert(message->base.descriptor == &ctrl_msg__req__connect_ap__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__connect_ap__pack (const CtrlMsgReqConnectAP *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__connect_ap__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__connect_ap__pack_to_buffer (const CtrlMsgReqConnectAP *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__connect_ap__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqConnectAP * ctrl_msg__req__connect_ap__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqConnectAP *) protobuf_c_message_unpack (&ctrl_msg__req__connect_ap__descriptor, allocator, len, data); } void ctrl_msg__req__connect_ap__free_unpacked (CtrlMsgReqConnectAP *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__connect_ap__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__connect_ap__init (CtrlMsgRespConnectAP *message) { static const CtrlMsgRespConnectAP init_value = CTRL_MSG__RESP__CONNECT_AP__INIT; *message = init_value; } size_t ctrl_msg__resp__connect_ap__get_packed_size (const CtrlMsgRespConnectAP *message) { assert(message->base.descriptor == &ctrl_msg__resp__connect_ap__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__connect_ap__pack (const CtrlMsgRespConnectAP *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__connect_ap__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__connect_ap__pack_to_buffer (const CtrlMsgRespConnectAP *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__connect_ap__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespConnectAP * ctrl_msg__resp__connect_ap__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespConnectAP *) protobuf_c_message_unpack (&ctrl_msg__resp__connect_ap__descriptor, allocator, len, data); } void ctrl_msg__resp__connect_ap__free_unpacked (CtrlMsgRespConnectAP *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__connect_ap__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__get_soft_apconfig__init (CtrlMsgReqGetSoftAPConfig *message) { static const CtrlMsgReqGetSoftAPConfig init_value = CTRL_MSG__REQ__GET_SOFT_APCONFIG__INIT; *message = init_value; } size_t ctrl_msg__req__get_soft_apconfig__get_packed_size (const CtrlMsgReqGetSoftAPConfig *message) { assert(message->base.descriptor == &ctrl_msg__req__get_soft_apconfig__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__get_soft_apconfig__pack (const CtrlMsgReqGetSoftAPConfig *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__get_soft_apconfig__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__get_soft_apconfig__pack_to_buffer (const CtrlMsgReqGetSoftAPConfig *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__get_soft_apconfig__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqGetSoftAPConfig * ctrl_msg__req__get_soft_apconfig__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqGetSoftAPConfig *) protobuf_c_message_unpack (&ctrl_msg__req__get_soft_apconfig__descriptor, allocator, len, data); } void ctrl_msg__req__get_soft_apconfig__free_unpacked (CtrlMsgReqGetSoftAPConfig *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__get_soft_apconfig__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__get_soft_apconfig__init (CtrlMsgRespGetSoftAPConfig *message) { static const CtrlMsgRespGetSoftAPConfig init_value = CTRL_MSG__RESP__GET_SOFT_APCONFIG__INIT; *message = init_value; } size_t ctrl_msg__resp__get_soft_apconfig__get_packed_size (const CtrlMsgRespGetSoftAPConfig *message) { assert(message->base.descriptor == &ctrl_msg__resp__get_soft_apconfig__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__get_soft_apconfig__pack (const CtrlMsgRespGetSoftAPConfig *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__get_soft_apconfig__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__get_soft_apconfig__pack_to_buffer (const CtrlMsgRespGetSoftAPConfig *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__get_soft_apconfig__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespGetSoftAPConfig * ctrl_msg__resp__get_soft_apconfig__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespGetSoftAPConfig *) protobuf_c_message_unpack (&ctrl_msg__resp__get_soft_apconfig__descriptor, allocator, len, data); } void ctrl_msg__resp__get_soft_apconfig__free_unpacked (CtrlMsgRespGetSoftAPConfig *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__get_soft_apconfig__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__start_soft_ap__init (CtrlMsgReqStartSoftAP *message) { static const CtrlMsgReqStartSoftAP init_value = CTRL_MSG__REQ__START_SOFT_AP__INIT; *message = init_value; } size_t ctrl_msg__req__start_soft_ap__get_packed_size (const CtrlMsgReqStartSoftAP *message) { assert(message->base.descriptor == &ctrl_msg__req__start_soft_ap__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__start_soft_ap__pack (const CtrlMsgReqStartSoftAP *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__start_soft_ap__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__start_soft_ap__pack_to_buffer (const CtrlMsgReqStartSoftAP *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__start_soft_ap__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqStartSoftAP * ctrl_msg__req__start_soft_ap__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqStartSoftAP *) protobuf_c_message_unpack (&ctrl_msg__req__start_soft_ap__descriptor, allocator, len, data); } void ctrl_msg__req__start_soft_ap__free_unpacked (CtrlMsgReqStartSoftAP *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__start_soft_ap__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__start_soft_ap__init (CtrlMsgRespStartSoftAP *message) { static const CtrlMsgRespStartSoftAP init_value = CTRL_MSG__RESP__START_SOFT_AP__INIT; *message = init_value; } size_t ctrl_msg__resp__start_soft_ap__get_packed_size (const CtrlMsgRespStartSoftAP *message) { assert(message->base.descriptor == &ctrl_msg__resp__start_soft_ap__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__start_soft_ap__pack (const CtrlMsgRespStartSoftAP *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__start_soft_ap__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__start_soft_ap__pack_to_buffer (const CtrlMsgRespStartSoftAP *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__start_soft_ap__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespStartSoftAP * ctrl_msg__resp__start_soft_ap__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespStartSoftAP *) protobuf_c_message_unpack (&ctrl_msg__resp__start_soft_ap__descriptor, allocator, len, data); } void ctrl_msg__resp__start_soft_ap__free_unpacked (CtrlMsgRespStartSoftAP *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__start_soft_ap__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__scan_result__init (CtrlMsgReqScanResult *message) { static const CtrlMsgReqScanResult init_value = CTRL_MSG__REQ__SCAN_RESULT__INIT; *message = init_value; } size_t ctrl_msg__req__scan_result__get_packed_size (const CtrlMsgReqScanResult *message) { assert(message->base.descriptor == &ctrl_msg__req__scan_result__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__scan_result__pack (const CtrlMsgReqScanResult *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__scan_result__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__scan_result__pack_to_buffer (const CtrlMsgReqScanResult *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__scan_result__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqScanResult * ctrl_msg__req__scan_result__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqScanResult *) protobuf_c_message_unpack (&ctrl_msg__req__scan_result__descriptor, allocator, len, data); } void ctrl_msg__req__scan_result__free_unpacked (CtrlMsgReqScanResult *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__scan_result__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__scan_result__init (CtrlMsgRespScanResult *message) { static const CtrlMsgRespScanResult init_value = CTRL_MSG__RESP__SCAN_RESULT__INIT; *message = init_value; } size_t ctrl_msg__resp__scan_result__get_packed_size (const CtrlMsgRespScanResult *message) { assert(message->base.descriptor == &ctrl_msg__resp__scan_result__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__scan_result__pack (const CtrlMsgRespScanResult *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__scan_result__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__scan_result__pack_to_buffer (const CtrlMsgRespScanResult *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__scan_result__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespScanResult * ctrl_msg__resp__scan_result__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespScanResult *) protobuf_c_message_unpack (&ctrl_msg__resp__scan_result__descriptor, allocator, len, data); } void ctrl_msg__resp__scan_result__free_unpacked (CtrlMsgRespScanResult *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__scan_result__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__soft_apconnected_sta__init (CtrlMsgReqSoftAPConnectedSTA *message) { static const CtrlMsgReqSoftAPConnectedSTA init_value = CTRL_MSG__REQ__SOFT_APCONNECTED_STA__INIT; *message = init_value; } size_t ctrl_msg__req__soft_apconnected_sta__get_packed_size (const CtrlMsgReqSoftAPConnectedSTA *message) { assert(message->base.descriptor == &ctrl_msg__req__soft_apconnected_sta__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__soft_apconnected_sta__pack (const CtrlMsgReqSoftAPConnectedSTA *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__soft_apconnected_sta__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__soft_apconnected_sta__pack_to_buffer (const CtrlMsgReqSoftAPConnectedSTA *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__soft_apconnected_sta__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqSoftAPConnectedSTA * ctrl_msg__req__soft_apconnected_sta__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqSoftAPConnectedSTA *) protobuf_c_message_unpack (&ctrl_msg__req__soft_apconnected_sta__descriptor, allocator, len, data); } void ctrl_msg__req__soft_apconnected_sta__free_unpacked (CtrlMsgReqSoftAPConnectedSTA *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__soft_apconnected_sta__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__soft_apconnected_sta__init (CtrlMsgRespSoftAPConnectedSTA *message) { static const CtrlMsgRespSoftAPConnectedSTA init_value = CTRL_MSG__RESP__SOFT_APCONNECTED_STA__INIT; *message = init_value; } size_t ctrl_msg__resp__soft_apconnected_sta__get_packed_size (const CtrlMsgRespSoftAPConnectedSTA *message) { assert(message->base.descriptor == &ctrl_msg__resp__soft_apconnected_sta__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__soft_apconnected_sta__pack (const CtrlMsgRespSoftAPConnectedSTA *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__soft_apconnected_sta__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__soft_apconnected_sta__pack_to_buffer (const CtrlMsgRespSoftAPConnectedSTA *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__soft_apconnected_sta__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespSoftAPConnectedSTA * ctrl_msg__resp__soft_apconnected_sta__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespSoftAPConnectedSTA *) protobuf_c_message_unpack (&ctrl_msg__resp__soft_apconnected_sta__descriptor, allocator, len, data); } void ctrl_msg__resp__soft_apconnected_sta__free_unpacked (CtrlMsgRespSoftAPConnectedSTA *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__soft_apconnected_sta__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__otabegin__init (CtrlMsgReqOTABegin *message) { static const CtrlMsgReqOTABegin init_value = CTRL_MSG__REQ__OTABEGIN__INIT; *message = init_value; } size_t ctrl_msg__req__otabegin__get_packed_size (const CtrlMsgReqOTABegin *message) { assert(message->base.descriptor == &ctrl_msg__req__otabegin__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__otabegin__pack (const CtrlMsgReqOTABegin *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__otabegin__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__otabegin__pack_to_buffer (const CtrlMsgReqOTABegin *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__otabegin__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqOTABegin * ctrl_msg__req__otabegin__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqOTABegin *) protobuf_c_message_unpack (&ctrl_msg__req__otabegin__descriptor, allocator, len, data); } void ctrl_msg__req__otabegin__free_unpacked (CtrlMsgReqOTABegin *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__otabegin__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__otabegin__init (CtrlMsgRespOTABegin *message) { static const CtrlMsgRespOTABegin init_value = CTRL_MSG__RESP__OTABEGIN__INIT; *message = init_value; } size_t ctrl_msg__resp__otabegin__get_packed_size (const CtrlMsgRespOTABegin *message) { assert(message->base.descriptor == &ctrl_msg__resp__otabegin__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__otabegin__pack (const CtrlMsgRespOTABegin *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__otabegin__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__otabegin__pack_to_buffer (const CtrlMsgRespOTABegin *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__otabegin__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespOTABegin * ctrl_msg__resp__otabegin__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespOTABegin *) protobuf_c_message_unpack (&ctrl_msg__resp__otabegin__descriptor, allocator, len, data); } void ctrl_msg__resp__otabegin__free_unpacked (CtrlMsgRespOTABegin *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__otabegin__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__otawrite__init (CtrlMsgReqOTAWrite *message) { static const CtrlMsgReqOTAWrite init_value = CTRL_MSG__REQ__OTAWRITE__INIT; *message = init_value; } size_t ctrl_msg__req__otawrite__get_packed_size (const CtrlMsgReqOTAWrite *message) { assert(message->base.descriptor == &ctrl_msg__req__otawrite__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__otawrite__pack (const CtrlMsgReqOTAWrite *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__otawrite__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__otawrite__pack_to_buffer (const CtrlMsgReqOTAWrite *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__otawrite__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqOTAWrite * ctrl_msg__req__otawrite__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqOTAWrite *) protobuf_c_message_unpack (&ctrl_msg__req__otawrite__descriptor, allocator, len, data); } void ctrl_msg__req__otawrite__free_unpacked (CtrlMsgReqOTAWrite *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__otawrite__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__otawrite__init (CtrlMsgRespOTAWrite *message) { static const CtrlMsgRespOTAWrite init_value = CTRL_MSG__RESP__OTAWRITE__INIT; *message = init_value; } size_t ctrl_msg__resp__otawrite__get_packed_size (const CtrlMsgRespOTAWrite *message) { assert(message->base.descriptor == &ctrl_msg__resp__otawrite__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__otawrite__pack (const CtrlMsgRespOTAWrite *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__otawrite__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__otawrite__pack_to_buffer (const CtrlMsgRespOTAWrite *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__otawrite__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespOTAWrite * ctrl_msg__resp__otawrite__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespOTAWrite *) protobuf_c_message_unpack (&ctrl_msg__resp__otawrite__descriptor, allocator, len, data); } void ctrl_msg__resp__otawrite__free_unpacked (CtrlMsgRespOTAWrite *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__otawrite__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__otaend__init (CtrlMsgReqOTAEnd *message) { static const CtrlMsgReqOTAEnd init_value = CTRL_MSG__REQ__OTAEND__INIT; *message = init_value; } size_t ctrl_msg__req__otaend__get_packed_size (const CtrlMsgReqOTAEnd *message) { assert(message->base.descriptor == &ctrl_msg__req__otaend__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__otaend__pack (const CtrlMsgReqOTAEnd *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__otaend__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__otaend__pack_to_buffer (const CtrlMsgReqOTAEnd *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__otaend__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqOTAEnd * ctrl_msg__req__otaend__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqOTAEnd *) protobuf_c_message_unpack (&ctrl_msg__req__otaend__descriptor, allocator, len, data); } void ctrl_msg__req__otaend__free_unpacked (CtrlMsgReqOTAEnd *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__otaend__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__otaend__init (CtrlMsgRespOTAEnd *message) { static const CtrlMsgRespOTAEnd init_value = CTRL_MSG__RESP__OTAEND__INIT; *message = init_value; } size_t ctrl_msg__resp__otaend__get_packed_size (const CtrlMsgRespOTAEnd *message) { assert(message->base.descriptor == &ctrl_msg__resp__otaend__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__otaend__pack (const CtrlMsgRespOTAEnd *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__otaend__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__otaend__pack_to_buffer (const CtrlMsgRespOTAEnd *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__otaend__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespOTAEnd * ctrl_msg__resp__otaend__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespOTAEnd *) protobuf_c_message_unpack (&ctrl_msg__resp__otaend__descriptor, allocator, len, data); } void ctrl_msg__resp__otaend__free_unpacked (CtrlMsgRespOTAEnd *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__otaend__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__vendor_iedata__init (CtrlMsgReqVendorIEData *message) { static const CtrlMsgReqVendorIEData init_value = CTRL_MSG__REQ__VENDOR_IEDATA__INIT; *message = init_value; } size_t ctrl_msg__req__vendor_iedata__get_packed_size (const CtrlMsgReqVendorIEData *message) { assert(message->base.descriptor == &ctrl_msg__req__vendor_iedata__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__vendor_iedata__pack (const CtrlMsgReqVendorIEData *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__vendor_iedata__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__vendor_iedata__pack_to_buffer (const CtrlMsgReqVendorIEData *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__vendor_iedata__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqVendorIEData * ctrl_msg__req__vendor_iedata__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqVendorIEData *) protobuf_c_message_unpack (&ctrl_msg__req__vendor_iedata__descriptor, allocator, len, data); } void ctrl_msg__req__vendor_iedata__free_unpacked (CtrlMsgReqVendorIEData *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__vendor_iedata__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__set_soft_apvendor_specific_ie__init (CtrlMsgReqSetSoftAPVendorSpecificIE *message) { static const CtrlMsgReqSetSoftAPVendorSpecificIE init_value = CTRL_MSG__REQ__SET_SOFT_APVENDOR_SPECIFIC_IE__INIT; *message = init_value; } size_t ctrl_msg__req__set_soft_apvendor_specific_ie__get_packed_size (const CtrlMsgReqSetSoftAPVendorSpecificIE *message) { assert(message->base.descriptor == &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__set_soft_apvendor_specific_ie__pack (const CtrlMsgReqSetSoftAPVendorSpecificIE *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__set_soft_apvendor_specific_ie__pack_to_buffer (const CtrlMsgReqSetSoftAPVendorSpecificIE *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqSetSoftAPVendorSpecificIE * ctrl_msg__req__set_soft_apvendor_specific_ie__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqSetSoftAPVendorSpecificIE *) protobuf_c_message_unpack (&ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor, allocator, len, data); } void ctrl_msg__req__set_soft_apvendor_specific_ie__free_unpacked (CtrlMsgReqSetSoftAPVendorSpecificIE *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__set_soft_apvendor_specific_ie__init (CtrlMsgRespSetSoftAPVendorSpecificIE *message) { static const CtrlMsgRespSetSoftAPVendorSpecificIE init_value = CTRL_MSG__RESP__SET_SOFT_APVENDOR_SPECIFIC_IE__INIT; *message = init_value; } size_t ctrl_msg__resp__set_soft_apvendor_specific_ie__get_packed_size (const CtrlMsgRespSetSoftAPVendorSpecificIE *message) { assert(message->base.descriptor == &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__set_soft_apvendor_specific_ie__pack (const CtrlMsgRespSetSoftAPVendorSpecificIE *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__set_soft_apvendor_specific_ie__pack_to_buffer (const CtrlMsgRespSetSoftAPVendorSpecificIE *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespSetSoftAPVendorSpecificIE * ctrl_msg__resp__set_soft_apvendor_specific_ie__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespSetSoftAPVendorSpecificIE *) protobuf_c_message_unpack (&ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor, allocator, len, data); } void ctrl_msg__resp__set_soft_apvendor_specific_ie__free_unpacked (CtrlMsgRespSetSoftAPVendorSpecificIE *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__set_wifi_max_tx_power__init (CtrlMsgReqSetWifiMaxTxPower *message) { static const CtrlMsgReqSetWifiMaxTxPower init_value = CTRL_MSG__REQ__SET_WIFI_MAX_TX_POWER__INIT; *message = init_value; } size_t ctrl_msg__req__set_wifi_max_tx_power__get_packed_size (const CtrlMsgReqSetWifiMaxTxPower *message) { assert(message->base.descriptor == &ctrl_msg__req__set_wifi_max_tx_power__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__set_wifi_max_tx_power__pack (const CtrlMsgReqSetWifiMaxTxPower *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__set_wifi_max_tx_power__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__set_wifi_max_tx_power__pack_to_buffer (const CtrlMsgReqSetWifiMaxTxPower *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__set_wifi_max_tx_power__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqSetWifiMaxTxPower * ctrl_msg__req__set_wifi_max_tx_power__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqSetWifiMaxTxPower *) protobuf_c_message_unpack (&ctrl_msg__req__set_wifi_max_tx_power__descriptor, allocator, len, data); } void ctrl_msg__req__set_wifi_max_tx_power__free_unpacked (CtrlMsgReqSetWifiMaxTxPower *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__set_wifi_max_tx_power__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__set_wifi_max_tx_power__init (CtrlMsgRespSetWifiMaxTxPower *message) { static const CtrlMsgRespSetWifiMaxTxPower init_value = CTRL_MSG__RESP__SET_WIFI_MAX_TX_POWER__INIT; *message = init_value; } size_t ctrl_msg__resp__set_wifi_max_tx_power__get_packed_size (const CtrlMsgRespSetWifiMaxTxPower *message) { assert(message->base.descriptor == &ctrl_msg__resp__set_wifi_max_tx_power__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__set_wifi_max_tx_power__pack (const CtrlMsgRespSetWifiMaxTxPower *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__set_wifi_max_tx_power__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__set_wifi_max_tx_power__pack_to_buffer (const CtrlMsgRespSetWifiMaxTxPower *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__set_wifi_max_tx_power__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespSetWifiMaxTxPower * ctrl_msg__resp__set_wifi_max_tx_power__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespSetWifiMaxTxPower *) protobuf_c_message_unpack (&ctrl_msg__resp__set_wifi_max_tx_power__descriptor, allocator, len, data); } void ctrl_msg__resp__set_wifi_max_tx_power__free_unpacked (CtrlMsgRespSetWifiMaxTxPower *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__set_wifi_max_tx_power__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__get_wifi_curr_tx_power__init (CtrlMsgReqGetWifiCurrTxPower *message) { static const CtrlMsgReqGetWifiCurrTxPower init_value = CTRL_MSG__REQ__GET_WIFI_CURR_TX_POWER__INIT; *message = init_value; } size_t ctrl_msg__req__get_wifi_curr_tx_power__get_packed_size (const CtrlMsgReqGetWifiCurrTxPower *message) { assert(message->base.descriptor == &ctrl_msg__req__get_wifi_curr_tx_power__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__get_wifi_curr_tx_power__pack (const CtrlMsgReqGetWifiCurrTxPower *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__get_wifi_curr_tx_power__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__get_wifi_curr_tx_power__pack_to_buffer (const CtrlMsgReqGetWifiCurrTxPower *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__get_wifi_curr_tx_power__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqGetWifiCurrTxPower * ctrl_msg__req__get_wifi_curr_tx_power__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqGetWifiCurrTxPower *) protobuf_c_message_unpack (&ctrl_msg__req__get_wifi_curr_tx_power__descriptor, allocator, len, data); } void ctrl_msg__req__get_wifi_curr_tx_power__free_unpacked (CtrlMsgReqGetWifiCurrTxPower *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__get_wifi_curr_tx_power__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__get_wifi_curr_tx_power__init (CtrlMsgRespGetWifiCurrTxPower *message) { static const CtrlMsgRespGetWifiCurrTxPower init_value = CTRL_MSG__RESP__GET_WIFI_CURR_TX_POWER__INIT; *message = init_value; } size_t ctrl_msg__resp__get_wifi_curr_tx_power__get_packed_size (const CtrlMsgRespGetWifiCurrTxPower *message) { assert(message->base.descriptor == &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__get_wifi_curr_tx_power__pack (const CtrlMsgRespGetWifiCurrTxPower *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__get_wifi_curr_tx_power__pack_to_buffer (const CtrlMsgRespGetWifiCurrTxPower *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespGetWifiCurrTxPower * ctrl_msg__resp__get_wifi_curr_tx_power__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespGetWifiCurrTxPower *) protobuf_c_message_unpack (&ctrl_msg__resp__get_wifi_curr_tx_power__descriptor, allocator, len, data); } void ctrl_msg__resp__get_wifi_curr_tx_power__free_unpacked (CtrlMsgRespGetWifiCurrTxPower *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__req__config_heartbeat__init (CtrlMsgReqConfigHeartbeat *message) { static const CtrlMsgReqConfigHeartbeat init_value = CTRL_MSG__REQ__CONFIG_HEARTBEAT__INIT; *message = init_value; } size_t ctrl_msg__req__config_heartbeat__get_packed_size (const CtrlMsgReqConfigHeartbeat *message) { assert(message->base.descriptor == &ctrl_msg__req__config_heartbeat__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__req__config_heartbeat__pack (const CtrlMsgReqConfigHeartbeat *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__req__config_heartbeat__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__req__config_heartbeat__pack_to_buffer (const CtrlMsgReqConfigHeartbeat *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__req__config_heartbeat__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgReqConfigHeartbeat * ctrl_msg__req__config_heartbeat__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgReqConfigHeartbeat *) protobuf_c_message_unpack (&ctrl_msg__req__config_heartbeat__descriptor, allocator, len, data); } void ctrl_msg__req__config_heartbeat__free_unpacked (CtrlMsgReqConfigHeartbeat *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__req__config_heartbeat__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__resp__config_heartbeat__init (CtrlMsgRespConfigHeartbeat *message) { static const CtrlMsgRespConfigHeartbeat init_value = CTRL_MSG__RESP__CONFIG_HEARTBEAT__INIT; *message = init_value; } size_t ctrl_msg__resp__config_heartbeat__get_packed_size (const CtrlMsgRespConfigHeartbeat *message) { assert(message->base.descriptor == &ctrl_msg__resp__config_heartbeat__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__resp__config_heartbeat__pack (const CtrlMsgRespConfigHeartbeat *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__resp__config_heartbeat__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__resp__config_heartbeat__pack_to_buffer (const CtrlMsgRespConfigHeartbeat *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__resp__config_heartbeat__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgRespConfigHeartbeat * ctrl_msg__resp__config_heartbeat__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgRespConfigHeartbeat *) protobuf_c_message_unpack (&ctrl_msg__resp__config_heartbeat__descriptor, allocator, len, data); } void ctrl_msg__resp__config_heartbeat__free_unpacked (CtrlMsgRespConfigHeartbeat *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__resp__config_heartbeat__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__event__espinit__init (CtrlMsgEventESPInit *message) { static const CtrlMsgEventESPInit init_value = CTRL_MSG__EVENT__ESPINIT__INIT; *message = init_value; } size_t ctrl_msg__event__espinit__get_packed_size (const CtrlMsgEventESPInit *message) { assert(message->base.descriptor == &ctrl_msg__event__espinit__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__event__espinit__pack (const CtrlMsgEventESPInit *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__event__espinit__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__event__espinit__pack_to_buffer (const CtrlMsgEventESPInit *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__event__espinit__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgEventESPInit * ctrl_msg__event__espinit__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgEventESPInit *) protobuf_c_message_unpack (&ctrl_msg__event__espinit__descriptor, allocator, len, data); } void ctrl_msg__event__espinit__free_unpacked (CtrlMsgEventESPInit *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__event__espinit__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__event__heartbeat__init (CtrlMsgEventHeartbeat *message) { static const CtrlMsgEventHeartbeat init_value = CTRL_MSG__EVENT__HEARTBEAT__INIT; *message = init_value; } size_t ctrl_msg__event__heartbeat__get_packed_size (const CtrlMsgEventHeartbeat *message) { assert(message->base.descriptor == &ctrl_msg__event__heartbeat__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__event__heartbeat__pack (const CtrlMsgEventHeartbeat *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__event__heartbeat__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__event__heartbeat__pack_to_buffer (const CtrlMsgEventHeartbeat *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__event__heartbeat__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgEventHeartbeat * ctrl_msg__event__heartbeat__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgEventHeartbeat *) protobuf_c_message_unpack (&ctrl_msg__event__heartbeat__descriptor, allocator, len, data); } void ctrl_msg__event__heartbeat__free_unpacked (CtrlMsgEventHeartbeat *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__event__heartbeat__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__event__station_disconnect_from_ap__init (CtrlMsgEventStationDisconnectFromAP *message) { static const CtrlMsgEventStationDisconnectFromAP init_value = CTRL_MSG__EVENT__STATION_DISCONNECT_FROM_AP__INIT; *message = init_value; } size_t ctrl_msg__event__station_disconnect_from_ap__get_packed_size (const CtrlMsgEventStationDisconnectFromAP *message) { assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_ap__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__event__station_disconnect_from_ap__pack (const CtrlMsgEventStationDisconnectFromAP *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_ap__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__event__station_disconnect_from_ap__pack_to_buffer (const CtrlMsgEventStationDisconnectFromAP *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_ap__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgEventStationDisconnectFromAP * ctrl_msg__event__station_disconnect_from_ap__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgEventStationDisconnectFromAP *) protobuf_c_message_unpack (&ctrl_msg__event__station_disconnect_from_ap__descriptor, allocator, len, data); } void ctrl_msg__event__station_disconnect_from_ap__free_unpacked (CtrlMsgEventStationDisconnectFromAP *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_ap__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__event__station_disconnect_from_espsoft_ap__init (CtrlMsgEventStationDisconnectFromESPSoftAP *message) { static const CtrlMsgEventStationDisconnectFromESPSoftAP init_value = CTRL_MSG__EVENT__STATION_DISCONNECT_FROM_ESPSOFT_AP__INIT; *message = init_value; } size_t ctrl_msg__event__station_disconnect_from_espsoft_ap__get_packed_size (const CtrlMsgEventStationDisconnectFromESPSoftAP *message) { assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__event__station_disconnect_from_espsoft_ap__pack (const CtrlMsgEventStationDisconnectFromESPSoftAP *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__event__station_disconnect_from_espsoft_ap__pack_to_buffer (const CtrlMsgEventStationDisconnectFromESPSoftAP *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsgEventStationDisconnectFromESPSoftAP * ctrl_msg__event__station_disconnect_from_espsoft_ap__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsgEventStationDisconnectFromESPSoftAP *) protobuf_c_message_unpack (&ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor, allocator, len, data); } void ctrl_msg__event__station_disconnect_from_espsoft_ap__free_unpacked (CtrlMsgEventStationDisconnectFromESPSoftAP *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } void ctrl_msg__init (CtrlMsg *message) { static const CtrlMsg init_value = CTRL_MSG__INIT; *message = init_value; } size_t ctrl_msg__get_packed_size (const CtrlMsg *message) { assert(message->base.descriptor == &ctrl_msg__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t ctrl_msg__pack (const CtrlMsg *message, uint8_t *out) { assert(message->base.descriptor == &ctrl_msg__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t ctrl_msg__pack_to_buffer (const CtrlMsg *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &ctrl_msg__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } CtrlMsg * ctrl_msg__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (CtrlMsg *) protobuf_c_message_unpack (&ctrl_msg__descriptor, allocator, len, data); } void ctrl_msg__free_unpacked (CtrlMsg *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &ctrl_msg__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } static const ProtobufCFieldDescriptor scan_result__field_descriptors[5] = { { "ssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(ScanResult, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "chnl", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ offsetof(ScanResult, chnl), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "rssi", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(ScanResult, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "bssid", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(ScanResult, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "sec_prot", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(ScanResult, sec_prot), &ctrl__wifi_sec_prot__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned scan_result__field_indices_by_name[] = { 3, /* field[3] = bssid */ 1, /* field[1] = chnl */ 2, /* field[2] = rssi */ 4, /* field[4] = sec_prot */ 0, /* field[0] = ssid */ }; static const ProtobufCIntRange scan_result__number_ranges[1 + 1] = { { 1, 0 }, { 0, 5 } }; const ProtobufCMessageDescriptor scan_result__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "ScanResult", "ScanResult", "ScanResult", "", sizeof(ScanResult), 5, scan_result__field_descriptors, scan_result__field_indices_by_name, 1, scan_result__number_ranges, (ProtobufCMessageInit) scan_result__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor connected_stalist__field_descriptors[2] = { { "mac", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(ConnectedSTAList, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "rssi", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(ConnectedSTAList, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned connected_stalist__field_indices_by_name[] = { 0, /* field[0] = mac */ 1, /* field[1] = rssi */ }; static const ProtobufCIntRange connected_stalist__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor connected_stalist__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "ConnectedSTAList", "ConnectedSTAList", "ConnectedSTAList", "", sizeof(ConnectedSTAList), 2, connected_stalist__field_descriptors, connected_stalist__field_indices_by_name, 1, connected_stalist__number_ranges, (ProtobufCMessageInit) connected_stalist__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__get_mac_address__field_descriptors[1] = { { "mode", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqGetMacAddress, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__get_mac_address__field_indices_by_name[] = { 0, /* field[0] = mode */ }; static const ProtobufCIntRange ctrl_msg__req__get_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__req__get_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_GetMacAddress", "CtrlMsgReqGetMacAddress", "CtrlMsgReqGetMacAddress", "", sizeof(CtrlMsgReqGetMacAddress), 1, ctrl_msg__req__get_mac_address__field_descriptors, ctrl_msg__req__get_mac_address__field_indices_by_name, 1, ctrl_msg__req__get_mac_address__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__get_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__get_mac_address__field_descriptors[2] = { { "mac", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetMacAddress, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetMacAddress, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__get_mac_address__field_indices_by_name[] = { 0, /* field[0] = mac */ 1, /* field[1] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__get_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__get_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_GetMacAddress", "CtrlMsgRespGetMacAddress", "CtrlMsgRespGetMacAddress", "", sizeof(CtrlMsgRespGetMacAddress), 2, ctrl_msg__resp__get_mac_address__field_descriptors, ctrl_msg__resp__get_mac_address__field_indices_by_name, 1, ctrl_msg__resp__get_mac_address__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__get_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__get_mode__field_descriptors NULL #define ctrl_msg__req__get_mode__field_indices_by_name NULL #define ctrl_msg__req__get_mode__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__get_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_GetMode", "CtrlMsgReqGetMode", "CtrlMsgReqGetMode", "", sizeof(CtrlMsgReqGetMode), 0, ctrl_msg__req__get_mode__field_descriptors, ctrl_msg__req__get_mode__field_indices_by_name, 0, ctrl_msg__req__get_mode__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__get_mode__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__get_mode__field_descriptors[2] = { { "mode", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetMode, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__get_mode__field_indices_by_name[] = { 0, /* field[0] = mode */ 1, /* field[1] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__get_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__get_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_GetMode", "CtrlMsgRespGetMode", "CtrlMsgRespGetMode", "", sizeof(CtrlMsgRespGetMode), 2, ctrl_msg__resp__get_mode__field_descriptors, ctrl_msg__resp__get_mode__field_indices_by_name, 1, ctrl_msg__resp__get_mode__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__get_mode__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__set_mode__field_descriptors[1] = { { "mode", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqSetMode, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__set_mode__field_indices_by_name[] = { 0, /* field[0] = mode */ }; static const ProtobufCIntRange ctrl_msg__req__set_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__req__set_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_SetMode", "CtrlMsgReqSetMode", "CtrlMsgReqSetMode", "", sizeof(CtrlMsgReqSetMode), 1, ctrl_msg__req__set_mode__field_descriptors, ctrl_msg__req__set_mode__field_indices_by_name, 1, ctrl_msg__req__set_mode__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__set_mode__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__set_mode__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespSetMode, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__set_mode__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__set_mode__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__set_mode__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_SetMode", "CtrlMsgRespSetMode", "CtrlMsgRespSetMode", "", sizeof(CtrlMsgRespSetMode), 1, ctrl_msg__resp__set_mode__field_descriptors, ctrl_msg__resp__set_mode__field_indices_by_name, 1, ctrl_msg__resp__set_mode__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__set_mode__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__get_status__field_descriptors NULL #define ctrl_msg__req__get_status__field_indices_by_name NULL #define ctrl_msg__req__get_status__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__get_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_GetStatus", "CtrlMsgReqGetStatus", "CtrlMsgReqGetStatus", "", sizeof(CtrlMsgReqGetStatus), 0, ctrl_msg__req__get_status__field_descriptors, ctrl_msg__req__get_status__field_indices_by_name, 0, ctrl_msg__req__get_status__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__get_status__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__get_status__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetStatus, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__get_status__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__get_status__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__get_status__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_GetStatus", "CtrlMsgRespGetStatus", "CtrlMsgRespGetStatus", "", sizeof(CtrlMsgRespGetStatus), 1, ctrl_msg__resp__get_status__field_descriptors, ctrl_msg__resp__get_status__field_indices_by_name, 1, ctrl_msg__resp__get_status__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__get_status__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__set_mac_address__field_descriptors[2] = { { "mac", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgReqSetMacAddress, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "mode", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqSetMacAddress, mode), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__set_mac_address__field_indices_by_name[] = { 0, /* field[0] = mac */ 1, /* field[1] = mode */ }; static const ProtobufCIntRange ctrl_msg__req__set_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor ctrl_msg__req__set_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_SetMacAddress", "CtrlMsgReqSetMacAddress", "CtrlMsgReqSetMacAddress", "", sizeof(CtrlMsgReqSetMacAddress), 2, ctrl_msg__req__set_mac_address__field_descriptors, ctrl_msg__req__set_mac_address__field_indices_by_name, 1, ctrl_msg__req__set_mac_address__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__set_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__set_mac_address__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespSetMacAddress, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__set_mac_address__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__set_mac_address__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__set_mac_address__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_SetMacAddress", "CtrlMsgRespSetMacAddress", "CtrlMsgRespSetMacAddress", "", sizeof(CtrlMsgRespSetMacAddress), 1, ctrl_msg__resp__set_mac_address__field_descriptors, ctrl_msg__resp__set_mac_address__field_indices_by_name, 1, ctrl_msg__resp__set_mac_address__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__set_mac_address__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__get_apconfig__field_descriptors NULL #define ctrl_msg__req__get_apconfig__field_indices_by_name NULL #define ctrl_msg__req__get_apconfig__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__get_apconfig__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_GetAPConfig", "CtrlMsgReqGetAPConfig", "CtrlMsgReqGetAPConfig", "", sizeof(CtrlMsgReqGetAPConfig), 0, ctrl_msg__req__get_apconfig__field_descriptors, ctrl_msg__req__get_apconfig__field_indices_by_name, 0, ctrl_msg__req__get_apconfig__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__get_apconfig__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__get_apconfig__field_descriptors[6] = { { "ssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetAPConfig, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "bssid", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetAPConfig, bssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "rssi", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetAPConfig, rssi), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "chnl", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetAPConfig, chnl), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "sec_prot", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetAPConfig, sec_prot), &ctrl__wifi_sec_prot__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp", 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetAPConfig, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__get_apconfig__field_indices_by_name[] = { 1, /* field[1] = bssid */ 3, /* field[3] = chnl */ 5, /* field[5] = resp */ 2, /* field[2] = rssi */ 4, /* field[4] = sec_prot */ 0, /* field[0] = ssid */ }; static const ProtobufCIntRange ctrl_msg__resp__get_apconfig__number_ranges[1 + 1] = { { 1, 0 }, { 0, 6 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__get_apconfig__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_GetAPConfig", "CtrlMsgRespGetAPConfig", "CtrlMsgRespGetAPConfig", "", sizeof(CtrlMsgRespGetAPConfig), 6, ctrl_msg__resp__get_apconfig__field_descriptors, ctrl_msg__resp__get_apconfig__field_indices_by_name, 1, ctrl_msg__resp__get_apconfig__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__get_apconfig__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__connect_ap__field_descriptors[5] = { { "ssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(CtrlMsgReqConnectAP, ssid), NULL, &protobuf_c_empty_string, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "pwd", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(CtrlMsgReqConnectAP, pwd), NULL, &protobuf_c_empty_string, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "bssid", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(CtrlMsgReqConnectAP, bssid), NULL, &protobuf_c_empty_string, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "is_wpa3_supported", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ offsetof(CtrlMsgReqConnectAP, is_wpa3_supported), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "listen_interval", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqConnectAP, listen_interval), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__connect_ap__field_indices_by_name[] = { 2, /* field[2] = bssid */ 3, /* field[3] = is_wpa3_supported */ 4, /* field[4] = listen_interval */ 1, /* field[1] = pwd */ 0, /* field[0] = ssid */ }; static const ProtobufCIntRange ctrl_msg__req__connect_ap__number_ranges[1 + 1] = { { 1, 0 }, { 0, 5 } }; const ProtobufCMessageDescriptor ctrl_msg__req__connect_ap__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_ConnectAP", "CtrlMsgReqConnectAP", "CtrlMsgReqConnectAP", "", sizeof(CtrlMsgReqConnectAP), 5, ctrl_msg__req__connect_ap__field_descriptors, ctrl_msg__req__connect_ap__field_indices_by_name, 1, ctrl_msg__req__connect_ap__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__connect_ap__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__connect_ap__field_descriptors[2] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespConnectAP, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "mac", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgRespConnectAP, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__connect_ap__field_indices_by_name[] = { 1, /* field[1] = mac */ 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__connect_ap__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__connect_ap__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_ConnectAP", "CtrlMsgRespConnectAP", "CtrlMsgRespConnectAP", "", sizeof(CtrlMsgRespConnectAP), 2, ctrl_msg__resp__connect_ap__field_descriptors, ctrl_msg__resp__connect_ap__field_indices_by_name, 1, ctrl_msg__resp__connect_ap__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__connect_ap__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__get_soft_apconfig__field_descriptors NULL #define ctrl_msg__req__get_soft_apconfig__field_indices_by_name NULL #define ctrl_msg__req__get_soft_apconfig__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__get_soft_apconfig__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_GetSoftAPConfig", "CtrlMsgReqGetSoftAPConfig", "CtrlMsgReqGetSoftAPConfig", "", sizeof(CtrlMsgReqGetSoftAPConfig), 0, ctrl_msg__req__get_soft_apconfig__field_descriptors, ctrl_msg__req__get_soft_apconfig__field_indices_by_name, 0, ctrl_msg__req__get_soft_apconfig__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__get_soft_apconfig__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__get_soft_apconfig__field_descriptors[8] = { { "ssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetSoftAPConfig, ssid), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "pwd", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetSoftAPConfig, pwd), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "chnl", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetSoftAPConfig, chnl), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "sec_prot", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetSoftAPConfig, sec_prot), &ctrl__wifi_sec_prot__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "max_conn", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetSoftAPConfig, max_conn), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "ssid_hidden", 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetSoftAPConfig, ssid_hidden), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "bw", 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetSoftAPConfig, bw), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp", 8, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetSoftAPConfig, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__get_soft_apconfig__field_indices_by_name[] = { 6, /* field[6] = bw */ 2, /* field[2] = chnl */ 4, /* field[4] = max_conn */ 1, /* field[1] = pwd */ 7, /* field[7] = resp */ 3, /* field[3] = sec_prot */ 0, /* field[0] = ssid */ 5, /* field[5] = ssid_hidden */ }; static const ProtobufCIntRange ctrl_msg__resp__get_soft_apconfig__number_ranges[1 + 1] = { { 1, 0 }, { 0, 8 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__get_soft_apconfig__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_GetSoftAPConfig", "CtrlMsgRespGetSoftAPConfig", "CtrlMsgRespGetSoftAPConfig", "", sizeof(CtrlMsgRespGetSoftAPConfig), 8, ctrl_msg__resp__get_soft_apconfig__field_descriptors, ctrl_msg__resp__get_soft_apconfig__field_indices_by_name, 1, ctrl_msg__resp__get_soft_apconfig__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__get_soft_apconfig__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__start_soft_ap__field_descriptors[7] = { { "ssid", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(CtrlMsgReqStartSoftAP, ssid), NULL, &protobuf_c_empty_string, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "pwd", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_STRING, 0, /* quantifier_offset */ offsetof(CtrlMsgReqStartSoftAP, pwd), NULL, &protobuf_c_empty_string, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "chnl", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqStartSoftAP, chnl), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "sec_prot", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(CtrlMsgReqStartSoftAP, sec_prot), &ctrl__wifi_sec_prot__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "max_conn", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqStartSoftAP, max_conn), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "ssid_hidden", 6, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ offsetof(CtrlMsgReqStartSoftAP, ssid_hidden), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "bw", 7, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqStartSoftAP, bw), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__start_soft_ap__field_indices_by_name[] = { 6, /* field[6] = bw */ 2, /* field[2] = chnl */ 4, /* field[4] = max_conn */ 1, /* field[1] = pwd */ 3, /* field[3] = sec_prot */ 0, /* field[0] = ssid */ 5, /* field[5] = ssid_hidden */ }; static const ProtobufCIntRange ctrl_msg__req__start_soft_ap__number_ranges[1 + 1] = { { 1, 0 }, { 0, 7 } }; const ProtobufCMessageDescriptor ctrl_msg__req__start_soft_ap__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_StartSoftAP", "CtrlMsgReqStartSoftAP", "CtrlMsgReqStartSoftAP", "", sizeof(CtrlMsgReqStartSoftAP), 7, ctrl_msg__req__start_soft_ap__field_descriptors, ctrl_msg__req__start_soft_ap__field_indices_by_name, 1, ctrl_msg__req__start_soft_ap__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__start_soft_ap__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__start_soft_ap__field_descriptors[2] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespStartSoftAP, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "mac", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgRespStartSoftAP, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__start_soft_ap__field_indices_by_name[] = { 1, /* field[1] = mac */ 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__start_soft_ap__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__start_soft_ap__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_StartSoftAP", "CtrlMsgRespStartSoftAP", "CtrlMsgRespStartSoftAP", "", sizeof(CtrlMsgRespStartSoftAP), 2, ctrl_msg__resp__start_soft_ap__field_descriptors, ctrl_msg__resp__start_soft_ap__field_indices_by_name, 1, ctrl_msg__resp__start_soft_ap__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__start_soft_ap__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__scan_result__field_descriptors NULL #define ctrl_msg__req__scan_result__field_indices_by_name NULL #define ctrl_msg__req__scan_result__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__scan_result__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_ScanResult", "CtrlMsgReqScanResult", "CtrlMsgReqScanResult", "", sizeof(CtrlMsgReqScanResult), 0, ctrl_msg__req__scan_result__field_descriptors, ctrl_msg__req__scan_result__field_indices_by_name, 0, ctrl_msg__req__scan_result__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__scan_result__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__scan_result__field_descriptors[3] = { { "count", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespScanResult, count), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "entries", 2, PROTOBUF_C_LABEL_REPEATED, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsgRespScanResult, n_entries), offsetof(CtrlMsgRespScanResult, entries), &scan_result__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespScanResult, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__scan_result__field_indices_by_name[] = { 0, /* field[0] = count */ 1, /* field[1] = entries */ 2, /* field[2] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__scan_result__number_ranges[1 + 1] = { { 1, 0 }, { 0, 3 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__scan_result__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_ScanResult", "CtrlMsgRespScanResult", "CtrlMsgRespScanResult", "", sizeof(CtrlMsgRespScanResult), 3, ctrl_msg__resp__scan_result__field_descriptors, ctrl_msg__resp__scan_result__field_indices_by_name, 1, ctrl_msg__resp__scan_result__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__scan_result__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__soft_apconnected_sta__field_descriptors NULL #define ctrl_msg__req__soft_apconnected_sta__field_indices_by_name NULL #define ctrl_msg__req__soft_apconnected_sta__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__soft_apconnected_sta__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_SoftAPConnectedSTA", "CtrlMsgReqSoftAPConnectedSTA", "CtrlMsgReqSoftAPConnectedSTA", "", sizeof(CtrlMsgReqSoftAPConnectedSTA), 0, ctrl_msg__req__soft_apconnected_sta__field_descriptors, ctrl_msg__req__soft_apconnected_sta__field_indices_by_name, 0, ctrl_msg__req__soft_apconnected_sta__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__soft_apconnected_sta__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__soft_apconnected_sta__field_descriptors[3] = { { "num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_UINT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespSoftAPConnectedSTA, num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "stations", 2, PROTOBUF_C_LABEL_REPEATED, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsgRespSoftAPConnectedSTA, n_stations), offsetof(CtrlMsgRespSoftAPConnectedSTA, stations), &connected_stalist__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespSoftAPConnectedSTA, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__soft_apconnected_sta__field_indices_by_name[] = { 0, /* field[0] = num */ 2, /* field[2] = resp */ 1, /* field[1] = stations */ }; static const ProtobufCIntRange ctrl_msg__resp__soft_apconnected_sta__number_ranges[1 + 1] = { { 1, 0 }, { 0, 3 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__soft_apconnected_sta__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_SoftAPConnectedSTA", "CtrlMsgRespSoftAPConnectedSTA", "CtrlMsgRespSoftAPConnectedSTA", "", sizeof(CtrlMsgRespSoftAPConnectedSTA), 3, ctrl_msg__resp__soft_apconnected_sta__field_descriptors, ctrl_msg__resp__soft_apconnected_sta__field_indices_by_name, 1, ctrl_msg__resp__soft_apconnected_sta__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__soft_apconnected_sta__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__otabegin__field_descriptors NULL #define ctrl_msg__req__otabegin__field_indices_by_name NULL #define ctrl_msg__req__otabegin__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__otabegin__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_OTABegin", "CtrlMsgReqOTABegin", "CtrlMsgReqOTABegin", "", sizeof(CtrlMsgReqOTABegin), 0, ctrl_msg__req__otabegin__field_descriptors, ctrl_msg__req__otabegin__field_indices_by_name, 0, ctrl_msg__req__otabegin__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__otabegin__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__otabegin__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespOTABegin, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__otabegin__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__otabegin__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__otabegin__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_OTABegin", "CtrlMsgRespOTABegin", "CtrlMsgRespOTABegin", "", sizeof(CtrlMsgRespOTABegin), 1, ctrl_msg__resp__otabegin__field_descriptors, ctrl_msg__resp__otabegin__field_indices_by_name, 1, ctrl_msg__resp__otabegin__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__otabegin__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__otawrite__field_descriptors[1] = { { "ota_data", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgReqOTAWrite, ota_data), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__otawrite__field_indices_by_name[] = { 0, /* field[0] = ota_data */ }; static const ProtobufCIntRange ctrl_msg__req__otawrite__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__req__otawrite__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_OTAWrite", "CtrlMsgReqOTAWrite", "CtrlMsgReqOTAWrite", "", sizeof(CtrlMsgReqOTAWrite), 1, ctrl_msg__req__otawrite__field_descriptors, ctrl_msg__req__otawrite__field_indices_by_name, 1, ctrl_msg__req__otawrite__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__otawrite__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__otawrite__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespOTAWrite, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__otawrite__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__otawrite__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__otawrite__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_OTAWrite", "CtrlMsgRespOTAWrite", "CtrlMsgRespOTAWrite", "", sizeof(CtrlMsgRespOTAWrite), 1, ctrl_msg__resp__otawrite__field_descriptors, ctrl_msg__resp__otawrite__field_indices_by_name, 1, ctrl_msg__resp__otawrite__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__otawrite__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__otaend__field_descriptors NULL #define ctrl_msg__req__otaend__field_indices_by_name NULL #define ctrl_msg__req__otaend__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__otaend__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_OTAEnd", "CtrlMsgReqOTAEnd", "CtrlMsgReqOTAEnd", "", sizeof(CtrlMsgReqOTAEnd), 0, ctrl_msg__req__otaend__field_descriptors, ctrl_msg__req__otaend__field_indices_by_name, 0, ctrl_msg__req__otaend__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__otaend__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__otaend__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespOTAEnd, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__otaend__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__otaend__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__otaend__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_OTAEnd", "CtrlMsgRespOTAEnd", "CtrlMsgRespOTAEnd", "", sizeof(CtrlMsgRespOTAEnd), 1, ctrl_msg__resp__otaend__field_descriptors, ctrl_msg__resp__otaend__field_indices_by_name, 1, ctrl_msg__resp__otaend__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__otaend__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__vendor_iedata__field_descriptors[5] = { { "element_id", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqVendorIEData, element_id), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "length", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqVendorIEData, length), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "vendor_oui", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgReqVendorIEData, vendor_oui), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "vendor_oui_type", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqVendorIEData, vendor_oui_type), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "payload", 5, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgReqVendorIEData, payload), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__vendor_iedata__field_indices_by_name[] = { 0, /* field[0] = element_id */ 1, /* field[1] = length */ 4, /* field[4] = payload */ 2, /* field[2] = vendor_oui */ 3, /* field[3] = vendor_oui_type */ }; static const ProtobufCIntRange ctrl_msg__req__vendor_iedata__number_ranges[1 + 1] = { { 1, 0 }, { 0, 5 } }; const ProtobufCMessageDescriptor ctrl_msg__req__vendor_iedata__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_VendorIEData", "CtrlMsgReqVendorIEData", "CtrlMsgReqVendorIEData", "", sizeof(CtrlMsgReqVendorIEData), 5, ctrl_msg__req__vendor_iedata__field_descriptors, ctrl_msg__req__vendor_iedata__field_indices_by_name, 1, ctrl_msg__req__vendor_iedata__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__vendor_iedata__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__set_soft_apvendor_specific_ie__field_descriptors[4] = { { "enable", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ offsetof(CtrlMsgReqSetSoftAPVendorSpecificIE, enable), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "type", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(CtrlMsgReqSetSoftAPVendorSpecificIE, type), &ctrl__vendor_ietype__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "idx", 3, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(CtrlMsgReqSetSoftAPVendorSpecificIE, idx), &ctrl__vendor_ieid__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "vendor_ie_data", 4, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(CtrlMsgReqSetSoftAPVendorSpecificIE, vendor_ie_data), &ctrl_msg__req__vendor_iedata__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__set_soft_apvendor_specific_ie__field_indices_by_name[] = { 0, /* field[0] = enable */ 2, /* field[2] = idx */ 1, /* field[1] = type */ 3, /* field[3] = vendor_ie_data */ }; static const ProtobufCIntRange ctrl_msg__req__set_soft_apvendor_specific_ie__number_ranges[1 + 1] = { { 1, 0 }, { 0, 4 } }; const ProtobufCMessageDescriptor ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_SetSoftAPVendorSpecificIE", "CtrlMsgReqSetSoftAPVendorSpecificIE", "CtrlMsgReqSetSoftAPVendorSpecificIE", "", sizeof(CtrlMsgReqSetSoftAPVendorSpecificIE), 4, ctrl_msg__req__set_soft_apvendor_specific_ie__field_descriptors, ctrl_msg__req__set_soft_apvendor_specific_ie__field_indices_by_name, 1, ctrl_msg__req__set_soft_apvendor_specific_ie__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__set_soft_apvendor_specific_ie__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__set_soft_apvendor_specific_ie__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespSetSoftAPVendorSpecificIE, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__set_soft_apvendor_specific_ie__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__set_soft_apvendor_specific_ie__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_SetSoftAPVendorSpecificIE", "CtrlMsgRespSetSoftAPVendorSpecificIE", "CtrlMsgRespSetSoftAPVendorSpecificIE", "", sizeof(CtrlMsgRespSetSoftAPVendorSpecificIE), 1, ctrl_msg__resp__set_soft_apvendor_specific_ie__field_descriptors, ctrl_msg__resp__set_soft_apvendor_specific_ie__field_indices_by_name, 1, ctrl_msg__resp__set_soft_apvendor_specific_ie__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__set_soft_apvendor_specific_ie__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__set_wifi_max_tx_power__field_descriptors[1] = { { "wifi_max_tx_power", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqSetWifiMaxTxPower, wifi_max_tx_power), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__set_wifi_max_tx_power__field_indices_by_name[] = { 0, /* field[0] = wifi_max_tx_power */ }; static const ProtobufCIntRange ctrl_msg__req__set_wifi_max_tx_power__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__req__set_wifi_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_SetWifiMaxTxPower", "CtrlMsgReqSetWifiMaxTxPower", "CtrlMsgReqSetWifiMaxTxPower", "", sizeof(CtrlMsgReqSetWifiMaxTxPower), 1, ctrl_msg__req__set_wifi_max_tx_power__field_descriptors, ctrl_msg__req__set_wifi_max_tx_power__field_indices_by_name, 1, ctrl_msg__req__set_wifi_max_tx_power__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__set_wifi_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__set_wifi_max_tx_power__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespSetWifiMaxTxPower, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__set_wifi_max_tx_power__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__set_wifi_max_tx_power__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__set_wifi_max_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_SetWifiMaxTxPower", "CtrlMsgRespSetWifiMaxTxPower", "CtrlMsgRespSetWifiMaxTxPower", "", sizeof(CtrlMsgRespSetWifiMaxTxPower), 1, ctrl_msg__resp__set_wifi_max_tx_power__field_descriptors, ctrl_msg__resp__set_wifi_max_tx_power__field_indices_by_name, 1, ctrl_msg__resp__set_wifi_max_tx_power__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__set_wifi_max_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; #define ctrl_msg__req__get_wifi_curr_tx_power__field_descriptors NULL #define ctrl_msg__req__get_wifi_curr_tx_power__field_indices_by_name NULL #define ctrl_msg__req__get_wifi_curr_tx_power__number_ranges NULL const ProtobufCMessageDescriptor ctrl_msg__req__get_wifi_curr_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_GetWifiCurrTxPower", "CtrlMsgReqGetWifiCurrTxPower", "CtrlMsgReqGetWifiCurrTxPower", "", sizeof(CtrlMsgReqGetWifiCurrTxPower), 0, ctrl_msg__req__get_wifi_curr_tx_power__field_descriptors, ctrl_msg__req__get_wifi_curr_tx_power__field_indices_by_name, 0, ctrl_msg__req__get_wifi_curr_tx_power__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__get_wifi_curr_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__get_wifi_curr_tx_power__field_descriptors[2] = { { "wifi_curr_tx_power", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetWifiCurrTxPower, wifi_curr_tx_power), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespGetWifiCurrTxPower, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__get_wifi_curr_tx_power__field_indices_by_name[] = { 1, /* field[1] = resp */ 0, /* field[0] = wifi_curr_tx_power */ }; static const ProtobufCIntRange ctrl_msg__resp__get_wifi_curr_tx_power__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__get_wifi_curr_tx_power__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_GetWifiCurrTxPower", "CtrlMsgRespGetWifiCurrTxPower", "CtrlMsgRespGetWifiCurrTxPower", "", sizeof(CtrlMsgRespGetWifiCurrTxPower), 2, ctrl_msg__resp__get_wifi_curr_tx_power__field_descriptors, ctrl_msg__resp__get_wifi_curr_tx_power__field_indices_by_name, 1, ctrl_msg__resp__get_wifi_curr_tx_power__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__get_wifi_curr_tx_power__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__req__config_heartbeat__field_descriptors[2] = { { "enable", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BOOL, 0, /* quantifier_offset */ offsetof(CtrlMsgReqConfigHeartbeat, enable), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "duration", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgReqConfigHeartbeat, duration), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__req__config_heartbeat__field_indices_by_name[] = { 1, /* field[1] = duration */ 0, /* field[0] = enable */ }; static const ProtobufCIntRange ctrl_msg__req__config_heartbeat__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor ctrl_msg__req__config_heartbeat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Req_ConfigHeartbeat", "CtrlMsgReqConfigHeartbeat", "CtrlMsgReqConfigHeartbeat", "", sizeof(CtrlMsgReqConfigHeartbeat), 2, ctrl_msg__req__config_heartbeat__field_descriptors, ctrl_msg__req__config_heartbeat__field_indices_by_name, 1, ctrl_msg__req__config_heartbeat__number_ranges, (ProtobufCMessageInit) ctrl_msg__req__config_heartbeat__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__resp__config_heartbeat__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgRespConfigHeartbeat, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__resp__config_heartbeat__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__resp__config_heartbeat__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__resp__config_heartbeat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Resp_ConfigHeartbeat", "CtrlMsgRespConfigHeartbeat", "CtrlMsgRespConfigHeartbeat", "", sizeof(CtrlMsgRespConfigHeartbeat), 1, ctrl_msg__resp__config_heartbeat__field_descriptors, ctrl_msg__resp__config_heartbeat__field_indices_by_name, 1, ctrl_msg__resp__config_heartbeat__number_ranges, (ProtobufCMessageInit) ctrl_msg__resp__config_heartbeat__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__event__espinit__field_descriptors[1] = { { "init_data", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgEventESPInit, init_data), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__event__espinit__field_indices_by_name[] = { 0, /* field[0] = init_data */ }; static const ProtobufCIntRange ctrl_msg__event__espinit__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__event__espinit__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Event_ESPInit", "CtrlMsgEventESPInit", "CtrlMsgEventESPInit", "", sizeof(CtrlMsgEventESPInit), 1, ctrl_msg__event__espinit__field_descriptors, ctrl_msg__event__espinit__field_indices_by_name, 1, ctrl_msg__event__espinit__number_ranges, (ProtobufCMessageInit) ctrl_msg__event__espinit__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__event__heartbeat__field_descriptors[1] = { { "hb_num", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgEventHeartbeat, hb_num), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__event__heartbeat__field_indices_by_name[] = { 0, /* field[0] = hb_num */ }; static const ProtobufCIntRange ctrl_msg__event__heartbeat__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__event__heartbeat__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Event_Heartbeat", "CtrlMsgEventHeartbeat", "CtrlMsgEventHeartbeat", "", sizeof(CtrlMsgEventHeartbeat), 1, ctrl_msg__event__heartbeat__field_descriptors, ctrl_msg__event__heartbeat__field_indices_by_name, 1, ctrl_msg__event__heartbeat__number_ranges, (ProtobufCMessageInit) ctrl_msg__event__heartbeat__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__event__station_disconnect_from_ap__field_descriptors[1] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgEventStationDisconnectFromAP, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__event__station_disconnect_from_ap__field_indices_by_name[] = { 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__event__station_disconnect_from_ap__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor ctrl_msg__event__station_disconnect_from_ap__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Event_StationDisconnectFromAP", "CtrlMsgEventStationDisconnectFromAP", "CtrlMsgEventStationDisconnectFromAP", "", sizeof(CtrlMsgEventStationDisconnectFromAP), 1, ctrl_msg__event__station_disconnect_from_ap__field_descriptors, ctrl_msg__event__station_disconnect_from_ap__field_indices_by_name, 1, ctrl_msg__event__station_disconnect_from_ap__number_ranges, (ProtobufCMessageInit) ctrl_msg__event__station_disconnect_from_ap__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__event__station_disconnect_from_espsoft_ap__field_descriptors[2] = { { "resp", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_INT32, 0, /* quantifier_offset */ offsetof(CtrlMsgEventStationDisconnectFromESPSoftAP, resp), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "mac", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_BYTES, 0, /* quantifier_offset */ offsetof(CtrlMsgEventStationDisconnectFromESPSoftAP, mac), NULL, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__event__station_disconnect_from_espsoft_ap__field_indices_by_name[] = { 1, /* field[1] = mac */ 0, /* field[0] = resp */ }; static const ProtobufCIntRange ctrl_msg__event__station_disconnect_from_espsoft_ap__number_ranges[1 + 1] = { { 1, 0 }, { 0, 2 } }; const ProtobufCMessageDescriptor ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg_Event_StationDisconnectFromESPSoftAP", "CtrlMsgEventStationDisconnectFromESPSoftAP", "CtrlMsgEventStationDisconnectFromESPSoftAP", "", sizeof(CtrlMsgEventStationDisconnectFromESPSoftAP), 2, ctrl_msg__event__station_disconnect_from_espsoft_ap__field_descriptors, ctrl_msg__event__station_disconnect_from_espsoft_ap__field_indices_by_name, 1, ctrl_msg__event__station_disconnect_from_espsoft_ap__number_ranges, (ProtobufCMessageInit) ctrl_msg__event__station_disconnect_from_espsoft_ap__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCFieldDescriptor ctrl_msg__field_descriptors[48] = { { "msg_type", 1, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(CtrlMsg, msg_type), &ctrl_msg_type__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "msg_id", 2, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_ENUM, 0, /* quantifier_offset */ offsetof(CtrlMsg, msg_id), &ctrl_msg_id__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_get_mac_address", 101, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_get_mac_address), &ctrl_msg__req__get_mac_address__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_set_mac_address", 102, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_set_mac_address), &ctrl_msg__req__set_mac_address__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_get_wifi_mode", 103, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_get_wifi_mode), &ctrl_msg__req__get_mode__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_set_wifi_mode", 104, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_set_wifi_mode), &ctrl_msg__req__set_mode__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_scan_ap_list", 105, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_scan_ap_list), &ctrl_msg__req__scan_result__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_get_ap_config", 106, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_get_ap_config), &ctrl_msg__req__get_apconfig__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_connect_ap", 107, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_connect_ap), &ctrl_msg__req__connect_ap__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_disconnect_ap", 108, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_disconnect_ap), &ctrl_msg__req__get_status__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_get_softap_config", 109, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_get_softap_config), &ctrl_msg__req__get_soft_apconfig__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_set_softap_vendor_specific_ie", 110, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_set_softap_vendor_specific_ie), &ctrl_msg__req__set_soft_apvendor_specific_ie__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_start_softap", 111, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_start_softap), &ctrl_msg__req__start_soft_ap__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_softap_connected_stas_list", 112, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_softap_connected_stas_list), &ctrl_msg__req__soft_apconnected_sta__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_stop_softap", 113, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_stop_softap), &ctrl_msg__req__get_status__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_set_power_save_mode", 114, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_set_power_save_mode), &ctrl_msg__req__set_mode__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_get_power_save_mode", 115, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_get_power_save_mode), &ctrl_msg__req__get_mode__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_ota_begin", 116, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_ota_begin), &ctrl_msg__req__otabegin__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_ota_write", 117, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_ota_write), &ctrl_msg__req__otawrite__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_ota_end", 118, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_ota_end), &ctrl_msg__req__otaend__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_set_wifi_max_tx_power", 119, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_set_wifi_max_tx_power), &ctrl_msg__req__set_wifi_max_tx_power__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_get_wifi_curr_tx_power", 120, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_get_wifi_curr_tx_power), &ctrl_msg__req__get_wifi_curr_tx_power__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "req_config_heartbeat", 121, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, req_config_heartbeat), &ctrl_msg__req__config_heartbeat__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_get_mac_address", 201, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_get_mac_address), &ctrl_msg__resp__get_mac_address__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_set_mac_address", 202, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_set_mac_address), &ctrl_msg__resp__set_mac_address__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_get_wifi_mode", 203, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_get_wifi_mode), &ctrl_msg__resp__get_mode__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_set_wifi_mode", 204, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_set_wifi_mode), &ctrl_msg__resp__set_mode__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_scan_ap_list", 205, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_scan_ap_list), &ctrl_msg__resp__scan_result__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_get_ap_config", 206, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_get_ap_config), &ctrl_msg__resp__get_apconfig__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_connect_ap", 207, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_connect_ap), &ctrl_msg__resp__connect_ap__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_disconnect_ap", 208, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_disconnect_ap), &ctrl_msg__resp__get_status__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_get_softap_config", 209, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_get_softap_config), &ctrl_msg__resp__get_soft_apconfig__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_set_softap_vendor_specific_ie", 210, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_set_softap_vendor_specific_ie), &ctrl_msg__resp__set_soft_apvendor_specific_ie__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_start_softap", 211, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_start_softap), &ctrl_msg__resp__start_soft_ap__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_softap_connected_stas_list", 212, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_softap_connected_stas_list), &ctrl_msg__resp__soft_apconnected_sta__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_stop_softap", 213, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_stop_softap), &ctrl_msg__resp__get_status__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_set_power_save_mode", 214, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_set_power_save_mode), &ctrl_msg__resp__set_mode__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_get_power_save_mode", 215, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_get_power_save_mode), &ctrl_msg__resp__get_mode__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_ota_begin", 216, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_ota_begin), &ctrl_msg__resp__otabegin__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_ota_write", 217, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_ota_write), &ctrl_msg__resp__otawrite__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_ota_end", 218, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_ota_end), &ctrl_msg__resp__otaend__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_set_wifi_max_tx_power", 219, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_set_wifi_max_tx_power), &ctrl_msg__resp__set_wifi_max_tx_power__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_get_wifi_curr_tx_power", 220, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_get_wifi_curr_tx_power), &ctrl_msg__resp__get_wifi_curr_tx_power__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "resp_config_heartbeat", 221, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, resp_config_heartbeat), &ctrl_msg__resp__config_heartbeat__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "event_esp_init", 301, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, event_esp_init), &ctrl_msg__event__espinit__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "event_heartbeat", 302, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, event_heartbeat), &ctrl_msg__event__heartbeat__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "event_station_disconnect_from_AP", 303, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, event_station_disconnect_from_ap), &ctrl_msg__event__station_disconnect_from_ap__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, { "event_station_disconnect_from_ESP_SoftAP", 304, PROTOBUF_C_LABEL_NONE, PROTOBUF_C_TYPE_MESSAGE, offsetof(CtrlMsg, payload_case), offsetof(CtrlMsg, event_station_disconnect_from_esp_softap), &ctrl_msg__event__station_disconnect_from_espsoft_ap__descriptor, NULL, 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned ctrl_msg__field_indices_by_name[] = { 44, /* field[44] = event_esp_init */ 45, /* field[45] = event_heartbeat */ 46, /* field[46] = event_station_disconnect_from_AP */ 47, /* field[47] = event_station_disconnect_from_ESP_SoftAP */ 1, /* field[1] = msg_id */ 0, /* field[0] = msg_type */ 22, /* field[22] = req_config_heartbeat */ 8, /* field[8] = req_connect_ap */ 9, /* field[9] = req_disconnect_ap */ 7, /* field[7] = req_get_ap_config */ 2, /* field[2] = req_get_mac_address */ 16, /* field[16] = req_get_power_save_mode */ 10, /* field[10] = req_get_softap_config */ 21, /* field[21] = req_get_wifi_curr_tx_power */ 4, /* field[4] = req_get_wifi_mode */ 17, /* field[17] = req_ota_begin */ 19, /* field[19] = req_ota_end */ 18, /* field[18] = req_ota_write */ 6, /* field[6] = req_scan_ap_list */ 3, /* field[3] = req_set_mac_address */ 15, /* field[15] = req_set_power_save_mode */ 11, /* field[11] = req_set_softap_vendor_specific_ie */ 20, /* field[20] = req_set_wifi_max_tx_power */ 5, /* field[5] = req_set_wifi_mode */ 13, /* field[13] = req_softap_connected_stas_list */ 12, /* field[12] = req_start_softap */ 14, /* field[14] = req_stop_softap */ 43, /* field[43] = resp_config_heartbeat */ 29, /* field[29] = resp_connect_ap */ 30, /* field[30] = resp_disconnect_ap */ 28, /* field[28] = resp_get_ap_config */ 23, /* field[23] = resp_get_mac_address */ 37, /* field[37] = resp_get_power_save_mode */ 31, /* field[31] = resp_get_softap_config */ 42, /* field[42] = resp_get_wifi_curr_tx_power */ 25, /* field[25] = resp_get_wifi_mode */ 38, /* field[38] = resp_ota_begin */ 40, /* field[40] = resp_ota_end */ 39, /* field[39] = resp_ota_write */ 27, /* field[27] = resp_scan_ap_list */ 24, /* field[24] = resp_set_mac_address */ 36, /* field[36] = resp_set_power_save_mode */ 32, /* field[32] = resp_set_softap_vendor_specific_ie */ 41, /* field[41] = resp_set_wifi_max_tx_power */ 26, /* field[26] = resp_set_wifi_mode */ 34, /* field[34] = resp_softap_connected_stas_list */ 33, /* field[33] = resp_start_softap */ 35, /* field[35] = resp_stop_softap */ }; static const ProtobufCIntRange ctrl_msg__number_ranges[4 + 1] = { { 1, 0 }, { 101, 2 }, { 201, 23 }, { 301, 44 }, { 0, 48 } }; const ProtobufCMessageDescriptor ctrl_msg__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "CtrlMsg", "CtrlMsg", "CtrlMsg", "", sizeof(CtrlMsg), 48, ctrl_msg__field_descriptors, ctrl_msg__field_indices_by_name, 4, ctrl_msg__number_ranges, (ProtobufCMessageInit) ctrl_msg__init, NULL,NULL,NULL /* reserved[123] */ }; static const ProtobufCEnumValue ctrl__vendor_ietype__enum_values_by_number[5] = { { "Beacon", "CTRL__VENDOR_IETYPE__Beacon", 0 }, { "Probe_req", "CTRL__VENDOR_IETYPE__Probe_req", 1 }, { "Probe_resp", "CTRL__VENDOR_IETYPE__Probe_resp", 2 }, { "Assoc_req", "CTRL__VENDOR_IETYPE__Assoc_req", 3 }, { "Assoc_resp", "CTRL__VENDOR_IETYPE__Assoc_resp", 4 }, }; static const ProtobufCIntRange ctrl__vendor_ietype__value_ranges[] = { {0, 0},{0, 5} }; static const ProtobufCEnumValueIndex ctrl__vendor_ietype__enum_values_by_name[5] = { { "Assoc_req", 3 }, { "Assoc_resp", 4 }, { "Beacon", 0 }, { "Probe_req", 1 }, { "Probe_resp", 2 }, }; const ProtobufCEnumDescriptor ctrl__vendor_ietype__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "Ctrl_VendorIEType", "Ctrl_VendorIEType", "CtrlVendorIEType", "", 5, ctrl__vendor_ietype__enum_values_by_number, 5, ctrl__vendor_ietype__enum_values_by_name, 1, ctrl__vendor_ietype__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue ctrl__vendor_ieid__enum_values_by_number[2] = { { "ID_0", "CTRL__VENDOR_IEID__ID_0", 0 }, { "ID_1", "CTRL__VENDOR_IEID__ID_1", 1 }, }; static const ProtobufCIntRange ctrl__vendor_ieid__value_ranges[] = { {0, 0},{0, 2} }; static const ProtobufCEnumValueIndex ctrl__vendor_ieid__enum_values_by_name[2] = { { "ID_0", 0 }, { "ID_1", 1 }, }; const ProtobufCEnumDescriptor ctrl__vendor_ieid__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "Ctrl_VendorIEID", "Ctrl_VendorIEID", "CtrlVendorIEID", "", 2, ctrl__vendor_ieid__enum_values_by_number, 2, ctrl__vendor_ieid__enum_values_by_name, 1, ctrl__vendor_ieid__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue ctrl__wifi_mode__enum_values_by_number[4] = { { "NONE", "CTRL__WIFI_MODE__NONE", 0 }, { "STA", "CTRL__WIFI_MODE__STA", 1 }, { "AP", "CTRL__WIFI_MODE__AP", 2 }, { "APSTA", "CTRL__WIFI_MODE__APSTA", 3 }, }; static const ProtobufCIntRange ctrl__wifi_mode__value_ranges[] = { {0, 0},{0, 4} }; static const ProtobufCEnumValueIndex ctrl__wifi_mode__enum_values_by_name[4] = { { "AP", 2 }, { "APSTA", 3 }, { "NONE", 0 }, { "STA", 1 }, }; const ProtobufCEnumDescriptor ctrl__wifi_mode__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "Ctrl_WifiMode", "Ctrl_WifiMode", "CtrlWifiMode", "", 4, ctrl__wifi_mode__enum_values_by_number, 4, ctrl__wifi_mode__enum_values_by_name, 1, ctrl__wifi_mode__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue ctrl__wifi_bw__enum_values_by_number[3] = { { "BW_Invalid", "CTRL__WIFI_BW__BW_Invalid", 0 }, { "HT20", "CTRL__WIFI_BW__HT20", 1 }, { "HT40", "CTRL__WIFI_BW__HT40", 2 }, }; static const ProtobufCIntRange ctrl__wifi_bw__value_ranges[] = { {0, 0},{0, 3} }; static const ProtobufCEnumValueIndex ctrl__wifi_bw__enum_values_by_name[3] = { { "BW_Invalid", 0 }, { "HT20", 1 }, { "HT40", 2 }, }; const ProtobufCEnumDescriptor ctrl__wifi_bw__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "Ctrl_WifiBw", "Ctrl_WifiBw", "CtrlWifiBw", "", 3, ctrl__wifi_bw__enum_values_by_number, 3, ctrl__wifi_bw__enum_values_by_name, 1, ctrl__wifi_bw__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue ctrl__wifi_power_save__enum_values_by_number[3] = { { "PS_Invalid", "CTRL__WIFI_POWER_SAVE__PS_Invalid", 0 }, { "MIN_MODEM", "CTRL__WIFI_POWER_SAVE__MIN_MODEM", 1 }, { "MAX_MODEM", "CTRL__WIFI_POWER_SAVE__MAX_MODEM", 2 }, }; static const ProtobufCIntRange ctrl__wifi_power_save__value_ranges[] = { {0, 0},{0, 3} }; static const ProtobufCEnumValueIndex ctrl__wifi_power_save__enum_values_by_name[3] = { { "MAX_MODEM", 2 }, { "MIN_MODEM", 1 }, { "PS_Invalid", 0 }, }; const ProtobufCEnumDescriptor ctrl__wifi_power_save__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "Ctrl_WifiPowerSave", "Ctrl_WifiPowerSave", "CtrlWifiPowerSave", "", 3, ctrl__wifi_power_save__enum_values_by_number, 3, ctrl__wifi_power_save__enum_values_by_name, 1, ctrl__wifi_power_save__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue ctrl__wifi_sec_prot__enum_values_by_number[8] = { { "Open", "CTRL__WIFI_SEC_PROT__Open", 0 }, { "WEP", "CTRL__WIFI_SEC_PROT__WEP", 1 }, { "WPA_PSK", "CTRL__WIFI_SEC_PROT__WPA_PSK", 2 }, { "WPA2_PSK", "CTRL__WIFI_SEC_PROT__WPA2_PSK", 3 }, { "WPA_WPA2_PSK", "CTRL__WIFI_SEC_PROT__WPA_WPA2_PSK", 4 }, { "WPA2_ENTERPRISE", "CTRL__WIFI_SEC_PROT__WPA2_ENTERPRISE", 5 }, { "WPA3_PSK", "CTRL__WIFI_SEC_PROT__WPA3_PSK", 6 }, { "WPA2_WPA3_PSK", "CTRL__WIFI_SEC_PROT__WPA2_WPA3_PSK", 7 }, }; static const ProtobufCIntRange ctrl__wifi_sec_prot__value_ranges[] = { {0, 0},{0, 8} }; static const ProtobufCEnumValueIndex ctrl__wifi_sec_prot__enum_values_by_name[8] = { { "Open", 0 }, { "WEP", 1 }, { "WPA2_ENTERPRISE", 5 }, { "WPA2_PSK", 3 }, { "WPA2_WPA3_PSK", 7 }, { "WPA3_PSK", 6 }, { "WPA_PSK", 2 }, { "WPA_WPA2_PSK", 4 }, }; const ProtobufCEnumDescriptor ctrl__wifi_sec_prot__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "Ctrl_WifiSecProt", "Ctrl_WifiSecProt", "CtrlWifiSecProt", "", 8, ctrl__wifi_sec_prot__enum_values_by_number, 8, ctrl__wifi_sec_prot__enum_values_by_name, 1, ctrl__wifi_sec_prot__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue ctrl__status__enum_values_by_number[6] = { { "Connected", "CTRL__STATUS__Connected", 0 }, { "Not_Connected", "CTRL__STATUS__Not_Connected", 1 }, { "No_AP_Found", "CTRL__STATUS__No_AP_Found", 2 }, { "Connection_Fail", "CTRL__STATUS__Connection_Fail", 3 }, { "Invalid_Argument", "CTRL__STATUS__Invalid_Argument", 4 }, { "Out_Of_Range", "CTRL__STATUS__Out_Of_Range", 5 }, }; static const ProtobufCIntRange ctrl__status__value_ranges[] = { {0, 0},{0, 6} }; static const ProtobufCEnumValueIndex ctrl__status__enum_values_by_name[6] = { { "Connected", 0 }, { "Connection_Fail", 3 }, { "Invalid_Argument", 4 }, { "No_AP_Found", 2 }, { "Not_Connected", 1 }, { "Out_Of_Range", 5 }, }; const ProtobufCEnumDescriptor ctrl__status__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "Ctrl_Status", "Ctrl_Status", "CtrlStatus", "", 6, ctrl__status__enum_values_by_number, 6, ctrl__status__enum_values_by_name, 1, ctrl__status__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue ctrl_msg_type__enum_values_by_number[5] = { { "MsgType_Invalid", "CTRL_MSG_TYPE__MsgType_Invalid", 0 }, { "Req", "CTRL_MSG_TYPE__Req", 1 }, { "Resp", "CTRL_MSG_TYPE__Resp", 2 }, { "Event", "CTRL_MSG_TYPE__Event", 3 }, { "MsgType_Max", "CTRL_MSG_TYPE__MsgType_Max", 4 }, }; static const ProtobufCIntRange ctrl_msg_type__value_ranges[] = { {0, 0},{0, 5} }; static const ProtobufCEnumValueIndex ctrl_msg_type__enum_values_by_name[5] = { { "Event", 3 }, { "MsgType_Invalid", 0 }, { "MsgType_Max", 4 }, { "Req", 1 }, { "Resp", 2 }, }; const ProtobufCEnumDescriptor ctrl_msg_type__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "CtrlMsgType", "CtrlMsgType", "CtrlMsgType", "", 5, ctrl_msg_type__enum_values_by_number, 5, ctrl_msg_type__enum_values_by_name, 1, ctrl_msg_type__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ }; static const ProtobufCEnumValue ctrl_msg_id__enum_values_by_number[53] = { { "MsgId_Invalid", "CTRL_MSG_ID__MsgId_Invalid", 0 }, { "Req_Base", "CTRL_MSG_ID__Req_Base", 100 }, { "Req_GetMACAddress", "CTRL_MSG_ID__Req_GetMACAddress", 101 }, { "Req_SetMacAddress", "CTRL_MSG_ID__Req_SetMacAddress", 102 }, { "Req_GetWifiMode", "CTRL_MSG_ID__Req_GetWifiMode", 103 }, { "Req_SetWifiMode", "CTRL_MSG_ID__Req_SetWifiMode", 104 }, { "Req_GetAPScanList", "CTRL_MSG_ID__Req_GetAPScanList", 105 }, { "Req_GetAPConfig", "CTRL_MSG_ID__Req_GetAPConfig", 106 }, { "Req_ConnectAP", "CTRL_MSG_ID__Req_ConnectAP", 107 }, { "Req_DisconnectAP", "CTRL_MSG_ID__Req_DisconnectAP", 108 }, { "Req_GetSoftAPConfig", "CTRL_MSG_ID__Req_GetSoftAPConfig", 109 }, { "Req_SetSoftAPVendorSpecificIE", "CTRL_MSG_ID__Req_SetSoftAPVendorSpecificIE", 110 }, { "Req_StartSoftAP", "CTRL_MSG_ID__Req_StartSoftAP", 111 }, { "Req_GetSoftAPConnectedSTAList", "CTRL_MSG_ID__Req_GetSoftAPConnectedSTAList", 112 }, { "Req_StopSoftAP", "CTRL_MSG_ID__Req_StopSoftAP", 113 }, { "Req_SetPowerSaveMode", "CTRL_MSG_ID__Req_SetPowerSaveMode", 114 }, { "Req_GetPowerSaveMode", "CTRL_MSG_ID__Req_GetPowerSaveMode", 115 }, { "Req_OTABegin", "CTRL_MSG_ID__Req_OTABegin", 116 }, { "Req_OTAWrite", "CTRL_MSG_ID__Req_OTAWrite", 117 }, { "Req_OTAEnd", "CTRL_MSG_ID__Req_OTAEnd", 118 }, { "Req_SetWifiMaxTxPower", "CTRL_MSG_ID__Req_SetWifiMaxTxPower", 119 }, { "Req_GetWifiCurrTxPower", "CTRL_MSG_ID__Req_GetWifiCurrTxPower", 120 }, { "Req_ConfigHeartbeat", "CTRL_MSG_ID__Req_ConfigHeartbeat", 121 }, { "Req_Max", "CTRL_MSG_ID__Req_Max", 122 }, { "Resp_Base", "CTRL_MSG_ID__Resp_Base", 200 }, { "Resp_GetMACAddress", "CTRL_MSG_ID__Resp_GetMACAddress", 201 }, { "Resp_SetMacAddress", "CTRL_MSG_ID__Resp_SetMacAddress", 202 }, { "Resp_GetWifiMode", "CTRL_MSG_ID__Resp_GetWifiMode", 203 }, { "Resp_SetWifiMode", "CTRL_MSG_ID__Resp_SetWifiMode", 204 }, { "Resp_GetAPScanList", "CTRL_MSG_ID__Resp_GetAPScanList", 205 }, { "Resp_GetAPConfig", "CTRL_MSG_ID__Resp_GetAPConfig", 206 }, { "Resp_ConnectAP", "CTRL_MSG_ID__Resp_ConnectAP", 207 }, { "Resp_DisconnectAP", "CTRL_MSG_ID__Resp_DisconnectAP", 208 }, { "Resp_GetSoftAPConfig", "CTRL_MSG_ID__Resp_GetSoftAPConfig", 209 }, { "Resp_SetSoftAPVendorSpecificIE", "CTRL_MSG_ID__Resp_SetSoftAPVendorSpecificIE", 210 }, { "Resp_StartSoftAP", "CTRL_MSG_ID__Resp_StartSoftAP", 211 }, { "Resp_GetSoftAPConnectedSTAList", "CTRL_MSG_ID__Resp_GetSoftAPConnectedSTAList", 212 }, { "Resp_StopSoftAP", "CTRL_MSG_ID__Resp_StopSoftAP", 213 }, { "Resp_SetPowerSaveMode", "CTRL_MSG_ID__Resp_SetPowerSaveMode", 214 }, { "Resp_GetPowerSaveMode", "CTRL_MSG_ID__Resp_GetPowerSaveMode", 215 }, { "Resp_OTABegin", "CTRL_MSG_ID__Resp_OTABegin", 216 }, { "Resp_OTAWrite", "CTRL_MSG_ID__Resp_OTAWrite", 217 }, { "Resp_OTAEnd", "CTRL_MSG_ID__Resp_OTAEnd", 218 }, { "Resp_SetWifiMaxTxPower", "CTRL_MSG_ID__Resp_SetWifiMaxTxPower", 219 }, { "Resp_GetWifiCurrTxPower", "CTRL_MSG_ID__Resp_GetWifiCurrTxPower", 220 }, { "Resp_ConfigHeartbeat", "CTRL_MSG_ID__Resp_ConfigHeartbeat", 221 }, { "Resp_Max", "CTRL_MSG_ID__Resp_Max", 222 }, { "Event_Base", "CTRL_MSG_ID__Event_Base", 300 }, { "Event_ESPInit", "CTRL_MSG_ID__Event_ESPInit", 301 }, { "Event_Heartbeat", "CTRL_MSG_ID__Event_Heartbeat", 302 }, { "Event_StationDisconnectFromAP", "CTRL_MSG_ID__Event_StationDisconnectFromAP", 303 }, { "Event_StationDisconnectFromESPSoftAP", "CTRL_MSG_ID__Event_StationDisconnectFromESPSoftAP", 304 }, { "Event_Max", "CTRL_MSG_ID__Event_Max", 305 }, }; static const ProtobufCIntRange ctrl_msg_id__value_ranges[] = { {0, 0},{100, 1},{200, 24},{300, 47},{0, 53} }; static const ProtobufCEnumValueIndex ctrl_msg_id__enum_values_by_name[53] = { { "Event_Base", 47 }, { "Event_ESPInit", 48 }, { "Event_Heartbeat", 49 }, { "Event_Max", 52 }, { "Event_StationDisconnectFromAP", 50 }, { "Event_StationDisconnectFromESPSoftAP", 51 }, { "MsgId_Invalid", 0 }, { "Req_Base", 1 }, { "Req_ConfigHeartbeat", 22 }, { "Req_ConnectAP", 8 }, { "Req_DisconnectAP", 9 }, { "Req_GetAPConfig", 7 }, { "Req_GetAPScanList", 6 }, { "Req_GetMACAddress", 2 }, { "Req_GetPowerSaveMode", 16 }, { "Req_GetSoftAPConfig", 10 }, { "Req_GetSoftAPConnectedSTAList", 13 }, { "Req_GetWifiCurrTxPower", 21 }, { "Req_GetWifiMode", 4 }, { "Req_Max", 23 }, { "Req_OTABegin", 17 }, { "Req_OTAEnd", 19 }, { "Req_OTAWrite", 18 }, { "Req_SetMacAddress", 3 }, { "Req_SetPowerSaveMode", 15 }, { "Req_SetSoftAPVendorSpecificIE", 11 }, { "Req_SetWifiMaxTxPower", 20 }, { "Req_SetWifiMode", 5 }, { "Req_StartSoftAP", 12 }, { "Req_StopSoftAP", 14 }, { "Resp_Base", 24 }, { "Resp_ConfigHeartbeat", 45 }, { "Resp_ConnectAP", 31 }, { "Resp_DisconnectAP", 32 }, { "Resp_GetAPConfig", 30 }, { "Resp_GetAPScanList", 29 }, { "Resp_GetMACAddress", 25 }, { "Resp_GetPowerSaveMode", 39 }, { "Resp_GetSoftAPConfig", 33 }, { "Resp_GetSoftAPConnectedSTAList", 36 }, { "Resp_GetWifiCurrTxPower", 44 }, { "Resp_GetWifiMode", 27 }, { "Resp_Max", 46 }, { "Resp_OTABegin", 40 }, { "Resp_OTAEnd", 42 }, { "Resp_OTAWrite", 41 }, { "Resp_SetMacAddress", 26 }, { "Resp_SetPowerSaveMode", 38 }, { "Resp_SetSoftAPVendorSpecificIE", 34 }, { "Resp_SetWifiMaxTxPower", 43 }, { "Resp_SetWifiMode", 28 }, { "Resp_StartSoftAP", 35 }, { "Resp_StopSoftAP", 37 }, }; const ProtobufCEnumDescriptor ctrl_msg_id__descriptor = { PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC, "CtrlMsgId", "CtrlMsgId", "CtrlMsgId", "", 53, ctrl_msg_id__enum_values_by_number, 53, ctrl_msg_id__enum_values_by_name, 4, ctrl_msg_id__value_ranges, NULL,NULL,NULL,NULL /* reserved[1234] */ };