diff --git a/components/wifi_provisioning/proto-c/wifi_config.pb-c.h b/components/wifi_provisioning/proto-c/wifi_config.pb-c.h index 8c6107f421..3e293f23be 100644 --- a/components/wifi_provisioning/proto-c/wifi_config.pb-c.h +++ b/components/wifi_provisioning/proto-c/wifi_config.pb-c.h @@ -10,20 +10,20 @@ PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1003000 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +#elif 1004000 < PROTOBUF_C_MIN_COMPILER_VERSION # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif #include "constants.pb-c.h" #include "wifi_constants.pb-c.h" -typedef struct _CmdGetStatus CmdGetStatus; -typedef struct _RespGetStatus RespGetStatus; -typedef struct _CmdSetConfig CmdSetConfig; -typedef struct _RespSetConfig RespSetConfig; -typedef struct _CmdApplyConfig CmdApplyConfig; -typedef struct _RespApplyConfig RespApplyConfig; -typedef struct _WiFiConfigPayload WiFiConfigPayload; +typedef struct CmdGetStatus CmdGetStatus; +typedef struct RespGetStatus RespGetStatus; +typedef struct CmdSetConfig CmdSetConfig; +typedef struct RespSetConfig RespSetConfig; +typedef struct CmdApplyConfig CmdApplyConfig; +typedef struct RespApplyConfig RespApplyConfig; +typedef struct WiFiConfigPayload WiFiConfigPayload; /* --- enums --- */ @@ -40,7 +40,7 @@ typedef enum _WiFiConfigMsgType { /* --- messages --- */ -struct _CmdGetStatus +struct CmdGetStatus { ProtobufCMessage base; }; @@ -53,10 +53,10 @@ typedef enum { RESP_GET_STATUS__STATE__NOT_SET = 0, RESP_GET_STATUS__STATE_FAIL_REASON = 10, RESP_GET_STATUS__STATE_CONNECTED = 11 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RESP_GET_STATUS__STATE) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(RESP_GET_STATUS__STATE__CASE) } RespGetStatus__StateCase; -struct _RespGetStatus +struct RespGetStatus { ProtobufCMessage base; Status status; @@ -72,7 +72,7 @@ struct _RespGetStatus , STATUS__Success, WIFI_STATION_STATE__Connected, RESP_GET_STATUS__STATE__NOT_SET, {0} } -struct _CmdSetConfig +struct CmdSetConfig { ProtobufCMessage base; ProtobufCBinaryData ssid; @@ -85,7 +85,7 @@ struct _CmdSetConfig , {0,NULL}, {0,NULL}, {0,NULL}, 0 } -struct _RespSetConfig +struct RespSetConfig { ProtobufCMessage base; Status status; @@ -95,7 +95,7 @@ struct _RespSetConfig , STATUS__Success } -struct _CmdApplyConfig +struct CmdApplyConfig { ProtobufCMessage base; }; @@ -104,7 +104,7 @@ struct _CmdApplyConfig } -struct _RespApplyConfig +struct RespApplyConfig { ProtobufCMessage base; Status status; @@ -122,10 +122,10 @@ typedef enum { WI_FI_CONFIG_PAYLOAD__PAYLOAD_RESP_SET_CONFIG = 13, WI_FI_CONFIG_PAYLOAD__PAYLOAD_CMD_APPLY_CONFIG = 14, WI_FI_CONFIG_PAYLOAD__PAYLOAD_RESP_APPLY_CONFIG = 15 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WI_FI_CONFIG_PAYLOAD__PAYLOAD) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WI_FI_CONFIG_PAYLOAD__PAYLOAD__CASE) } WiFiConfigPayload__PayloadCase; -struct _WiFiConfigPayload +struct WiFiConfigPayload { ProtobufCMessage base; WiFiConfigMsgType msg; diff --git a/components/wifi_provisioning/proto-c/wifi_constants.pb-c.h b/components/wifi_provisioning/proto-c/wifi_constants.pb-c.h index 0715505545..516ddc84fc 100644 --- a/components/wifi_provisioning/proto-c/wifi_constants.pb-c.h +++ b/components/wifi_provisioning/proto-c/wifi_constants.pb-c.h @@ -10,12 +10,12 @@ PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1003000 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION +#elif 1004000 < PROTOBUF_C_MIN_COMPILER_VERSION # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif -typedef struct _WifiConnectedState WifiConnectedState; +typedef struct WifiConnectedState WifiConnectedState; /* --- enums --- */ @@ -44,7 +44,7 @@ typedef enum _WifiAuthMode { /* --- messages --- */ -struct _WifiConnectedState +struct WifiConnectedState { ProtobufCMessage base; char *ip4_addr; diff --git a/components/wifi_provisioning/proto-c/wifi_scan.pb-c.h b/components/wifi_provisioning/proto-c/wifi_scan.pb-c.h index 9caea2c7cd..dc3975590d 100644 --- a/components/wifi_provisioning/proto-c/wifi_scan.pb-c.h +++ b/components/wifi_provisioning/proto-c/wifi_scan.pb-c.h @@ -10,21 +10,21 @@ PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1003000 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. -#elif 1003001 < PROTOBUF_C_MIN_COMPILER_VERSION +#elif 1004000 < PROTOBUF_C_MIN_COMPILER_VERSION # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif #include "constants.pb-c.h" #include "wifi_constants.pb-c.h" -typedef struct _CmdScanStart CmdScanStart; -typedef struct _RespScanStart RespScanStart; -typedef struct _CmdScanStatus CmdScanStatus; -typedef struct _RespScanStatus RespScanStatus; -typedef struct _CmdScanResult CmdScanResult; -typedef struct _WiFiScanResult WiFiScanResult; -typedef struct _RespScanResult RespScanResult; -typedef struct _WiFiScanPayload WiFiScanPayload; +typedef struct CmdScanStart CmdScanStart; +typedef struct RespScanStart RespScanStart; +typedef struct CmdScanStatus CmdScanStatus; +typedef struct RespScanStatus RespScanStatus; +typedef struct CmdScanResult CmdScanResult; +typedef struct WiFiScanResult WiFiScanResult; +typedef struct RespScanResult RespScanResult; +typedef struct WiFiScanPayload WiFiScanPayload; /* --- enums --- */ @@ -41,7 +41,7 @@ typedef enum _WiFiScanMsgType { /* --- messages --- */ -struct _CmdScanStart +struct CmdScanStart { ProtobufCMessage base; protobuf_c_boolean blocking; @@ -54,7 +54,7 @@ struct _CmdScanStart , 0, 0, 0, 0 } -struct _RespScanStart +struct RespScanStart { ProtobufCMessage base; }; @@ -63,7 +63,7 @@ struct _RespScanStart } -struct _CmdScanStatus +struct CmdScanStatus { ProtobufCMessage base; }; @@ -72,7 +72,7 @@ struct _CmdScanStatus } -struct _RespScanStatus +struct RespScanStatus { ProtobufCMessage base; protobuf_c_boolean scan_finished; @@ -83,7 +83,7 @@ struct _RespScanStatus , 0, 0 } -struct _CmdScanResult +struct CmdScanResult { ProtobufCMessage base; uint32_t start_index; @@ -94,7 +94,7 @@ struct _CmdScanResult , 0, 0 } -struct _WiFiScanResult +struct WiFiScanResult { ProtobufCMessage base; ProtobufCBinaryData ssid; @@ -108,7 +108,7 @@ struct _WiFiScanResult , {0,NULL}, 0, 0, {0,NULL}, WIFI_AUTH_MODE__Open } -struct _RespScanResult +struct RespScanResult { ProtobufCMessage base; size_t n_entries; @@ -127,10 +127,10 @@ typedef enum { WI_FI_SCAN_PAYLOAD__PAYLOAD_RESP_SCAN_STATUS = 13, WI_FI_SCAN_PAYLOAD__PAYLOAD_CMD_SCAN_RESULT = 14, WI_FI_SCAN_PAYLOAD__PAYLOAD_RESP_SCAN_RESULT = 15 - PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WI_FI_SCAN_PAYLOAD__PAYLOAD) + PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WI_FI_SCAN_PAYLOAD__PAYLOAD__CASE) } WiFiScanPayload__PayloadCase; -struct _WiFiScanPayload +struct WiFiScanPayload { ProtobufCMessage base; WiFiScanMsgType msg; diff --git a/components/wifi_provisioning/python/wifi_config_pb2.py b/components/wifi_provisioning/python/wifi_config_pb2.py index 1e53d49cdc..3d48ecfb7e 100644 --- a/components/wifi_provisioning/python/wifi_config_pb2.py +++ b/components/wifi_provisioning/python/wifi_config_pb2.py @@ -1,16 +1,11 @@ +# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: wifi_config.proto - -import sys - -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pb2 -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,449 +14,28 @@ _sym_db = _symbol_database.Default() import constants_pb2 as constants__pb2 import wifi_constants_pb2 as wifi__constants__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='wifi_config.proto', - package='', - syntax='proto3', - serialized_pb=_b('\n\x11wifi_config.proto\x1a\x0f\x63onstants.proto\x1a\x14wifi_constants.proto\"\x0e\n\x0c\x43mdGetStatus\"\xb2\x01\n\rRespGetStatus\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\x12$\n\tsta_state\x18\x02 \x01(\x0e\x32\x11.WifiStationState\x12/\n\x0b\x66\x61il_reason\x18\n \x01(\x0e\x32\x18.WifiConnectFailedReasonH\x00\x12(\n\tconnected\x18\x0b \x01(\x0b\x32\x13.WifiConnectedStateH\x00\x42\x07\n\x05state\"P\n\x0c\x43mdSetConfig\x12\x0c\n\x04ssid\x18\x01 \x01(\x0c\x12\x12\n\npassphrase\x18\x02 \x01(\x0c\x12\r\n\x05\x62ssid\x18\x03 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x04 \x01(\x05\"(\n\rRespSetConfig\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\"\x10\n\x0e\x43mdApplyConfig\"*\n\x0fRespApplyConfig\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\"\xc3\x02\n\x11WiFiConfigPayload\x12\x1f\n\x03msg\x18\x01 \x01(\x0e\x32\x12.WiFiConfigMsgType\x12\'\n\x0e\x63md_get_status\x18\n \x01(\x0b\x32\r.CmdGetStatusH\x00\x12)\n\x0fresp_get_status\x18\x0b \x01(\x0b\x32\x0e.RespGetStatusH\x00\x12\'\n\x0e\x63md_set_config\x18\x0c \x01(\x0b\x32\r.CmdSetConfigH\x00\x12)\n\x0fresp_set_config\x18\r \x01(\x0b\x32\x0e.RespSetConfigH\x00\x12+\n\x10\x63md_apply_config\x18\x0e \x01(\x0b\x32\x0f.CmdApplyConfigH\x00\x12-\n\x11resp_apply_config\x18\x0f \x01(\x0b\x32\x10.RespApplyConfigH\x00\x42\t\n\x07payload*\x9e\x01\n\x11WiFiConfigMsgType\x12\x14\n\x10TypeCmdGetStatus\x10\x00\x12\x15\n\x11TypeRespGetStatus\x10\x01\x12\x14\n\x10TypeCmdSetConfig\x10\x02\x12\x15\n\x11TypeRespSetConfig\x10\x03\x12\x16\n\x12TypeCmdApplyConfig\x10\x04\x12\x17\n\x13TypeRespApplyConfig\x10\x05\x62\x06proto3') - , - dependencies=[constants__pb2.DESCRIPTOR,wifi__constants__pb2.DESCRIPTOR,]) -_WIFICONFIGMSGTYPE = _descriptor.EnumDescriptor( - name='WiFiConfigMsgType', - full_name='WiFiConfigMsgType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='TypeCmdGetStatus', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeRespGetStatus', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeCmdSetConfig', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeRespSetConfig', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeCmdApplyConfig', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeRespApplyConfig', index=5, number=5, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=770, - serialized_end=928, -) -_sym_db.RegisterEnumDescriptor(_WIFICONFIGMSGTYPE) - -WiFiConfigMsgType = enum_type_wrapper.EnumTypeWrapper(_WIFICONFIGMSGTYPE) -TypeCmdGetStatus = 0 -TypeRespGetStatus = 1 -TypeCmdSetConfig = 2 -TypeRespSetConfig = 3 -TypeCmdApplyConfig = 4 -TypeRespApplyConfig = 5 - - - -_CMDGETSTATUS = _descriptor.Descriptor( - name='CmdGetStatus', - full_name='CmdGetStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=60, - serialized_end=74, -) - - -_RESPGETSTATUS = _descriptor.Descriptor( - name='RespGetStatus', - full_name='RespGetStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='status', full_name='RespGetStatus.status', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='sta_state', full_name='RespGetStatus.sta_state', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='fail_reason', full_name='RespGetStatus.fail_reason', index=2, - number=10, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='connected', full_name='RespGetStatus.connected', index=3, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='state', full_name='RespGetStatus.state', - index=0, containing_type=None, fields=[]), - ], - serialized_start=77, - serialized_end=255, -) - - -_CMDSETCONFIG = _descriptor.Descriptor( - name='CmdSetConfig', - full_name='CmdSetConfig', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ssid', full_name='CmdSetConfig.ssid', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(''), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='passphrase', full_name='CmdSetConfig.passphrase', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(''), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='bssid', full_name='CmdSetConfig.bssid', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(''), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='channel', full_name='CmdSetConfig.channel', index=3, - number=4, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=257, - serialized_end=337, -) - - -_RESPSETCONFIG = _descriptor.Descriptor( - name='RespSetConfig', - full_name='RespSetConfig', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='status', full_name='RespSetConfig.status', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=339, - serialized_end=379, -) - - -_CMDAPPLYCONFIG = _descriptor.Descriptor( - name='CmdApplyConfig', - full_name='CmdApplyConfig', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=381, - serialized_end=397, -) - - -_RESPAPPLYCONFIG = _descriptor.Descriptor( - name='RespApplyConfig', - full_name='RespApplyConfig', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='status', full_name='RespApplyConfig.status', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=399, - serialized_end=441, -) - - -_WIFICONFIGPAYLOAD = _descriptor.Descriptor( - name='WiFiConfigPayload', - full_name='WiFiConfigPayload', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='msg', full_name='WiFiConfigPayload.msg', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cmd_get_status', full_name='WiFiConfigPayload.cmd_get_status', index=1, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='resp_get_status', full_name='WiFiConfigPayload.resp_get_status', index=2, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cmd_set_config', full_name='WiFiConfigPayload.cmd_set_config', index=3, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='resp_set_config', full_name='WiFiConfigPayload.resp_set_config', index=4, - number=13, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cmd_apply_config', full_name='WiFiConfigPayload.cmd_apply_config', index=5, - number=14, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='resp_apply_config', full_name='WiFiConfigPayload.resp_apply_config', index=6, - number=15, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='payload', full_name='WiFiConfigPayload.payload', - index=0, containing_type=None, fields=[]), - ], - serialized_start=444, - serialized_end=767, -) - -_RESPGETSTATUS.fields_by_name['status'].enum_type = constants__pb2._STATUS -_RESPGETSTATUS.fields_by_name['sta_state'].enum_type = wifi__constants__pb2._WIFISTATIONSTATE -_RESPGETSTATUS.fields_by_name['fail_reason'].enum_type = wifi__constants__pb2._WIFICONNECTFAILEDREASON -_RESPGETSTATUS.fields_by_name['connected'].message_type = wifi__constants__pb2._WIFICONNECTEDSTATE -_RESPGETSTATUS.oneofs_by_name['state'].fields.append( - _RESPGETSTATUS.fields_by_name['fail_reason']) -_RESPGETSTATUS.fields_by_name['fail_reason'].containing_oneof = _RESPGETSTATUS.oneofs_by_name['state'] -_RESPGETSTATUS.oneofs_by_name['state'].fields.append( - _RESPGETSTATUS.fields_by_name['connected']) -_RESPGETSTATUS.fields_by_name['connected'].containing_oneof = _RESPGETSTATUS.oneofs_by_name['state'] -_RESPSETCONFIG.fields_by_name['status'].enum_type = constants__pb2._STATUS -_RESPAPPLYCONFIG.fields_by_name['status'].enum_type = constants__pb2._STATUS -_WIFICONFIGPAYLOAD.fields_by_name['msg'].enum_type = _WIFICONFIGMSGTYPE -_WIFICONFIGPAYLOAD.fields_by_name['cmd_get_status'].message_type = _CMDGETSTATUS -_WIFICONFIGPAYLOAD.fields_by_name['resp_get_status'].message_type = _RESPGETSTATUS -_WIFICONFIGPAYLOAD.fields_by_name['cmd_set_config'].message_type = _CMDSETCONFIG -_WIFICONFIGPAYLOAD.fields_by_name['resp_set_config'].message_type = _RESPSETCONFIG -_WIFICONFIGPAYLOAD.fields_by_name['cmd_apply_config'].message_type = _CMDAPPLYCONFIG -_WIFICONFIGPAYLOAD.fields_by_name['resp_apply_config'].message_type = _RESPAPPLYCONFIG -_WIFICONFIGPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFICONFIGPAYLOAD.fields_by_name['cmd_get_status']) -_WIFICONFIGPAYLOAD.fields_by_name['cmd_get_status'].containing_oneof = _WIFICONFIGPAYLOAD.oneofs_by_name['payload'] -_WIFICONFIGPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFICONFIGPAYLOAD.fields_by_name['resp_get_status']) -_WIFICONFIGPAYLOAD.fields_by_name['resp_get_status'].containing_oneof = _WIFICONFIGPAYLOAD.oneofs_by_name['payload'] -_WIFICONFIGPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFICONFIGPAYLOAD.fields_by_name['cmd_set_config']) -_WIFICONFIGPAYLOAD.fields_by_name['cmd_set_config'].containing_oneof = _WIFICONFIGPAYLOAD.oneofs_by_name['payload'] -_WIFICONFIGPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFICONFIGPAYLOAD.fields_by_name['resp_set_config']) -_WIFICONFIGPAYLOAD.fields_by_name['resp_set_config'].containing_oneof = _WIFICONFIGPAYLOAD.oneofs_by_name['payload'] -_WIFICONFIGPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFICONFIGPAYLOAD.fields_by_name['cmd_apply_config']) -_WIFICONFIGPAYLOAD.fields_by_name['cmd_apply_config'].containing_oneof = _WIFICONFIGPAYLOAD.oneofs_by_name['payload'] -_WIFICONFIGPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFICONFIGPAYLOAD.fields_by_name['resp_apply_config']) -_WIFICONFIGPAYLOAD.fields_by_name['resp_apply_config'].containing_oneof = _WIFICONFIGPAYLOAD.oneofs_by_name['payload'] -DESCRIPTOR.message_types_by_name['CmdGetStatus'] = _CMDGETSTATUS -DESCRIPTOR.message_types_by_name['RespGetStatus'] = _RESPGETSTATUS -DESCRIPTOR.message_types_by_name['CmdSetConfig'] = _CMDSETCONFIG -DESCRIPTOR.message_types_by_name['RespSetConfig'] = _RESPSETCONFIG -DESCRIPTOR.message_types_by_name['CmdApplyConfig'] = _CMDAPPLYCONFIG -DESCRIPTOR.message_types_by_name['RespApplyConfig'] = _RESPAPPLYCONFIG -DESCRIPTOR.message_types_by_name['WiFiConfigPayload'] = _WIFICONFIGPAYLOAD -DESCRIPTOR.enum_types_by_name['WiFiConfigMsgType'] = _WIFICONFIGMSGTYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CmdGetStatus = _reflection.GeneratedProtocolMessageType('CmdGetStatus', (_message.Message,), dict( - DESCRIPTOR = _CMDGETSTATUS, - __module__ = 'wifi_config_pb2' - # @@protoc_insertion_point(class_scope:CmdGetStatus) - )) -_sym_db.RegisterMessage(CmdGetStatus) - -RespGetStatus = _reflection.GeneratedProtocolMessageType('RespGetStatus', (_message.Message,), dict( - DESCRIPTOR = _RESPGETSTATUS, - __module__ = 'wifi_config_pb2' - # @@protoc_insertion_point(class_scope:RespGetStatus) - )) -_sym_db.RegisterMessage(RespGetStatus) - -CmdSetConfig = _reflection.GeneratedProtocolMessageType('CmdSetConfig', (_message.Message,), dict( - DESCRIPTOR = _CMDSETCONFIG, - __module__ = 'wifi_config_pb2' - # @@protoc_insertion_point(class_scope:CmdSetConfig) - )) -_sym_db.RegisterMessage(CmdSetConfig) - -RespSetConfig = _reflection.GeneratedProtocolMessageType('RespSetConfig', (_message.Message,), dict( - DESCRIPTOR = _RESPSETCONFIG, - __module__ = 'wifi_config_pb2' - # @@protoc_insertion_point(class_scope:RespSetConfig) - )) -_sym_db.RegisterMessage(RespSetConfig) - -CmdApplyConfig = _reflection.GeneratedProtocolMessageType('CmdApplyConfig', (_message.Message,), dict( - DESCRIPTOR = _CMDAPPLYCONFIG, - __module__ = 'wifi_config_pb2' - # @@protoc_insertion_point(class_scope:CmdApplyConfig) - )) -_sym_db.RegisterMessage(CmdApplyConfig) - -RespApplyConfig = _reflection.GeneratedProtocolMessageType('RespApplyConfig', (_message.Message,), dict( - DESCRIPTOR = _RESPAPPLYCONFIG, - __module__ = 'wifi_config_pb2' - # @@protoc_insertion_point(class_scope:RespApplyConfig) - )) -_sym_db.RegisterMessage(RespApplyConfig) - -WiFiConfigPayload = _reflection.GeneratedProtocolMessageType('WiFiConfigPayload', (_message.Message,), dict( - DESCRIPTOR = _WIFICONFIGPAYLOAD, - __module__ = 'wifi_config_pb2' - # @@protoc_insertion_point(class_scope:WiFiConfigPayload) - )) -_sym_db.RegisterMessage(WiFiConfigPayload) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11wifi_config.proto\x1a\x0f\x63onstants.proto\x1a\x14wifi_constants.proto\"\x0e\n\x0c\x43mdGetStatus\"\xb2\x01\n\rRespGetStatus\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\x12$\n\tsta_state\x18\x02 \x01(\x0e\x32\x11.WifiStationState\x12/\n\x0b\x66\x61il_reason\x18\n \x01(\x0e\x32\x18.WifiConnectFailedReasonH\x00\x12(\n\tconnected\x18\x0b \x01(\x0b\x32\x13.WifiConnectedStateH\x00\x42\x07\n\x05state\"P\n\x0c\x43mdSetConfig\x12\x0c\n\x04ssid\x18\x01 \x01(\x0c\x12\x12\n\npassphrase\x18\x02 \x01(\x0c\x12\r\n\x05\x62ssid\x18\x03 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x04 \x01(\x05\"(\n\rRespSetConfig\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\"\x10\n\x0e\x43mdApplyConfig\"*\n\x0fRespApplyConfig\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\"\xc3\x02\n\x11WiFiConfigPayload\x12\x1f\n\x03msg\x18\x01 \x01(\x0e\x32\x12.WiFiConfigMsgType\x12\'\n\x0e\x63md_get_status\x18\n \x01(\x0b\x32\r.CmdGetStatusH\x00\x12)\n\x0fresp_get_status\x18\x0b \x01(\x0b\x32\x0e.RespGetStatusH\x00\x12\'\n\x0e\x63md_set_config\x18\x0c \x01(\x0b\x32\r.CmdSetConfigH\x00\x12)\n\x0fresp_set_config\x18\r \x01(\x0b\x32\x0e.RespSetConfigH\x00\x12+\n\x10\x63md_apply_config\x18\x0e \x01(\x0b\x32\x0f.CmdApplyConfigH\x00\x12-\n\x11resp_apply_config\x18\x0f \x01(\x0b\x32\x10.RespApplyConfigH\x00\x42\t\n\x07payload*\x9e\x01\n\x11WiFiConfigMsgType\x12\x14\n\x10TypeCmdGetStatus\x10\x00\x12\x15\n\x11TypeRespGetStatus\x10\x01\x12\x14\n\x10TypeCmdSetConfig\x10\x02\x12\x15\n\x11TypeRespSetConfig\x10\x03\x12\x16\n\x12TypeCmdApplyConfig\x10\x04\x12\x17\n\x13TypeRespApplyConfig\x10\x05\x62\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'wifi_config_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + _WIFICONFIGMSGTYPE._serialized_start=770 + _WIFICONFIGMSGTYPE._serialized_end=928 + _CMDGETSTATUS._serialized_start=60 + _CMDGETSTATUS._serialized_end=74 + _RESPGETSTATUS._serialized_start=77 + _RESPGETSTATUS._serialized_end=255 + _CMDSETCONFIG._serialized_start=257 + _CMDSETCONFIG._serialized_end=337 + _RESPSETCONFIG._serialized_start=339 + _RESPSETCONFIG._serialized_end=379 + _CMDAPPLYCONFIG._serialized_start=381 + _CMDAPPLYCONFIG._serialized_end=397 + _RESPAPPLYCONFIG._serialized_start=399 + _RESPAPPLYCONFIG._serialized_end=441 + _WIFICONFIGPAYLOAD._serialized_start=444 + _WIFICONFIGPAYLOAD._serialized_end=767 # @@protoc_insertion_point(module_scope) diff --git a/components/wifi_provisioning/python/wifi_constants_pb2.py b/components/wifi_provisioning/python/wifi_constants_pb2.py index e969529811..29f87ed097 100644 --- a/components/wifi_provisioning/python/wifi_constants_pb2.py +++ b/components/wifi_provisioning/python/wifi_constants_pb2.py @@ -1,16 +1,11 @@ +# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: wifi_constants.proto - -import sys - -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor -from google.protobuf import descriptor_pb2 -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -18,192 +13,19 @@ _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor.FileDescriptor( - name='wifi_constants.proto', - package='', - syntax='proto3', - serialized_pb=_b('\n\x14wifi_constants.proto\"v\n\x12WifiConnectedState\x12\x10\n\x08ip4_addr\x18\x01 \x01(\t\x12 \n\tauth_mode\x18\x02 \x01(\x0e\x32\r.WifiAuthMode\x12\x0c\n\x04ssid\x18\x03 \x01(\x0c\x12\r\n\x05\x62ssid\x18\x04 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x05 \x01(\x05*Y\n\x10WifiStationState\x12\r\n\tConnected\x10\x00\x12\x0e\n\nConnecting\x10\x01\x12\x10\n\x0c\x44isconnected\x10\x02\x12\x14\n\x10\x43onnectionFailed\x10\x03*=\n\x17WifiConnectFailedReason\x12\r\n\tAuthError\x10\x00\x12\x13\n\x0fNetworkNotFound\x10\x01*c\n\x0cWifiAuthMode\x12\x08\n\x04Open\x10\x00\x12\x07\n\x03WEP\x10\x01\x12\x0b\n\x07WPA_PSK\x10\x02\x12\x0c\n\x08WPA2_PSK\x10\x03\x12\x10\n\x0cWPA_WPA2_PSK\x10\x04\x12\x13\n\x0fWPA2_ENTERPRISE\x10\x05\x62\x06proto3') -) - -_WIFISTATIONSTATE = _descriptor.EnumDescriptor( - name='WifiStationState', - full_name='WifiStationState', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='Connected', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='Connecting', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='Disconnected', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='ConnectionFailed', index=3, number=3, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=144, - serialized_end=233, -) -_sym_db.RegisterEnumDescriptor(_WIFISTATIONSTATE) - -WifiStationState = enum_type_wrapper.EnumTypeWrapper(_WIFISTATIONSTATE) -_WIFICONNECTFAILEDREASON = _descriptor.EnumDescriptor( - name='WifiConnectFailedReason', - full_name='WifiConnectFailedReason', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='AuthError', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='NetworkNotFound', index=1, number=1, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=235, - serialized_end=296, -) -_sym_db.RegisterEnumDescriptor(_WIFICONNECTFAILEDREASON) - -WifiConnectFailedReason = enum_type_wrapper.EnumTypeWrapper(_WIFICONNECTFAILEDREASON) -_WIFIAUTHMODE = _descriptor.EnumDescriptor( - name='WifiAuthMode', - full_name='WifiAuthMode', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='Open', index=0, number=0, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WEP', index=1, number=1, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WPA_PSK', index=2, number=2, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WPA2_PSK', index=3, number=3, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WPA_WPA2_PSK', index=4, number=4, - options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='WPA2_ENTERPRISE', index=5, number=5, - options=None, - type=None), - ], - containing_type=None, - options=None, - serialized_start=298, - serialized_end=397, -) -_sym_db.RegisterEnumDescriptor(_WIFIAUTHMODE) - -WifiAuthMode = enum_type_wrapper.EnumTypeWrapper(_WIFIAUTHMODE) -Connected = 0 -Connecting = 1 -Disconnected = 2 -ConnectionFailed = 3 -AuthError = 0 -NetworkNotFound = 1 -Open = 0 -WEP = 1 -WPA_PSK = 2 -WPA2_PSK = 3 -WPA_WPA2_PSK = 4 -WPA2_ENTERPRISE = 5 - - - -_WIFICONNECTEDSTATE = _descriptor.Descriptor( - name='WifiConnectedState', - full_name='WifiConnectedState', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ip4_addr', full_name='WifiConnectedState.ip4_addr', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b('').decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='auth_mode', full_name='WifiConnectedState.auth_mode', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ssid', full_name='WifiConnectedState.ssid', index=2, - number=3, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(''), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='bssid', full_name='WifiConnectedState.bssid', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(''), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='channel', full_name='WifiConnectedState.channel', index=4, - number=5, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=24, - serialized_end=142, -) - -_WIFICONNECTEDSTATE.fields_by_name['auth_mode'].enum_type = _WIFIAUTHMODE -DESCRIPTOR.message_types_by_name['WifiConnectedState'] = _WIFICONNECTEDSTATE -DESCRIPTOR.enum_types_by_name['WifiStationState'] = _WIFISTATIONSTATE -DESCRIPTOR.enum_types_by_name['WifiConnectFailedReason'] = _WIFICONNECTFAILEDREASON -DESCRIPTOR.enum_types_by_name['WifiAuthMode'] = _WIFIAUTHMODE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -WifiConnectedState = _reflection.GeneratedProtocolMessageType('WifiConnectedState', (_message.Message,), dict( - DESCRIPTOR = _WIFICONNECTEDSTATE, - __module__ = 'wifi_constants_pb2' - # @@protoc_insertion_point(class_scope:WifiConnectedState) - )) -_sym_db.RegisterMessage(WifiConnectedState) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14wifi_constants.proto\"v\n\x12WifiConnectedState\x12\x10\n\x08ip4_addr\x18\x01 \x01(\t\x12 \n\tauth_mode\x18\x02 \x01(\x0e\x32\r.WifiAuthMode\x12\x0c\n\x04ssid\x18\x03 \x01(\x0c\x12\r\n\x05\x62ssid\x18\x04 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x05 \x01(\x05*Y\n\x10WifiStationState\x12\r\n\tConnected\x10\x00\x12\x0e\n\nConnecting\x10\x01\x12\x10\n\x0c\x44isconnected\x10\x02\x12\x14\n\x10\x43onnectionFailed\x10\x03*=\n\x17WifiConnectFailedReason\x12\r\n\tAuthError\x10\x00\x12\x13\n\x0fNetworkNotFound\x10\x01*c\n\x0cWifiAuthMode\x12\x08\n\x04Open\x10\x00\x12\x07\n\x03WEP\x10\x01\x12\x0b\n\x07WPA_PSK\x10\x02\x12\x0c\n\x08WPA2_PSK\x10\x03\x12\x10\n\x0cWPA_WPA2_PSK\x10\x04\x12\x13\n\x0fWPA2_ENTERPRISE\x10\x05\x62\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'wifi_constants_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + _WIFISTATIONSTATE._serialized_start=144 + _WIFISTATIONSTATE._serialized_end=233 + _WIFICONNECTFAILEDREASON._serialized_start=235 + _WIFICONNECTFAILEDREASON._serialized_end=296 + _WIFIAUTHMODE._serialized_start=298 + _WIFIAUTHMODE._serialized_end=397 + _WIFICONNECTEDSTATE._serialized_start=24 + _WIFICONNECTEDSTATE._serialized_end=142 # @@protoc_insertion_point(module_scope) diff --git a/components/wifi_provisioning/python/wifi_scan_pb2.py b/components/wifi_provisioning/python/wifi_scan_pb2.py index 70838085de..aaf69c60f2 100644 --- a/components/wifi_provisioning/python/wifi_scan_pb2.py +++ b/components/wifi_provisioning/python/wifi_scan_pb2.py @@ -1,16 +1,11 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: wifi_scan.proto - -import sys - -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection +from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database -from google.protobuf.internal import enum_type_wrapper - # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() @@ -19,505 +14,30 @@ _sym_db = _symbol_database.Default() import constants_pb2 as constants__pb2 import wifi_constants_pb2 as wifi__constants__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='wifi_scan.proto', - package='', - syntax='proto3', - serialized_options=None, - serialized_pb=_b('\n\x0fwifi_scan.proto\x1a\x0f\x63onstants.proto\x1a\x14wifi_constants.proto\"\\\n\x0c\x43mdScanStart\x12\x10\n\x08\x62locking\x18\x01 \x01(\x08\x12\x0f\n\x07passive\x18\x02 \x01(\x08\x12\x16\n\x0egroup_channels\x18\x03 \x01(\r\x12\x11\n\tperiod_ms\x18\x04 \x01(\r\"\x0f\n\rRespScanStart\"\x0f\n\rCmdScanStatus\"=\n\x0eRespScanStatus\x12\x15\n\rscan_finished\x18\x01 \x01(\x08\x12\x14\n\x0cresult_count\x18\x02 \x01(\r\"3\n\rCmdScanResult\x12\x13\n\x0bstart_index\x18\x01 \x01(\r\x12\r\n\x05\x63ount\x18\x02 \x01(\r\"i\n\x0eWiFiScanResult\x12\x0c\n\x04ssid\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\r\x12\x0c\n\x04rssi\x18\x03 \x01(\x05\x12\r\n\x05\x62ssid\x18\x04 \x01(\x0c\x12\x1b\n\x04\x61uth\x18\x05 \x01(\x0e\x32\r.WifiAuthMode\"2\n\x0eRespScanResult\x12 \n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x0f.WiFiScanResult\"\xd8\x02\n\x0fWiFiScanPayload\x12\x1d\n\x03msg\x18\x01 \x01(\x0e\x32\x10.WiFiScanMsgType\x12\x17\n\x06status\x18\x02 \x01(\x0e\x32\x07.Status\x12\'\n\x0e\x63md_scan_start\x18\n \x01(\x0b\x32\r.CmdScanStartH\x00\x12)\n\x0fresp_scan_start\x18\x0b \x01(\x0b\x32\x0e.RespScanStartH\x00\x12)\n\x0f\x63md_scan_status\x18\x0c \x01(\x0b\x32\x0e.CmdScanStatusH\x00\x12+\n\x10resp_scan_status\x18\r \x01(\x0b\x32\x0f.RespScanStatusH\x00\x12)\n\x0f\x63md_scan_result\x18\x0e \x01(\x0b\x32\x0e.CmdScanResultH\x00\x12+\n\x10resp_scan_result\x18\x0f \x01(\x0b\x32\x0f.RespScanResultH\x00\x42\t\n\x07payload*\x9c\x01\n\x0fWiFiScanMsgType\x12\x14\n\x10TypeCmdScanStart\x10\x00\x12\x15\n\x11TypeRespScanStart\x10\x01\x12\x15\n\x11TypeCmdScanStatus\x10\x02\x12\x16\n\x12TypeRespScanStatus\x10\x03\x12\x15\n\x11TypeCmdScanResult\x10\x04\x12\x16\n\x12TypeRespScanResult\x10\x05\x62\x06proto3') - , - dependencies=[constants__pb2.DESCRIPTOR,wifi__constants__pb2.DESCRIPTOR,]) -_WIFISCANMSGTYPE = _descriptor.EnumDescriptor( - name='WiFiScanMsgType', - full_name='WiFiScanMsgType', - filename=None, - file=DESCRIPTOR, - values=[ - _descriptor.EnumValueDescriptor( - name='TypeCmdScanStart', index=0, number=0, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeRespScanStart', index=1, number=1, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeCmdScanStatus', index=2, number=2, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeRespScanStatus', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeCmdScanResult', index=4, number=4, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TypeRespScanResult', index=5, number=5, - serialized_options=None, - type=None), - ], - containing_type=None, - serialized_options=None, - serialized_start=809, - serialized_end=965, -) -_sym_db.RegisterEnumDescriptor(_WIFISCANMSGTYPE) - -WiFiScanMsgType = enum_type_wrapper.EnumTypeWrapper(_WIFISCANMSGTYPE) -TypeCmdScanStart = 0 -TypeRespScanStart = 1 -TypeCmdScanStatus = 2 -TypeRespScanStatus = 3 -TypeCmdScanResult = 4 -TypeRespScanResult = 5 - - - -_CMDSCANSTART = _descriptor.Descriptor( - name='CmdScanStart', - full_name='CmdScanStart', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='blocking', full_name='CmdScanStart.blocking', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='passive', full_name='CmdScanStart.passive', index=1, - number=2, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='group_channels', full_name='CmdScanStart.group_channels', index=2, - number=3, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='period_ms', full_name='CmdScanStart.period_ms', index=3, - number=4, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=58, - serialized_end=150, -) - - -_RESPSCANSTART = _descriptor.Descriptor( - name='RespScanStart', - full_name='RespScanStart', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=152, - serialized_end=167, -) - - -_CMDSCANSTATUS = _descriptor.Descriptor( - name='CmdScanStatus', - full_name='CmdScanStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=169, - serialized_end=184, -) - - -_RESPSCANSTATUS = _descriptor.Descriptor( - name='RespScanStatus', - full_name='RespScanStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='scan_finished', full_name='RespScanStatus.scan_finished', index=0, - number=1, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='result_count', full_name='RespScanStatus.result_count', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=186, - serialized_end=247, -) - - -_CMDSCANRESULT = _descriptor.Descriptor( - name='CmdScanResult', - full_name='CmdScanResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='start_index', full_name='CmdScanResult.start_index', index=0, - number=1, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='count', full_name='CmdScanResult.count', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=249, - serialized_end=300, -) - - -_WIFISCANRESULT = _descriptor.Descriptor( - name='WiFiScanResult', - full_name='WiFiScanResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ssid', full_name='WiFiScanResult.ssid', index=0, - number=1, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(''), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='channel', full_name='WiFiScanResult.channel', index=1, - number=2, type=13, cpp_type=3, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='rssi', full_name='WiFiScanResult.rssi', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='bssid', full_name='WiFiScanResult.bssid', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=_b(''), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='auth', full_name='WiFiScanResult.auth', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=302, - serialized_end=407, -) - - -_RESPSCANRESULT = _descriptor.Descriptor( - name='RespScanResult', - full_name='RespScanResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='entries', full_name='RespScanResult.entries', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=409, - serialized_end=459, -) - - -_WIFISCANPAYLOAD = _descriptor.Descriptor( - name='WiFiScanPayload', - full_name='WiFiScanPayload', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='msg', full_name='WiFiScanPayload.msg', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='WiFiScanPayload.status', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cmd_scan_start', full_name='WiFiScanPayload.cmd_scan_start', index=2, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='resp_scan_start', full_name='WiFiScanPayload.resp_scan_start', index=3, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cmd_scan_status', full_name='WiFiScanPayload.cmd_scan_status', index=4, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='resp_scan_status', full_name='WiFiScanPayload.resp_scan_status', index=5, - number=13, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cmd_scan_result', full_name='WiFiScanPayload.cmd_scan_result', index=6, - number=14, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='resp_scan_result', full_name='WiFiScanPayload.resp_scan_result', index=7, - number=15, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='payload', full_name='WiFiScanPayload.payload', - index=0, containing_type=None, fields=[]), - ], - serialized_start=462, - serialized_end=806, -) - -_WIFISCANRESULT.fields_by_name['auth'].enum_type = wifi__constants__pb2._WIFIAUTHMODE -_RESPSCANRESULT.fields_by_name['entries'].message_type = _WIFISCANRESULT -_WIFISCANPAYLOAD.fields_by_name['msg'].enum_type = _WIFISCANMSGTYPE -_WIFISCANPAYLOAD.fields_by_name['status'].enum_type = constants__pb2._STATUS -_WIFISCANPAYLOAD.fields_by_name['cmd_scan_start'].message_type = _CMDSCANSTART -_WIFISCANPAYLOAD.fields_by_name['resp_scan_start'].message_type = _RESPSCANSTART -_WIFISCANPAYLOAD.fields_by_name['cmd_scan_status'].message_type = _CMDSCANSTATUS -_WIFISCANPAYLOAD.fields_by_name['resp_scan_status'].message_type = _RESPSCANSTATUS -_WIFISCANPAYLOAD.fields_by_name['cmd_scan_result'].message_type = _CMDSCANRESULT -_WIFISCANPAYLOAD.fields_by_name['resp_scan_result'].message_type = _RESPSCANRESULT -_WIFISCANPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFISCANPAYLOAD.fields_by_name['cmd_scan_start']) -_WIFISCANPAYLOAD.fields_by_name['cmd_scan_start'].containing_oneof = _WIFISCANPAYLOAD.oneofs_by_name['payload'] -_WIFISCANPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFISCANPAYLOAD.fields_by_name['resp_scan_start']) -_WIFISCANPAYLOAD.fields_by_name['resp_scan_start'].containing_oneof = _WIFISCANPAYLOAD.oneofs_by_name['payload'] -_WIFISCANPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFISCANPAYLOAD.fields_by_name['cmd_scan_status']) -_WIFISCANPAYLOAD.fields_by_name['cmd_scan_status'].containing_oneof = _WIFISCANPAYLOAD.oneofs_by_name['payload'] -_WIFISCANPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFISCANPAYLOAD.fields_by_name['resp_scan_status']) -_WIFISCANPAYLOAD.fields_by_name['resp_scan_status'].containing_oneof = _WIFISCANPAYLOAD.oneofs_by_name['payload'] -_WIFISCANPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFISCANPAYLOAD.fields_by_name['cmd_scan_result']) -_WIFISCANPAYLOAD.fields_by_name['cmd_scan_result'].containing_oneof = _WIFISCANPAYLOAD.oneofs_by_name['payload'] -_WIFISCANPAYLOAD.oneofs_by_name['payload'].fields.append( - _WIFISCANPAYLOAD.fields_by_name['resp_scan_result']) -_WIFISCANPAYLOAD.fields_by_name['resp_scan_result'].containing_oneof = _WIFISCANPAYLOAD.oneofs_by_name['payload'] -DESCRIPTOR.message_types_by_name['CmdScanStart'] = _CMDSCANSTART -DESCRIPTOR.message_types_by_name['RespScanStart'] = _RESPSCANSTART -DESCRIPTOR.message_types_by_name['CmdScanStatus'] = _CMDSCANSTATUS -DESCRIPTOR.message_types_by_name['RespScanStatus'] = _RESPSCANSTATUS -DESCRIPTOR.message_types_by_name['CmdScanResult'] = _CMDSCANRESULT -DESCRIPTOR.message_types_by_name['WiFiScanResult'] = _WIFISCANRESULT -DESCRIPTOR.message_types_by_name['RespScanResult'] = _RESPSCANRESULT -DESCRIPTOR.message_types_by_name['WiFiScanPayload'] = _WIFISCANPAYLOAD -DESCRIPTOR.enum_types_by_name['WiFiScanMsgType'] = _WIFISCANMSGTYPE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CmdScanStart = _reflection.GeneratedProtocolMessageType('CmdScanStart', (_message.Message,), dict( - DESCRIPTOR = _CMDSCANSTART, - __module__ = 'wifi_scan_pb2' - # @@protoc_insertion_point(class_scope:CmdScanStart) - )) -_sym_db.RegisterMessage(CmdScanStart) - -RespScanStart = _reflection.GeneratedProtocolMessageType('RespScanStart', (_message.Message,), dict( - DESCRIPTOR = _RESPSCANSTART, - __module__ = 'wifi_scan_pb2' - # @@protoc_insertion_point(class_scope:RespScanStart) - )) -_sym_db.RegisterMessage(RespScanStart) - -CmdScanStatus = _reflection.GeneratedProtocolMessageType('CmdScanStatus', (_message.Message,), dict( - DESCRIPTOR = _CMDSCANSTATUS, - __module__ = 'wifi_scan_pb2' - # @@protoc_insertion_point(class_scope:CmdScanStatus) - )) -_sym_db.RegisterMessage(CmdScanStatus) - -RespScanStatus = _reflection.GeneratedProtocolMessageType('RespScanStatus', (_message.Message,), dict( - DESCRIPTOR = _RESPSCANSTATUS, - __module__ = 'wifi_scan_pb2' - # @@protoc_insertion_point(class_scope:RespScanStatus) - )) -_sym_db.RegisterMessage(RespScanStatus) - -CmdScanResult = _reflection.GeneratedProtocolMessageType('CmdScanResult', (_message.Message,), dict( - DESCRIPTOR = _CMDSCANRESULT, - __module__ = 'wifi_scan_pb2' - # @@protoc_insertion_point(class_scope:CmdScanResult) - )) -_sym_db.RegisterMessage(CmdScanResult) - -WiFiScanResult = _reflection.GeneratedProtocolMessageType('WiFiScanResult', (_message.Message,), dict( - DESCRIPTOR = _WIFISCANRESULT, - __module__ = 'wifi_scan_pb2' - # @@protoc_insertion_point(class_scope:WiFiScanResult) - )) -_sym_db.RegisterMessage(WiFiScanResult) - -RespScanResult = _reflection.GeneratedProtocolMessageType('RespScanResult', (_message.Message,), dict( - DESCRIPTOR = _RESPSCANRESULT, - __module__ = 'wifi_scan_pb2' - # @@protoc_insertion_point(class_scope:RespScanResult) - )) -_sym_db.RegisterMessage(RespScanResult) - -WiFiScanPayload = _reflection.GeneratedProtocolMessageType('WiFiScanPayload', (_message.Message,), dict( - DESCRIPTOR = _WIFISCANPAYLOAD, - __module__ = 'wifi_scan_pb2' - # @@protoc_insertion_point(class_scope:WiFiScanPayload) - )) -_sym_db.RegisterMessage(WiFiScanPayload) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0fwifi_scan.proto\x1a\x0f\x63onstants.proto\x1a\x14wifi_constants.proto\"\\\n\x0c\x43mdScanStart\x12\x10\n\x08\x62locking\x18\x01 \x01(\x08\x12\x0f\n\x07passive\x18\x02 \x01(\x08\x12\x16\n\x0egroup_channels\x18\x03 \x01(\r\x12\x11\n\tperiod_ms\x18\x04 \x01(\r\"\x0f\n\rRespScanStart\"\x0f\n\rCmdScanStatus\"=\n\x0eRespScanStatus\x12\x15\n\rscan_finished\x18\x01 \x01(\x08\x12\x14\n\x0cresult_count\x18\x02 \x01(\r\"3\n\rCmdScanResult\x12\x13\n\x0bstart_index\x18\x01 \x01(\r\x12\r\n\x05\x63ount\x18\x02 \x01(\r\"i\n\x0eWiFiScanResult\x12\x0c\n\x04ssid\x18\x01 \x01(\x0c\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\r\x12\x0c\n\x04rssi\x18\x03 \x01(\x05\x12\r\n\x05\x62ssid\x18\x04 \x01(\x0c\x12\x1b\n\x04\x61uth\x18\x05 \x01(\x0e\x32\r.WifiAuthMode\"2\n\x0eRespScanResult\x12 \n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x0f.WiFiScanResult\"\xd8\x02\n\x0fWiFiScanPayload\x12\x1d\n\x03msg\x18\x01 \x01(\x0e\x32\x10.WiFiScanMsgType\x12\x17\n\x06status\x18\x02 \x01(\x0e\x32\x07.Status\x12\'\n\x0e\x63md_scan_start\x18\n \x01(\x0b\x32\r.CmdScanStartH\x00\x12)\n\x0fresp_scan_start\x18\x0b \x01(\x0b\x32\x0e.RespScanStartH\x00\x12)\n\x0f\x63md_scan_status\x18\x0c \x01(\x0b\x32\x0e.CmdScanStatusH\x00\x12+\n\x10resp_scan_status\x18\r \x01(\x0b\x32\x0f.RespScanStatusH\x00\x12)\n\x0f\x63md_scan_result\x18\x0e \x01(\x0b\x32\x0e.CmdScanResultH\x00\x12+\n\x10resp_scan_result\x18\x0f \x01(\x0b\x32\x0f.RespScanResultH\x00\x42\t\n\x07payload*\x9c\x01\n\x0fWiFiScanMsgType\x12\x14\n\x10TypeCmdScanStart\x10\x00\x12\x15\n\x11TypeRespScanStart\x10\x01\x12\x15\n\x11TypeCmdScanStatus\x10\x02\x12\x16\n\x12TypeRespScanStatus\x10\x03\x12\x15\n\x11TypeCmdScanResult\x10\x04\x12\x16\n\x12TypeRespScanResult\x10\x05\x62\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'wifi_scan_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + _WIFISCANMSGTYPE._serialized_start=809 + _WIFISCANMSGTYPE._serialized_end=965 + _CMDSCANSTART._serialized_start=58 + _CMDSCANSTART._serialized_end=150 + _RESPSCANSTART._serialized_start=152 + _RESPSCANSTART._serialized_end=167 + _CMDSCANSTATUS._serialized_start=169 + _CMDSCANSTATUS._serialized_end=184 + _RESPSCANSTATUS._serialized_start=186 + _RESPSCANSTATUS._serialized_end=247 + _CMDSCANRESULT._serialized_start=249 + _CMDSCANRESULT._serialized_end=300 + _WIFISCANRESULT._serialized_start=302 + _WIFISCANRESULT._serialized_end=407 + _RESPSCANRESULT._serialized_start=409 + _RESPSCANRESULT._serialized_end=459 + _WIFISCANPAYLOAD._serialized_start=462 + _WIFISCANPAYLOAD._serialized_end=806 # @@protoc_insertion_point(module_scope)