|
@@ -607,11 +607,14 @@ class SRIConnection(asyncio.Protocol):
|
|
|
o3.cockpit_id = self.connection_id # 舱端id
|
|
|
o3.vehicle_id = 10101089 # 车端id
|
|
|
re_command_id = protobuf.S2V_SendUserInfo # 6011
|
|
|
- re_body_length = o2.ByteSize()
|
|
|
+ re_body_length = o3.ByteSize()
|
|
|
re_head_data = struct.pack(self.head_sequence, re_command_id, re_body_length)
|
|
|
- re_body_data = o2.SerializeToString()
|
|
|
+ re_body_data = o3.SerializeToString()
|
|
|
re_send_data = re_head_data + re_body_data
|
|
|
methods.debug_log(f"{self.connection_id}|SRIConnection611", f"re_command_id: {re_command_id}")
|
|
|
+ # methods.debug_log(f"{self.connection_id}|SRIConnection611", f"o3.user_uuid: {o3.user_uuid}")
|
|
|
+ # methods.debug_log(f"{self.connection_id}|SRIConnection611", f"o3.cockpit_id: {o3.cockpit_id}")
|
|
|
+ # methods.debug_log(f"{self.connection_id}|SRIConnection611", f"o3.vehicle_id: {o3.vehicle_id}")
|
|
|
item.client.write(re_send_data)
|
|
|
|
|
|
@staticmethod
|