/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: network_scan.proto */

/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif

#include "network_scan.pb-c.h"
void   cmd_scan_wifi_start__init
                     (CmdScanWifiStart         *message)
{
  static const CmdScanWifiStart init_value = CMD_SCAN_WIFI_START__INIT;
  *message = init_value;
}
size_t cmd_scan_wifi_start__get_packed_size
                     (const CmdScanWifiStart *message)
{
  assert(message->base.descriptor == &cmd_scan_wifi_start__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t cmd_scan_wifi_start__pack
                     (const CmdScanWifiStart *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &cmd_scan_wifi_start__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t cmd_scan_wifi_start__pack_to_buffer
                     (const CmdScanWifiStart *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &cmd_scan_wifi_start__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CmdScanWifiStart *
       cmd_scan_wifi_start__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CmdScanWifiStart *)
     protobuf_c_message_unpack (&cmd_scan_wifi_start__descriptor,
                                allocator, len, data);
}
void   cmd_scan_wifi_start__free_unpacked
                     (CmdScanWifiStart *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &cmd_scan_wifi_start__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   cmd_scan_thread_start__init
                     (CmdScanThreadStart         *message)
{
  static const CmdScanThreadStart init_value = CMD_SCAN_THREAD_START__INIT;
  *message = init_value;
}
size_t cmd_scan_thread_start__get_packed_size
                     (const CmdScanThreadStart *message)
{
  assert(message->base.descriptor == &cmd_scan_thread_start__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t cmd_scan_thread_start__pack
                     (const CmdScanThreadStart *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &cmd_scan_thread_start__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t cmd_scan_thread_start__pack_to_buffer
                     (const CmdScanThreadStart *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &cmd_scan_thread_start__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CmdScanThreadStart *
       cmd_scan_thread_start__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CmdScanThreadStart *)
     protobuf_c_message_unpack (&cmd_scan_thread_start__descriptor,
                                allocator, len, data);
}
void   cmd_scan_thread_start__free_unpacked
                     (CmdScanThreadStart *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &cmd_scan_thread_start__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   resp_scan_wifi_start__init
                     (RespScanWifiStart         *message)
{
  static const RespScanWifiStart init_value = RESP_SCAN_WIFI_START__INIT;
  *message = init_value;
}
size_t resp_scan_wifi_start__get_packed_size
                     (const RespScanWifiStart *message)
{
  assert(message->base.descriptor == &resp_scan_wifi_start__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t resp_scan_wifi_start__pack
                     (const RespScanWifiStart *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &resp_scan_wifi_start__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t resp_scan_wifi_start__pack_to_buffer
                     (const RespScanWifiStart *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &resp_scan_wifi_start__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
RespScanWifiStart *
       resp_scan_wifi_start__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (RespScanWifiStart *)
     protobuf_c_message_unpack (&resp_scan_wifi_start__descriptor,
                                allocator, len, data);
}
void   resp_scan_wifi_start__free_unpacked
                     (RespScanWifiStart *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &resp_scan_wifi_start__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   resp_scan_thread_start__init
                     (RespScanThreadStart         *message)
{
  static const RespScanThreadStart init_value = RESP_SCAN_THREAD_START__INIT;
  *message = init_value;
}
size_t resp_scan_thread_start__get_packed_size
                     (const RespScanThreadStart *message)
{
  assert(message->base.descriptor == &resp_scan_thread_start__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t resp_scan_thread_start__pack
                     (const RespScanThreadStart *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &resp_scan_thread_start__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t resp_scan_thread_start__pack_to_buffer
                     (const RespScanThreadStart *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &resp_scan_thread_start__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
RespScanThreadStart *
       resp_scan_thread_start__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (RespScanThreadStart *)
     protobuf_c_message_unpack (&resp_scan_thread_start__descriptor,
                                allocator, len, data);
}
void   resp_scan_thread_start__free_unpacked
                     (RespScanThreadStart *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &resp_scan_thread_start__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   cmd_scan_wifi_status__init
                     (CmdScanWifiStatus         *message)
{
  static const CmdScanWifiStatus init_value = CMD_SCAN_WIFI_STATUS__INIT;
  *message = init_value;
}
size_t cmd_scan_wifi_status__get_packed_size
                     (const CmdScanWifiStatus *message)
{
  assert(message->base.descriptor == &cmd_scan_wifi_status__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t cmd_scan_wifi_status__pack
                     (const CmdScanWifiStatus *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &cmd_scan_wifi_status__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t cmd_scan_wifi_status__pack_to_buffer
                     (const CmdScanWifiStatus *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &cmd_scan_wifi_status__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CmdScanWifiStatus *
       cmd_scan_wifi_status__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CmdScanWifiStatus *)
     protobuf_c_message_unpack (&cmd_scan_wifi_status__descriptor,
                                allocator, len, data);
}
void   cmd_scan_wifi_status__free_unpacked
                     (CmdScanWifiStatus *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &cmd_scan_wifi_status__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   cmd_scan_thread_status__init
                     (CmdScanThreadStatus         *message)
{
  static const CmdScanThreadStatus init_value = CMD_SCAN_THREAD_STATUS__INIT;
  *message = init_value;
}
size_t cmd_scan_thread_status__get_packed_size
                     (const CmdScanThreadStatus *message)
{
  assert(message->base.descriptor == &cmd_scan_thread_status__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t cmd_scan_thread_status__pack
                     (const CmdScanThreadStatus *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &cmd_scan_thread_status__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t cmd_scan_thread_status__pack_to_buffer
                     (const CmdScanThreadStatus *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &cmd_scan_thread_status__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CmdScanThreadStatus *
       cmd_scan_thread_status__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CmdScanThreadStatus *)
     protobuf_c_message_unpack (&cmd_scan_thread_status__descriptor,
                                allocator, len, data);
}
void   cmd_scan_thread_status__free_unpacked
                     (CmdScanThreadStatus *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &cmd_scan_thread_status__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   resp_scan_wifi_status__init
                     (RespScanWifiStatus         *message)
{
  static const RespScanWifiStatus init_value = RESP_SCAN_WIFI_STATUS__INIT;
  *message = init_value;
}
size_t resp_scan_wifi_status__get_packed_size
                     (const RespScanWifiStatus *message)
{
  assert(message->base.descriptor == &resp_scan_wifi_status__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t resp_scan_wifi_status__pack
                     (const RespScanWifiStatus *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &resp_scan_wifi_status__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t resp_scan_wifi_status__pack_to_buffer
                     (const RespScanWifiStatus *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &resp_scan_wifi_status__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
RespScanWifiStatus *
       resp_scan_wifi_status__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (RespScanWifiStatus *)
     protobuf_c_message_unpack (&resp_scan_wifi_status__descriptor,
                                allocator, len, data);
}
void   resp_scan_wifi_status__free_unpacked
                     (RespScanWifiStatus *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &resp_scan_wifi_status__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   resp_scan_thread_status__init
                     (RespScanThreadStatus         *message)
{
  static const RespScanThreadStatus init_value = RESP_SCAN_THREAD_STATUS__INIT;
  *message = init_value;
}
size_t resp_scan_thread_status__get_packed_size
                     (const RespScanThreadStatus *message)
{
  assert(message->base.descriptor == &resp_scan_thread_status__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t resp_scan_thread_status__pack
                     (const RespScanThreadStatus *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &resp_scan_thread_status__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t resp_scan_thread_status__pack_to_buffer
                     (const RespScanThreadStatus *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &resp_scan_thread_status__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
RespScanThreadStatus *
       resp_scan_thread_status__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (RespScanThreadStatus *)
     protobuf_c_message_unpack (&resp_scan_thread_status__descriptor,
                                allocator, len, data);
}
void   resp_scan_thread_status__free_unpacked
                     (RespScanThreadStatus *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &resp_scan_thread_status__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   cmd_scan_wifi_result__init
                     (CmdScanWifiResult         *message)
{
  static const CmdScanWifiResult init_value = CMD_SCAN_WIFI_RESULT__INIT;
  *message = init_value;
}
size_t cmd_scan_wifi_result__get_packed_size
                     (const CmdScanWifiResult *message)
{
  assert(message->base.descriptor == &cmd_scan_wifi_result__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t cmd_scan_wifi_result__pack
                     (const CmdScanWifiResult *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &cmd_scan_wifi_result__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t cmd_scan_wifi_result__pack_to_buffer
                     (const CmdScanWifiResult *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &cmd_scan_wifi_result__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CmdScanWifiResult *
       cmd_scan_wifi_result__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CmdScanWifiResult *)
     protobuf_c_message_unpack (&cmd_scan_wifi_result__descriptor,
                                allocator, len, data);
}
void   cmd_scan_wifi_result__free_unpacked
                     (CmdScanWifiResult *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &cmd_scan_wifi_result__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   cmd_scan_thread_result__init
                     (CmdScanThreadResult         *message)
{
  static const CmdScanThreadResult init_value = CMD_SCAN_THREAD_RESULT__INIT;
  *message = init_value;
}
size_t cmd_scan_thread_result__get_packed_size
                     (const CmdScanThreadResult *message)
{
  assert(message->base.descriptor == &cmd_scan_thread_result__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t cmd_scan_thread_result__pack
                     (const CmdScanThreadResult *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &cmd_scan_thread_result__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t cmd_scan_thread_result__pack_to_buffer
                     (const CmdScanThreadResult *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &cmd_scan_thread_result__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
CmdScanThreadResult *
       cmd_scan_thread_result__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (CmdScanThreadResult *)
     protobuf_c_message_unpack (&cmd_scan_thread_result__descriptor,
                                allocator, len, data);
}
void   cmd_scan_thread_result__free_unpacked
                     (CmdScanThreadResult *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &cmd_scan_thread_result__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   wi_fi_scan_result__init
                     (WiFiScanResult         *message)
{
  static const WiFiScanResult init_value = WI_FI_SCAN_RESULT__INIT;
  *message = init_value;
}
size_t wi_fi_scan_result__get_packed_size
                     (const WiFiScanResult *message)
{
  assert(message->base.descriptor == &wi_fi_scan_result__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t wi_fi_scan_result__pack
                     (const WiFiScanResult *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &wi_fi_scan_result__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t wi_fi_scan_result__pack_to_buffer
                     (const WiFiScanResult *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &wi_fi_scan_result__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
WiFiScanResult *
       wi_fi_scan_result__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (WiFiScanResult *)
     protobuf_c_message_unpack (&wi_fi_scan_result__descriptor,
                                allocator, len, data);
}
void   wi_fi_scan_result__free_unpacked
                     (WiFiScanResult *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &wi_fi_scan_result__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   thread_scan_result__init
                     (ThreadScanResult         *message)
{
  static const ThreadScanResult init_value = THREAD_SCAN_RESULT__INIT;
  *message = init_value;
}
size_t thread_scan_result__get_packed_size
                     (const ThreadScanResult *message)
{
  assert(message->base.descriptor == &thread_scan_result__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t thread_scan_result__pack
                     (const ThreadScanResult *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &thread_scan_result__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t thread_scan_result__pack_to_buffer
                     (const ThreadScanResult *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &thread_scan_result__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
ThreadScanResult *
       thread_scan_result__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (ThreadScanResult *)
     protobuf_c_message_unpack (&thread_scan_result__descriptor,
                                allocator, len, data);
}
void   thread_scan_result__free_unpacked
                     (ThreadScanResult *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &thread_scan_result__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   resp_scan_wifi_result__init
                     (RespScanWifiResult         *message)
{
  static const RespScanWifiResult init_value = RESP_SCAN_WIFI_RESULT__INIT;
  *message = init_value;
}
size_t resp_scan_wifi_result__get_packed_size
                     (const RespScanWifiResult *message)
{
  assert(message->base.descriptor == &resp_scan_wifi_result__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t resp_scan_wifi_result__pack
                     (const RespScanWifiResult *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &resp_scan_wifi_result__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t resp_scan_wifi_result__pack_to_buffer
                     (const RespScanWifiResult *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &resp_scan_wifi_result__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
RespScanWifiResult *
       resp_scan_wifi_result__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (RespScanWifiResult *)
     protobuf_c_message_unpack (&resp_scan_wifi_result__descriptor,
                                allocator, len, data);
}
void   resp_scan_wifi_result__free_unpacked
                     (RespScanWifiResult *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &resp_scan_wifi_result__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   resp_scan_thread_result__init
                     (RespScanThreadResult         *message)
{
  static const RespScanThreadResult init_value = RESP_SCAN_THREAD_RESULT__INIT;
  *message = init_value;
}
size_t resp_scan_thread_result__get_packed_size
                     (const RespScanThreadResult *message)
{
  assert(message->base.descriptor == &resp_scan_thread_result__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t resp_scan_thread_result__pack
                     (const RespScanThreadResult *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &resp_scan_thread_result__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t resp_scan_thread_result__pack_to_buffer
                     (const RespScanThreadResult *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &resp_scan_thread_result__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
RespScanThreadResult *
       resp_scan_thread_result__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (RespScanThreadResult *)
     protobuf_c_message_unpack (&resp_scan_thread_result__descriptor,
                                allocator, len, data);
}
void   resp_scan_thread_result__free_unpacked
                     (RespScanThreadResult *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &resp_scan_thread_result__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
void   network_scan_payload__init
                     (NetworkScanPayload         *message)
{
  static const NetworkScanPayload init_value = NETWORK_SCAN_PAYLOAD__INIT;
  *message = init_value;
}
size_t network_scan_payload__get_packed_size
                     (const NetworkScanPayload *message)
{
  assert(message->base.descriptor == &network_scan_payload__descriptor);
  return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
}
size_t network_scan_payload__pack
                     (const NetworkScanPayload *message,
                      uint8_t       *out)
{
  assert(message->base.descriptor == &network_scan_payload__descriptor);
  return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
}
size_t network_scan_payload__pack_to_buffer
                     (const NetworkScanPayload *message,
                      ProtobufCBuffer *buffer)
{
  assert(message->base.descriptor == &network_scan_payload__descriptor);
  return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
}
NetworkScanPayload *
       network_scan_payload__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data)
{
  return (NetworkScanPayload *)
     protobuf_c_message_unpack (&network_scan_payload__descriptor,
                                allocator, len, data);
}
void   network_scan_payload__free_unpacked
                     (NetworkScanPayload *message,
                      ProtobufCAllocator *allocator)
{
  if(!message)
    return;
  assert(message->base.descriptor == &network_scan_payload__descriptor);
  protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
}
static const ProtobufCFieldDescriptor cmd_scan_wifi_start__field_descriptors[4] =
{
  {
    "blocking",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BOOL,
    0,   /* quantifier_offset */
    offsetof(CmdScanWifiStart, blocking),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "passive",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BOOL,
    0,   /* quantifier_offset */
    offsetof(CmdScanWifiStart, passive),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "group_channels",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CmdScanWifiStart, group_channels),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "period_ms",
    4,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CmdScanWifiStart, period_ms),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned cmd_scan_wifi_start__field_indices_by_name[] = {
  0,   /* field[0] = blocking */
  2,   /* field[2] = group_channels */
  1,   /* field[1] = passive */
  3,   /* field[3] = period_ms */
};
static const ProtobufCIntRange cmd_scan_wifi_start__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 4 }
};
const ProtobufCMessageDescriptor cmd_scan_wifi_start__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "CmdScanWifiStart",
  "CmdScanWifiStart",
  "CmdScanWifiStart",
  "",
  sizeof(CmdScanWifiStart),
  4,
  cmd_scan_wifi_start__field_descriptors,
  cmd_scan_wifi_start__field_indices_by_name,
  1,  cmd_scan_wifi_start__number_ranges,
  (ProtobufCMessageInit) cmd_scan_wifi_start__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor cmd_scan_thread_start__field_descriptors[2] =
{
  {
    "blocking",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BOOL,
    0,   /* quantifier_offset */
    offsetof(CmdScanThreadStart, blocking),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "channel_mask",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CmdScanThreadStart, channel_mask),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned cmd_scan_thread_start__field_indices_by_name[] = {
  0,   /* field[0] = blocking */
  1,   /* field[1] = channel_mask */
};
static const ProtobufCIntRange cmd_scan_thread_start__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor cmd_scan_thread_start__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "CmdScanThreadStart",
  "CmdScanThreadStart",
  "CmdScanThreadStart",
  "",
  sizeof(CmdScanThreadStart),
  2,
  cmd_scan_thread_start__field_descriptors,
  cmd_scan_thread_start__field_indices_by_name,
  1,  cmd_scan_thread_start__number_ranges,
  (ProtobufCMessageInit) cmd_scan_thread_start__init,
  NULL,NULL,NULL    /* reserved[123] */
};
#define resp_scan_wifi_start__field_descriptors NULL
#define resp_scan_wifi_start__field_indices_by_name NULL
#define resp_scan_wifi_start__number_ranges NULL
const ProtobufCMessageDescriptor resp_scan_wifi_start__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "RespScanWifiStart",
  "RespScanWifiStart",
  "RespScanWifiStart",
  "",
  sizeof(RespScanWifiStart),
  0,
  resp_scan_wifi_start__field_descriptors,
  resp_scan_wifi_start__field_indices_by_name,
  0,  resp_scan_wifi_start__number_ranges,
  (ProtobufCMessageInit) resp_scan_wifi_start__init,
  NULL,NULL,NULL    /* reserved[123] */
};
#define resp_scan_thread_start__field_descriptors NULL
#define resp_scan_thread_start__field_indices_by_name NULL
#define resp_scan_thread_start__number_ranges NULL
const ProtobufCMessageDescriptor resp_scan_thread_start__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "RespScanThreadStart",
  "RespScanThreadStart",
  "RespScanThreadStart",
  "",
  sizeof(RespScanThreadStart),
  0,
  resp_scan_thread_start__field_descriptors,
  resp_scan_thread_start__field_indices_by_name,
  0,  resp_scan_thread_start__number_ranges,
  (ProtobufCMessageInit) resp_scan_thread_start__init,
  NULL,NULL,NULL    /* reserved[123] */
};
#define cmd_scan_wifi_status__field_descriptors NULL
#define cmd_scan_wifi_status__field_indices_by_name NULL
#define cmd_scan_wifi_status__number_ranges NULL
const ProtobufCMessageDescriptor cmd_scan_wifi_status__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "CmdScanWifiStatus",
  "CmdScanWifiStatus",
  "CmdScanWifiStatus",
  "",
  sizeof(CmdScanWifiStatus),
  0,
  cmd_scan_wifi_status__field_descriptors,
  cmd_scan_wifi_status__field_indices_by_name,
  0,  cmd_scan_wifi_status__number_ranges,
  (ProtobufCMessageInit) cmd_scan_wifi_status__init,
  NULL,NULL,NULL    /* reserved[123] */
};
#define cmd_scan_thread_status__field_descriptors NULL
#define cmd_scan_thread_status__field_indices_by_name NULL
#define cmd_scan_thread_status__number_ranges NULL
const ProtobufCMessageDescriptor cmd_scan_thread_status__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "CmdScanThreadStatus",
  "CmdScanThreadStatus",
  "CmdScanThreadStatus",
  "",
  sizeof(CmdScanThreadStatus),
  0,
  cmd_scan_thread_status__field_descriptors,
  cmd_scan_thread_status__field_indices_by_name,
  0,  cmd_scan_thread_status__number_ranges,
  (ProtobufCMessageInit) cmd_scan_thread_status__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor resp_scan_wifi_status__field_descriptors[2] =
{
  {
    "scan_finished",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BOOL,
    0,   /* quantifier_offset */
    offsetof(RespScanWifiStatus, scan_finished),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "result_count",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(RespScanWifiStatus, result_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned resp_scan_wifi_status__field_indices_by_name[] = {
  1,   /* field[1] = result_count */
  0,   /* field[0] = scan_finished */
};
static const ProtobufCIntRange resp_scan_wifi_status__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor resp_scan_wifi_status__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "RespScanWifiStatus",
  "RespScanWifiStatus",
  "RespScanWifiStatus",
  "",
  sizeof(RespScanWifiStatus),
  2,
  resp_scan_wifi_status__field_descriptors,
  resp_scan_wifi_status__field_indices_by_name,
  1,  resp_scan_wifi_status__number_ranges,
  (ProtobufCMessageInit) resp_scan_wifi_status__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor resp_scan_thread_status__field_descriptors[2] =
{
  {
    "scan_finished",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BOOL,
    0,   /* quantifier_offset */
    offsetof(RespScanThreadStatus, scan_finished),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "result_count",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(RespScanThreadStatus, result_count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned resp_scan_thread_status__field_indices_by_name[] = {
  1,   /* field[1] = result_count */
  0,   /* field[0] = scan_finished */
};
static const ProtobufCIntRange resp_scan_thread_status__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor resp_scan_thread_status__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "RespScanThreadStatus",
  "RespScanThreadStatus",
  "RespScanThreadStatus",
  "",
  sizeof(RespScanThreadStatus),
  2,
  resp_scan_thread_status__field_descriptors,
  resp_scan_thread_status__field_indices_by_name,
  1,  resp_scan_thread_status__number_ranges,
  (ProtobufCMessageInit) resp_scan_thread_status__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor cmd_scan_wifi_result__field_descriptors[2] =
{
  {
    "start_index",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CmdScanWifiResult, start_index),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "count",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CmdScanWifiResult, count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned cmd_scan_wifi_result__field_indices_by_name[] = {
  1,   /* field[1] = count */
  0,   /* field[0] = start_index */
};
static const ProtobufCIntRange cmd_scan_wifi_result__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor cmd_scan_wifi_result__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "CmdScanWifiResult",
  "CmdScanWifiResult",
  "CmdScanWifiResult",
  "",
  sizeof(CmdScanWifiResult),
  2,
  cmd_scan_wifi_result__field_descriptors,
  cmd_scan_wifi_result__field_indices_by_name,
  1,  cmd_scan_wifi_result__number_ranges,
  (ProtobufCMessageInit) cmd_scan_wifi_result__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor cmd_scan_thread_result__field_descriptors[2] =
{
  {
    "start_index",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CmdScanThreadResult, start_index),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "count",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(CmdScanThreadResult, count),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned cmd_scan_thread_result__field_indices_by_name[] = {
  1,   /* field[1] = count */
  0,   /* field[0] = start_index */
};
static const ProtobufCIntRange cmd_scan_thread_result__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 2 }
};
const ProtobufCMessageDescriptor cmd_scan_thread_result__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "CmdScanThreadResult",
  "CmdScanThreadResult",
  "CmdScanThreadResult",
  "",
  sizeof(CmdScanThreadResult),
  2,
  cmd_scan_thread_result__field_descriptors,
  cmd_scan_thread_result__field_indices_by_name,
  1,  cmd_scan_thread_result__number_ranges,
  (ProtobufCMessageInit) cmd_scan_thread_result__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor wi_fi_scan_result__field_descriptors[5] =
{
  {
    "ssid",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(WiFiScanResult, ssid),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "channel",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(WiFiScanResult, channel),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "rssi",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT32,
    0,   /* quantifier_offset */
    offsetof(WiFiScanResult, 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(WiFiScanResult, bssid),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "auth",
    5,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_ENUM,
    0,   /* quantifier_offset */
    offsetof(WiFiScanResult, auth),
    &wifi_auth_mode__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned wi_fi_scan_result__field_indices_by_name[] = {
  4,   /* field[4] = auth */
  3,   /* field[3] = bssid */
  1,   /* field[1] = channel */
  2,   /* field[2] = rssi */
  0,   /* field[0] = ssid */
};
static const ProtobufCIntRange wi_fi_scan_result__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 5 }
};
const ProtobufCMessageDescriptor wi_fi_scan_result__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "WiFiScanResult",
  "WiFiScanResult",
  "WiFiScanResult",
  "",
  sizeof(WiFiScanResult),
  5,
  wi_fi_scan_result__field_descriptors,
  wi_fi_scan_result__field_indices_by_name,
  1,  wi_fi_scan_result__number_ranges,
  (ProtobufCMessageInit) wi_fi_scan_result__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor thread_scan_result__field_descriptors[7] =
{
  {
    "pan_id",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(ThreadScanResult, pan_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "channel",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(ThreadScanResult, channel),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "rssi",
    3,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_INT32,
    0,   /* quantifier_offset */
    offsetof(ThreadScanResult, rssi),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "lqi",
    4,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_UINT32,
    0,   /* quantifier_offset */
    offsetof(ThreadScanResult, lqi),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "ext_addr",
    5,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(ThreadScanResult, ext_addr),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "network_name",
    6,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_STRING,
    0,   /* quantifier_offset */
    offsetof(ThreadScanResult, network_name),
    NULL,
    &protobuf_c_empty_string,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "ext_pan_id",
    7,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_BYTES,
    0,   /* quantifier_offset */
    offsetof(ThreadScanResult, ext_pan_id),
    NULL,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned thread_scan_result__field_indices_by_name[] = {
  1,   /* field[1] = channel */
  4,   /* field[4] = ext_addr */
  6,   /* field[6] = ext_pan_id */
  3,   /* field[3] = lqi */
  5,   /* field[5] = network_name */
  0,   /* field[0] = pan_id */
  2,   /* field[2] = rssi */
};
static const ProtobufCIntRange thread_scan_result__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 7 }
};
const ProtobufCMessageDescriptor thread_scan_result__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "ThreadScanResult",
  "ThreadScanResult",
  "ThreadScanResult",
  "",
  sizeof(ThreadScanResult),
  7,
  thread_scan_result__field_descriptors,
  thread_scan_result__field_indices_by_name,
  1,  thread_scan_result__number_ranges,
  (ProtobufCMessageInit) thread_scan_result__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor resp_scan_wifi_result__field_descriptors[1] =
{
  {
    "entries",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(RespScanWifiResult, n_entries),
    offsetof(RespScanWifiResult, entries),
    &wi_fi_scan_result__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned resp_scan_wifi_result__field_indices_by_name[] = {
  0,   /* field[0] = entries */
};
static const ProtobufCIntRange resp_scan_wifi_result__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor resp_scan_wifi_result__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "RespScanWifiResult",
  "RespScanWifiResult",
  "RespScanWifiResult",
  "",
  sizeof(RespScanWifiResult),
  1,
  resp_scan_wifi_result__field_descriptors,
  resp_scan_wifi_result__field_indices_by_name,
  1,  resp_scan_wifi_result__number_ranges,
  (ProtobufCMessageInit) resp_scan_wifi_result__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor resp_scan_thread_result__field_descriptors[1] =
{
  {
    "entries",
    1,
    PROTOBUF_C_LABEL_REPEATED,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(RespScanThreadResult, n_entries),
    offsetof(RespScanThreadResult, entries),
    &thread_scan_result__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned resp_scan_thread_result__field_indices_by_name[] = {
  0,   /* field[0] = entries */
};
static const ProtobufCIntRange resp_scan_thread_result__number_ranges[1 + 1] =
{
  { 1, 0 },
  { 0, 1 }
};
const ProtobufCMessageDescriptor resp_scan_thread_result__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "RespScanThreadResult",
  "RespScanThreadResult",
  "RespScanThreadResult",
  "",
  sizeof(RespScanThreadResult),
  1,
  resp_scan_thread_result__field_descriptors,
  resp_scan_thread_result__field_indices_by_name,
  1,  resp_scan_thread_result__number_ranges,
  (ProtobufCMessageInit) resp_scan_thread_result__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCFieldDescriptor network_scan_payload__field_descriptors[14] =
{
  {
    "msg",
    1,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_ENUM,
    0,   /* quantifier_offset */
    offsetof(NetworkScanPayload, msg),
    &network_scan_msg_type__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "status",
    2,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_ENUM,
    0,   /* quantifier_offset */
    offsetof(NetworkScanPayload, status),
    &status__descriptor,
    NULL,
    0,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "cmd_scan_wifi_start",
    10,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, cmd_scan_wifi_start),
    &cmd_scan_wifi_start__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "resp_scan_wifi_start",
    11,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, resp_scan_wifi_start),
    &resp_scan_wifi_start__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "cmd_scan_wifi_status",
    12,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, cmd_scan_wifi_status),
    &cmd_scan_wifi_status__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "resp_scan_wifi_status",
    13,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, resp_scan_wifi_status),
    &resp_scan_wifi_status__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "cmd_scan_wifi_result",
    14,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, cmd_scan_wifi_result),
    &cmd_scan_wifi_result__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "resp_scan_wifi_result",
    15,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, resp_scan_wifi_result),
    &resp_scan_wifi_result__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "cmd_scan_thread_start",
    16,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, cmd_scan_thread_start),
    &cmd_scan_thread_start__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "resp_scan_thread_start",
    17,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, resp_scan_thread_start),
    &resp_scan_thread_start__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "cmd_scan_thread_status",
    18,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, cmd_scan_thread_status),
    &cmd_scan_thread_status__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "resp_scan_thread_status",
    19,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, resp_scan_thread_status),
    &resp_scan_thread_status__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "cmd_scan_thread_result",
    20,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, cmd_scan_thread_result),
    &cmd_scan_thread_result__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
  {
    "resp_scan_thread_result",
    21,
    PROTOBUF_C_LABEL_NONE,
    PROTOBUF_C_TYPE_MESSAGE,
    offsetof(NetworkScanPayload, payload_case),
    offsetof(NetworkScanPayload, resp_scan_thread_result),
    &resp_scan_thread_result__descriptor,
    NULL,
    0 | PROTOBUF_C_FIELD_FLAG_ONEOF,             /* flags */
    0,NULL,NULL    /* reserved1,reserved2, etc */
  },
};
static const unsigned network_scan_payload__field_indices_by_name[] = {
  12,   /* field[12] = cmd_scan_thread_result */
  8,   /* field[8] = cmd_scan_thread_start */
  10,   /* field[10] = cmd_scan_thread_status */
  6,   /* field[6] = cmd_scan_wifi_result */
  2,   /* field[2] = cmd_scan_wifi_start */
  4,   /* field[4] = cmd_scan_wifi_status */
  0,   /* field[0] = msg */
  13,   /* field[13] = resp_scan_thread_result */
  9,   /* field[9] = resp_scan_thread_start */
  11,   /* field[11] = resp_scan_thread_status */
  7,   /* field[7] = resp_scan_wifi_result */
  3,   /* field[3] = resp_scan_wifi_start */
  5,   /* field[5] = resp_scan_wifi_status */
  1,   /* field[1] = status */
};
static const ProtobufCIntRange network_scan_payload__number_ranges[2 + 1] =
{
  { 1, 0 },
  { 10, 2 },
  { 0, 14 }
};
const ProtobufCMessageDescriptor network_scan_payload__descriptor =
{
  PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
  "NetworkScanPayload",
  "NetworkScanPayload",
  "NetworkScanPayload",
  "",
  sizeof(NetworkScanPayload),
  14,
  network_scan_payload__field_descriptors,
  network_scan_payload__field_indices_by_name,
  2,  network_scan_payload__number_ranges,
  (ProtobufCMessageInit) network_scan_payload__init,
  NULL,NULL,NULL    /* reserved[123] */
};
static const ProtobufCEnumValue network_scan_msg_type__enum_values_by_number[12] =
{
  { "TypeCmdScanWifiStart", "NETWORK_SCAN_MSG_TYPE__TypeCmdScanWifiStart", 0 },
  { "TypeRespScanWifiStart", "NETWORK_SCAN_MSG_TYPE__TypeRespScanWifiStart", 1 },
  { "TypeCmdScanWifiStatus", "NETWORK_SCAN_MSG_TYPE__TypeCmdScanWifiStatus", 2 },
  { "TypeRespScanWifiStatus", "NETWORK_SCAN_MSG_TYPE__TypeRespScanWifiStatus", 3 },
  { "TypeCmdScanWifiResult", "NETWORK_SCAN_MSG_TYPE__TypeCmdScanWifiResult", 4 },
  { "TypeRespScanWifiResult", "NETWORK_SCAN_MSG_TYPE__TypeRespScanWifiResult", 5 },
  { "TypeCmdScanThreadStart", "NETWORK_SCAN_MSG_TYPE__TypeCmdScanThreadStart", 6 },
  { "TypeRespScanThreadStart", "NETWORK_SCAN_MSG_TYPE__TypeRespScanThreadStart", 7 },
  { "TypeCmdScanThreadStatus", "NETWORK_SCAN_MSG_TYPE__TypeCmdScanThreadStatus", 8 },
  { "TypeRespScanThreadStatus", "NETWORK_SCAN_MSG_TYPE__TypeRespScanThreadStatus", 9 },
  { "TypeCmdScanThreadResult", "NETWORK_SCAN_MSG_TYPE__TypeCmdScanThreadResult", 10 },
  { "TypeRespScanThreadResult", "NETWORK_SCAN_MSG_TYPE__TypeRespScanThreadResult", 11 },
};
static const ProtobufCIntRange network_scan_msg_type__value_ranges[] = {
{0, 0},{0, 12}
};
static const ProtobufCEnumValueIndex network_scan_msg_type__enum_values_by_name[12] =
{
  { "TypeCmdScanThreadResult", 10 },
  { "TypeCmdScanThreadStart", 6 },
  { "TypeCmdScanThreadStatus", 8 },
  { "TypeCmdScanWifiResult", 4 },
  { "TypeCmdScanWifiStart", 0 },
  { "TypeCmdScanWifiStatus", 2 },
  { "TypeRespScanThreadResult", 11 },
  { "TypeRespScanThreadStart", 7 },
  { "TypeRespScanThreadStatus", 9 },
  { "TypeRespScanWifiResult", 5 },
  { "TypeRespScanWifiStart", 1 },
  { "TypeRespScanWifiStatus", 3 },
};
const ProtobufCEnumDescriptor network_scan_msg_type__descriptor =
{
  PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
  "NetworkScanMsgType",
  "NetworkScanMsgType",
  "NetworkScanMsgType",
  "",
  12,
  network_scan_msg_type__enum_values_by_number,
  12,
  network_scan_msg_type__enum_values_by_name,
  1,
  network_scan_msg_type__value_ranges,
  NULL,NULL,NULL,NULL   /* reserved[1234] */
};
