1# Generated by the protocol buffer compiler.  DO NOT EDIT!
2# source: wifi_constants.proto
3
4import sys
5
6_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
7from google.protobuf import descriptor as _descriptor
8from google.protobuf import descriptor_pb2
9from google.protobuf import message as _message
10from google.protobuf import reflection as _reflection
11from google.protobuf import symbol_database as _symbol_database
12from google.protobuf.internal import enum_type_wrapper
13
14# @@protoc_insertion_point(imports)
15
16_sym_db = _symbol_database.Default()
17
18
19
20
21DESCRIPTOR = _descriptor.FileDescriptor(
22  name='wifi_constants.proto',
23  package='',
24  syntax='proto3',
25  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')
26)
27
28_WIFISTATIONSTATE = _descriptor.EnumDescriptor(
29  name='WifiStationState',
30  full_name='WifiStationState',
31  filename=None,
32  file=DESCRIPTOR,
33  values=[
34    _descriptor.EnumValueDescriptor(
35      name='Connected', index=0, number=0,
36      options=None,
37      type=None),
38    _descriptor.EnumValueDescriptor(
39      name='Connecting', index=1, number=1,
40      options=None,
41      type=None),
42    _descriptor.EnumValueDescriptor(
43      name='Disconnected', index=2, number=2,
44      options=None,
45      type=None),
46    _descriptor.EnumValueDescriptor(
47      name='ConnectionFailed', index=3, number=3,
48      options=None,
49      type=None),
50  ],
51  containing_type=None,
52  options=None,
53  serialized_start=144,
54  serialized_end=233,
55)
56_sym_db.RegisterEnumDescriptor(_WIFISTATIONSTATE)
57
58WifiStationState = enum_type_wrapper.EnumTypeWrapper(_WIFISTATIONSTATE)
59_WIFICONNECTFAILEDREASON = _descriptor.EnumDescriptor(
60  name='WifiConnectFailedReason',
61  full_name='WifiConnectFailedReason',
62  filename=None,
63  file=DESCRIPTOR,
64  values=[
65    _descriptor.EnumValueDescriptor(
66      name='AuthError', index=0, number=0,
67      options=None,
68      type=None),
69    _descriptor.EnumValueDescriptor(
70      name='NetworkNotFound', index=1, number=1,
71      options=None,
72      type=None),
73  ],
74  containing_type=None,
75  options=None,
76  serialized_start=235,
77  serialized_end=296,
78)
79_sym_db.RegisterEnumDescriptor(_WIFICONNECTFAILEDREASON)
80
81WifiConnectFailedReason = enum_type_wrapper.EnumTypeWrapper(_WIFICONNECTFAILEDREASON)
82_WIFIAUTHMODE = _descriptor.EnumDescriptor(
83  name='WifiAuthMode',
84  full_name='WifiAuthMode',
85  filename=None,
86  file=DESCRIPTOR,
87  values=[
88    _descriptor.EnumValueDescriptor(
89      name='Open', index=0, number=0,
90      options=None,
91      type=None),
92    _descriptor.EnumValueDescriptor(
93      name='WEP', index=1, number=1,
94      options=None,
95      type=None),
96    _descriptor.EnumValueDescriptor(
97      name='WPA_PSK', index=2, number=2,
98      options=None,
99      type=None),
100    _descriptor.EnumValueDescriptor(
101      name='WPA2_PSK', index=3, number=3,
102      options=None,
103      type=None),
104    _descriptor.EnumValueDescriptor(
105      name='WPA_WPA2_PSK', index=4, number=4,
106      options=None,
107      type=None),
108    _descriptor.EnumValueDescriptor(
109      name='WPA2_ENTERPRISE', index=5, number=5,
110      options=None,
111      type=None),
112  ],
113  containing_type=None,
114  options=None,
115  serialized_start=298,
116  serialized_end=397,
117)
118_sym_db.RegisterEnumDescriptor(_WIFIAUTHMODE)
119
120WifiAuthMode = enum_type_wrapper.EnumTypeWrapper(_WIFIAUTHMODE)
121Connected = 0
122Connecting = 1
123Disconnected = 2
124ConnectionFailed = 3
125AuthError = 0
126NetworkNotFound = 1
127Open = 0
128WEP = 1
129WPA_PSK = 2
130WPA2_PSK = 3
131WPA_WPA2_PSK = 4
132WPA2_ENTERPRISE = 5
133
134
135
136_WIFICONNECTEDSTATE = _descriptor.Descriptor(
137  name='WifiConnectedState',
138  full_name='WifiConnectedState',
139  filename=None,
140  file=DESCRIPTOR,
141  containing_type=None,
142  fields=[
143    _descriptor.FieldDescriptor(
144      name='ip4_addr', full_name='WifiConnectedState.ip4_addr', index=0,
145      number=1, type=9, cpp_type=9, label=1,
146      has_default_value=False, default_value=_b('').decode('utf-8'),
147      message_type=None, enum_type=None, containing_type=None,
148      is_extension=False, extension_scope=None,
149      options=None, file=DESCRIPTOR),
150    _descriptor.FieldDescriptor(
151      name='auth_mode', full_name='WifiConnectedState.auth_mode', index=1,
152      number=2, type=14, cpp_type=8, label=1,
153      has_default_value=False, default_value=0,
154      message_type=None, enum_type=None, containing_type=None,
155      is_extension=False, extension_scope=None,
156      options=None, file=DESCRIPTOR),
157    _descriptor.FieldDescriptor(
158      name='ssid', full_name='WifiConnectedState.ssid', index=2,
159      number=3, type=12, cpp_type=9, label=1,
160      has_default_value=False, default_value=_b(''),
161      message_type=None, enum_type=None, containing_type=None,
162      is_extension=False, extension_scope=None,
163      options=None, file=DESCRIPTOR),
164    _descriptor.FieldDescriptor(
165      name='bssid', full_name='WifiConnectedState.bssid', index=3,
166      number=4, type=12, cpp_type=9, label=1,
167      has_default_value=False, default_value=_b(''),
168      message_type=None, enum_type=None, containing_type=None,
169      is_extension=False, extension_scope=None,
170      options=None, file=DESCRIPTOR),
171    _descriptor.FieldDescriptor(
172      name='channel', full_name='WifiConnectedState.channel', index=4,
173      number=5, type=5, cpp_type=1, label=1,
174      has_default_value=False, default_value=0,
175      message_type=None, enum_type=None, containing_type=None,
176      is_extension=False, extension_scope=None,
177      options=None, file=DESCRIPTOR),
178  ],
179  extensions=[
180  ],
181  nested_types=[],
182  enum_types=[
183  ],
184  options=None,
185  is_extendable=False,
186  syntax='proto3',
187  extension_ranges=[],
188  oneofs=[
189  ],
190  serialized_start=24,
191  serialized_end=142,
192)
193
194_WIFICONNECTEDSTATE.fields_by_name['auth_mode'].enum_type = _WIFIAUTHMODE
195DESCRIPTOR.message_types_by_name['WifiConnectedState'] = _WIFICONNECTEDSTATE
196DESCRIPTOR.enum_types_by_name['WifiStationState'] = _WIFISTATIONSTATE
197DESCRIPTOR.enum_types_by_name['WifiConnectFailedReason'] = _WIFICONNECTFAILEDREASON
198DESCRIPTOR.enum_types_by_name['WifiAuthMode'] = _WIFIAUTHMODE
199_sym_db.RegisterFileDescriptor(DESCRIPTOR)
200
201WifiConnectedState = _reflection.GeneratedProtocolMessageType('WifiConnectedState', (_message.Message,), dict(
202  DESCRIPTOR = _WIFICONNECTEDSTATE,
203  __module__ = 'wifi_constants_pb2'
204  # @@protoc_insertion_point(class_scope:WifiConnectedState)
205  ))
206_sym_db.RegisterMessage(WifiConnectedState)
207
208
209# @@protoc_insertion_point(module_scope)
210