5 _b=sys.version_info[0]<3
and (
lambda x:x)
or (
lambda x:x.encode(
'latin1'))
6 from google.protobuf
import descriptor
as _descriptor
7 from google.protobuf
import message
as _message
8 from google.protobuf
import reflection
as _reflection
9 from google.protobuf
import symbol_database
as _symbol_database
10 from google.protobuf
import descriptor_pb2
13 _sym_db = _symbol_database.Default()
18 DESCRIPTOR = _descriptor.FileDescriptor(
19 name=
'commonphyheader.proto',
20 package=
'EMANEMessage',
22 serialized_pb=_b(
'\n\x15\x63ommonphyheader.proto\x12\x0c\x45MANEMessage\"\xcc\x03\n\x0f\x43ommonPHYHeader\x12\x16\n\x0eregistrationId\x18\x01 \x02(\r\x12\r\n\x05subId\x18\x02 \x02(\r\x12\x16\n\x0esequenceNumber\x18\x03 \x02(\r\x12\x13\n\x0b\x62\x61ndwidthHz\x18\x04 \x02(\x04\x12\x1a\n\x12txTimeMicroseconds\x18\x05 \x02(\x04\x12?\n\x0ctransmitters\x18\x06 \x03(\x0b\x32).EMANEMessage.CommonPHYHeader.Transmitter\x12I\n\x11\x66requencySegments\x18\x07 \x03(\x0b\x32..EMANEMessage.CommonPHYHeader.FrequencySegment\x12\x18\n\x10\x66ixedAntennaGain\x18\x08 \x01(\x01\x1a.\n\x0bTransmitter\x12\r\n\x05nemId\x18\x01 \x02(\r\x12\x10\n\x08powerdBm\x18\x02 \x02(\x01\x1as\n\x10\x46requencySegment\x12\x13\n\x0b\x66requencyHz\x18\x01 \x02(\x04\x12\x1a\n\x12offsetMicroseconds\x18\x02 \x02(\x04\x12\x1c\n\x14\x64urationMicroseconds\x18\x03 \x02(\x04\x12\x10\n\x08powerdBm\x18\x04 \x01(\x01\x42\x02H\x01')
28 _COMMONPHYHEADER_TRANSMITTER = _descriptor.Descriptor(
30 full_name=
'EMANEMessage.CommonPHYHeader.Transmitter',
35 _descriptor.FieldDescriptor(
36 name=
'nemId', full_name=
'EMANEMessage.CommonPHYHeader.Transmitter.nemId', index=0,
37 number=1, type=13, cpp_type=3, label=2,
38 has_default_value=
False, default_value=0,
39 message_type=
None, enum_type=
None, containing_type=
None,
40 is_extension=
False, extension_scope=
None,
42 _descriptor.FieldDescriptor(
43 name=
'powerdBm', full_name=
'EMANEMessage.CommonPHYHeader.Transmitter.powerdBm', index=1,
44 number=2, type=1, cpp_type=5, label=2,
45 has_default_value=
False, default_value=float(0),
46 message_type=
None, enum_type=
None, containing_type=
None,
47 is_extension=
False, extension_scope=
None,
65 _COMMONPHYHEADER_FREQUENCYSEGMENT = _descriptor.Descriptor(
66 name=
'FrequencySegment',
67 full_name=
'EMANEMessage.CommonPHYHeader.FrequencySegment',
72 _descriptor.FieldDescriptor(
73 name=
'frequencyHz', full_name=
'EMANEMessage.CommonPHYHeader.FrequencySegment.frequencyHz', index=0,
74 number=1, type=4, cpp_type=4, label=2,
75 has_default_value=
False, default_value=0,
76 message_type=
None, enum_type=
None, containing_type=
None,
77 is_extension=
False, extension_scope=
None,
79 _descriptor.FieldDescriptor(
80 name=
'offsetMicroseconds', full_name=
'EMANEMessage.CommonPHYHeader.FrequencySegment.offsetMicroseconds', index=1,
81 number=2, type=4, cpp_type=4, label=2,
82 has_default_value=
False, default_value=0,
83 message_type=
None, enum_type=
None, containing_type=
None,
84 is_extension=
False, extension_scope=
None,
86 _descriptor.FieldDescriptor(
87 name=
'durationMicroseconds', full_name=
'EMANEMessage.CommonPHYHeader.FrequencySegment.durationMicroseconds', index=2,
88 number=3, type=4, cpp_type=4, label=2,
89 has_default_value=
False, default_value=0,
90 message_type=
None, enum_type=
None, containing_type=
None,
91 is_extension=
False, extension_scope=
None,
93 _descriptor.FieldDescriptor(
94 name=
'powerdBm', full_name=
'EMANEMessage.CommonPHYHeader.FrequencySegment.powerdBm', index=3,
95 number=4, type=1, cpp_type=5, label=1,
96 has_default_value=
False, default_value=float(0),
97 message_type=
None, enum_type=
None, containing_type=
None,
98 is_extension=
False, extension_scope=
None,
112 serialized_start=385,
116 _COMMONPHYHEADER = _descriptor.Descriptor(
117 name=
'CommonPHYHeader',
118 full_name=
'EMANEMessage.CommonPHYHeader',
121 containing_type=
None,
123 _descriptor.FieldDescriptor(
124 name=
'registrationId', full_name=
'EMANEMessage.CommonPHYHeader.registrationId', index=0,
125 number=1, type=13, cpp_type=3, label=2,
126 has_default_value=
False, default_value=0,
127 message_type=
None, enum_type=
None, containing_type=
None,
128 is_extension=
False, extension_scope=
None,
130 _descriptor.FieldDescriptor(
131 name=
'subId', full_name=
'EMANEMessage.CommonPHYHeader.subId', index=1,
132 number=2, type=13, cpp_type=3, label=2,
133 has_default_value=
False, default_value=0,
134 message_type=
None, enum_type=
None, containing_type=
None,
135 is_extension=
False, extension_scope=
None,
137 _descriptor.FieldDescriptor(
138 name=
'sequenceNumber', full_name=
'EMANEMessage.CommonPHYHeader.sequenceNumber', index=2,
139 number=3, type=13, cpp_type=3, label=2,
140 has_default_value=
False, default_value=0,
141 message_type=
None, enum_type=
None, containing_type=
None,
142 is_extension=
False, extension_scope=
None,
144 _descriptor.FieldDescriptor(
145 name=
'bandwidthHz', full_name=
'EMANEMessage.CommonPHYHeader.bandwidthHz', index=3,
146 number=4, type=4, cpp_type=4, label=2,
147 has_default_value=
False, default_value=0,
148 message_type=
None, enum_type=
None, containing_type=
None,
149 is_extension=
False, extension_scope=
None,
151 _descriptor.FieldDescriptor(
152 name=
'txTimeMicroseconds', full_name=
'EMANEMessage.CommonPHYHeader.txTimeMicroseconds', index=4,
153 number=5, type=4, cpp_type=4, label=2,
154 has_default_value=
False, default_value=0,
155 message_type=
None, enum_type=
None, containing_type=
None,
156 is_extension=
False, extension_scope=
None,
158 _descriptor.FieldDescriptor(
159 name=
'transmitters', full_name=
'EMANEMessage.CommonPHYHeader.transmitters', index=5,
160 number=6, type=11, cpp_type=10, label=3,
161 has_default_value=
False, default_value=[],
162 message_type=
None, enum_type=
None, containing_type=
None,
163 is_extension=
False, extension_scope=
None,
165 _descriptor.FieldDescriptor(
166 name=
'frequencySegments', full_name=
'EMANEMessage.CommonPHYHeader.frequencySegments', index=6,
167 number=7, type=11, cpp_type=10, label=3,
168 has_default_value=
False, default_value=[],
169 message_type=
None, enum_type=
None, containing_type=
None,
170 is_extension=
False, extension_scope=
None,
172 _descriptor.FieldDescriptor(
173 name=
'fixedAntennaGain', full_name=
'EMANEMessage.CommonPHYHeader.fixedAntennaGain', index=7,
174 number=8, type=1, cpp_type=5, label=1,
175 has_default_value=
False, default_value=float(0),
176 message_type=
None, enum_type=
None, containing_type=
None,
177 is_extension=
False, extension_scope=
None,
182 nested_types=[_COMMONPHYHEADER_TRANSMITTER, _COMMONPHYHEADER_FREQUENCYSEGMENT, ],
195 _COMMONPHYHEADER_TRANSMITTER.containing_type = _COMMONPHYHEADER
196 _COMMONPHYHEADER_FREQUENCYSEGMENT.containing_type = _COMMONPHYHEADER
197 _COMMONPHYHEADER.fields_by_name[
'transmitters'].message_type = _COMMONPHYHEADER_TRANSMITTER
198 _COMMONPHYHEADER.fields_by_name[
'frequencySegments'].message_type = _COMMONPHYHEADER_FREQUENCYSEGMENT
199 DESCRIPTOR.message_types_by_name[
'CommonPHYHeader'] = _COMMONPHYHEADER
200 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
202 CommonPHYHeader = _reflection.GeneratedProtocolMessageType(
'CommonPHYHeader', (_message.Message,), dict(
204 Transmitter = _reflection.GeneratedProtocolMessageType(
'Transmitter', (_message.Message,), dict(
205 DESCRIPTOR = _COMMONPHYHEADER_TRANSMITTER,
206 __module__ =
'commonphyheader_pb2' 211 FrequencySegment = _reflection.GeneratedProtocolMessageType(
'FrequencySegment', (_message.Message,), dict(
212 DESCRIPTOR = _COMMONPHYHEADER_FREQUENCYSEGMENT,
213 __module__ =
'commonphyheader_pb2' 217 DESCRIPTOR = _COMMONPHYHEADER,
218 __module__ =
'commonphyheader_pb2' 221 _sym_db.RegisterMessage(CommonPHYHeader)
222 _sym_db.RegisterMessage(CommonPHYHeader.Transmitter)
223 _sym_db.RegisterMessage(CommonPHYHeader.FrequencySegment)
226 DESCRIPTOR.has_options =
True 227 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b(
'H\001'))