You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1005 B
46 lines
1005 B
=== Minimal ETCP Traffic Flow Debugging === |
|
=== Testing Basic Packet Analysis === |
|
Test packet: 00 00 06 00 01 48 65 6C 6C 6F |
|
Section type: 0x00 |
|
Section length: 6 |
|
Total packet size: 10 |
|
This is a PAYLOAD section |
|
Packet ID: 1 |
|
Payload size: 4 bytes |
|
Payload data: 48 65 6C 6C |
|
Payload as text: Hell |
|
|
|
=== Testing Multi-Section Packet === |
|
Multi-section packet: 06 00 02 12 34 01 00 09 02 00 01 56 78 00 02 56 79 00 00 08 00 03 48 65 6C 6C 6F 21 |
|
|
|
Section 0 at position 0: |
|
Type: 0x06 (TIMESTAMP) |
|
Length: 2 bytes |
|
Timestamp: 4660 |
|
|
|
Section 1 at position 5: |
|
Type: 0x01 (ACK) |
|
Length: 9 bytes |
|
ACK count: 2 |
|
ACK[0]: id=1, ts=22136 |
|
ACK[1]: id=2, ts=22137 |
|
|
|
Section 2 at position 17: |
|
Type: 0x00 (PAYLOAD) |
|
Length: 8 bytes |
|
Packet ID: 3 |
|
Payload: Hello! |
|
|
|
Total sections parsed: 3 |
|
|
|
=== Testing Connection Establishment Packets === |
|
INIT_REQUEST packet: |
|
Node ID: 0x2222222222222222 |
|
MTU: 1500 |
|
Keepalive: 100 |
|
|
|
INIT_RESPONSE packet: |
|
Node ID: 0x1111111111111111 |
|
MTU: 1500 |
|
|
|
=== Test completed ===
|
|
|