Files
HC_APTBS/Infrastructure/Kwp/Packets/CustomPacket.cs
2026-04-11 12:45:18 +02:00

24 lines
577 B
C#

using System;
using System.Collections.Generic;
namespace HC_APTBS.Infrastructure.Kwp.Packets
{
public class CustomPacket : Packet
{
public CustomPacket(List<byte> bytes) : base(bytes)
{
// Dump();
}
private void Dump()
{
System.Diagnostics.Debug.Write("Received Custom packet:");
for (var i = 3; i < Bytes.Count - 1; i++)
{
System.Diagnostics.Debug.Write($" {Bytes[i]:X2}");
}
System.Diagnostics.Debug.WriteLine("");
}
}
}