mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 15:11:40 +01:00 
			
		
		
		
	protocomm: Regenerated proto-c and python with protobuf compiler v3.21.0
This commit is contained in:
		| @@ -1,16 +1,11 @@ | ||||
| # -*- coding: utf-8 -*- | ||||
| # Generated by the protocol buffer compiler.  DO NOT EDIT! | ||||
| # source: sec0.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,180 +13,20 @@ _sym_db = _symbol_database.Default() | ||||
|  | ||||
| import constants_pb2 as constants__pb2 | ||||
|  | ||||
| DESCRIPTOR = _descriptor.FileDescriptor( | ||||
|   name='sec0.proto', | ||||
|   package='', | ||||
|   syntax='proto3', | ||||
|   serialized_pb=_b('\n\nsec0.proto\x1a\x0f\x63onstants.proto\"\x0e\n\x0cS0SessionCmd\"(\n\rS0SessionResp\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\"n\n\x0bSec0Payload\x12\x19\n\x03msg\x18\x01 \x01(\x0e\x32\x0c.Sec0MsgType\x12\x1b\n\x02sc\x18\x14 \x01(\x0b\x32\r.S0SessionCmdH\x00\x12\x1c\n\x02sr\x18\x15 \x01(\x0b\x32\x0e.S0SessionRespH\x00\x42\t\n\x07payload*>\n\x0bSec0MsgType\x12\x16\n\x12S0_Session_Command\x10\x00\x12\x17\n\x13S0_Session_Response\x10\x01\x62\x06proto3') | ||||
|   , | ||||
|   dependencies=[constants__pb2.DESCRIPTOR,]) | ||||
|  | ||||
| _SEC0MSGTYPE = _descriptor.EnumDescriptor( | ||||
|   name='Sec0MsgType', | ||||
|   full_name='Sec0MsgType', | ||||
|   filename=None, | ||||
|   file=DESCRIPTOR, | ||||
|   values=[ | ||||
|     _descriptor.EnumValueDescriptor( | ||||
|       name='S0_Session_Command', index=0, number=0, | ||||
|       options=None, | ||||
|       type=None), | ||||
|     _descriptor.EnumValueDescriptor( | ||||
|       name='S0_Session_Response', index=1, number=1, | ||||
|       options=None, | ||||
|       type=None), | ||||
|   ], | ||||
|   containing_type=None, | ||||
|   options=None, | ||||
|   serialized_start=201, | ||||
|   serialized_end=263, | ||||
| ) | ||||
| _sym_db.RegisterEnumDescriptor(_SEC0MSGTYPE) | ||||
|  | ||||
| Sec0MsgType = enum_type_wrapper.EnumTypeWrapper(_SEC0MSGTYPE) | ||||
| S0_Session_Command = 0 | ||||
| S0_Session_Response = 1 | ||||
|  | ||||
|  | ||||
|  | ||||
| _S0SESSIONCMD = _descriptor.Descriptor( | ||||
|   name='S0SessionCmd', | ||||
|   full_name='S0SessionCmd', | ||||
|   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=31, | ||||
|   serialized_end=45, | ||||
| ) | ||||
|  | ||||
|  | ||||
| _S0SESSIONRESP = _descriptor.Descriptor( | ||||
|   name='S0SessionResp', | ||||
|   full_name='S0SessionResp', | ||||
|   filename=None, | ||||
|   file=DESCRIPTOR, | ||||
|   containing_type=None, | ||||
|   fields=[ | ||||
|     _descriptor.FieldDescriptor( | ||||
|       name='status', full_name='S0SessionResp.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=47, | ||||
|   serialized_end=87, | ||||
| ) | ||||
|  | ||||
|  | ||||
| _SEC0PAYLOAD = _descriptor.Descriptor( | ||||
|   name='Sec0Payload', | ||||
|   full_name='Sec0Payload', | ||||
|   filename=None, | ||||
|   file=DESCRIPTOR, | ||||
|   containing_type=None, | ||||
|   fields=[ | ||||
|     _descriptor.FieldDescriptor( | ||||
|       name='msg', full_name='Sec0Payload.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='sc', full_name='Sec0Payload.sc', index=1, | ||||
|       number=20, 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='sr', full_name='Sec0Payload.sr', index=2, | ||||
|       number=21, 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='Sec0Payload.payload', | ||||
|       index=0, containing_type=None, fields=[]), | ||||
|   ], | ||||
|   serialized_start=89, | ||||
|   serialized_end=199, | ||||
| ) | ||||
|  | ||||
| _S0SESSIONRESP.fields_by_name['status'].enum_type = constants__pb2._STATUS | ||||
| _SEC0PAYLOAD.fields_by_name['msg'].enum_type = _SEC0MSGTYPE | ||||
| _SEC0PAYLOAD.fields_by_name['sc'].message_type = _S0SESSIONCMD | ||||
| _SEC0PAYLOAD.fields_by_name['sr'].message_type = _S0SESSIONRESP | ||||
| _SEC0PAYLOAD.oneofs_by_name['payload'].fields.append( | ||||
|   _SEC0PAYLOAD.fields_by_name['sc']) | ||||
| _SEC0PAYLOAD.fields_by_name['sc'].containing_oneof = _SEC0PAYLOAD.oneofs_by_name['payload'] | ||||
| _SEC0PAYLOAD.oneofs_by_name['payload'].fields.append( | ||||
|   _SEC0PAYLOAD.fields_by_name['sr']) | ||||
| _SEC0PAYLOAD.fields_by_name['sr'].containing_oneof = _SEC0PAYLOAD.oneofs_by_name['payload'] | ||||
| DESCRIPTOR.message_types_by_name['S0SessionCmd'] = _S0SESSIONCMD | ||||
| DESCRIPTOR.message_types_by_name['S0SessionResp'] = _S0SESSIONRESP | ||||
| DESCRIPTOR.message_types_by_name['Sec0Payload'] = _SEC0PAYLOAD | ||||
| DESCRIPTOR.enum_types_by_name['Sec0MsgType'] = _SEC0MSGTYPE | ||||
| _sym_db.RegisterFileDescriptor(DESCRIPTOR) | ||||
|  | ||||
| S0SessionCmd = _reflection.GeneratedProtocolMessageType('S0SessionCmd', (_message.Message,), dict( | ||||
|   DESCRIPTOR = _S0SESSIONCMD, | ||||
|   __module__ = 'sec0_pb2' | ||||
|   # @@protoc_insertion_point(class_scope:S0SessionCmd) | ||||
|   )) | ||||
| _sym_db.RegisterMessage(S0SessionCmd) | ||||
|  | ||||
| S0SessionResp = _reflection.GeneratedProtocolMessageType('S0SessionResp', (_message.Message,), dict( | ||||
|   DESCRIPTOR = _S0SESSIONRESP, | ||||
|   __module__ = 'sec0_pb2' | ||||
|   # @@protoc_insertion_point(class_scope:S0SessionResp) | ||||
|   )) | ||||
| _sym_db.RegisterMessage(S0SessionResp) | ||||
|  | ||||
| Sec0Payload = _reflection.GeneratedProtocolMessageType('Sec0Payload', (_message.Message,), dict( | ||||
|   DESCRIPTOR = _SEC0PAYLOAD, | ||||
|   __module__ = 'sec0_pb2' | ||||
|   # @@protoc_insertion_point(class_scope:Sec0Payload) | ||||
|   )) | ||||
| _sym_db.RegisterMessage(Sec0Payload) | ||||
| DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nsec0.proto\x1a\x0f\x63onstants.proto\"\x0e\n\x0cS0SessionCmd\"(\n\rS0SessionResp\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\"n\n\x0bSec0Payload\x12\x19\n\x03msg\x18\x01 \x01(\x0e\x32\x0c.Sec0MsgType\x12\x1b\n\x02sc\x18\x14 \x01(\x0b\x32\r.S0SessionCmdH\x00\x12\x1c\n\x02sr\x18\x15 \x01(\x0b\x32\x0e.S0SessionRespH\x00\x42\t\n\x07payload*>\n\x0bSec0MsgType\x12\x16\n\x12S0_Session_Command\x10\x00\x12\x17\n\x13S0_Session_Response\x10\x01\x62\x06proto3') | ||||
|  | ||||
| _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) | ||||
| _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sec0_pb2', globals()) | ||||
| if _descriptor._USE_C_DESCRIPTORS == False: | ||||
|  | ||||
|   DESCRIPTOR._options = None | ||||
|   _SEC0MSGTYPE._serialized_start=201 | ||||
|   _SEC0MSGTYPE._serialized_end=263 | ||||
|   _S0SESSIONCMD._serialized_start=31 | ||||
|   _S0SESSIONCMD._serialized_end=45 | ||||
|   _S0SESSIONRESP._serialized_start=47 | ||||
|   _S0SESSIONRESP._serialized_end=87 | ||||
|   _SEC0PAYLOAD._serialized_start=89 | ||||
|   _SEC0PAYLOAD._serialized_end=199 | ||||
| # @@protoc_insertion_point(module_scope) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user