Communication Protocols
Communication Protocols
䊳
TEST & MEASUREMENT WORLD/JULY 2000 www.tmworld.com 167
䢇 COMMUNICATIONS PROTOCOLS
Option + Padding
Data Packet—carries the information you want to send to another USB device
Data
8 bits 1–1023 bytes 16 bits
PID Data CRC
Control Bits--6 bits. The control bits may be:
U (URG) Urgent pointer field significant R (RST) Reset the connection
A (ACK) Acknowledgement field significant S (SYN) Synchronize sequence numbers
P (PSH) Push function F (FIN) No more data from s Handshake Packet—follows a data packet, traveling from recipient to sender
8 bits
PID
IP Header Structure
Source: USB Complete, by Jan Axelson, Lakeview Research, Madison, WI, 1999.
4 bits 4 bits 8 bits 16 bits
Type of
Version IHL Total Length
Service
Identification Flags Fragment Offset
Time to Live Protocol Header Checksum Ethernet Header Structure
Source Address 6 bytes 6 bytes 2 bytes 46–1500 bytes 4 bytes
Destination Address Data Unit
Destination Source Length & Pad FCS
Option + Padding
Data
Source: www.protocols.com/pbook/ian.htm
ATM Cell Structure
5 bytes 48 bytes
Header Payload
Key
UNI: User-to-Network Interface
NNI: Network-to-User Interface Source: www.protocols.com
䊳
168 www.tmworld.com TEST & MEASUREMENT WORLD/JULY 2000
䢇 COMMUNICATIONS PROTOCOLS
MPEG-2 Transport Stream Packet
188 bytes
Transport Adaptation
Sync Start Transport Scrambling Continuity Adaptation Key
Error PID Field Payload
Byte Indicator Priority Control Counter Field
Indicator Control PID: Protocol Identifier
8 1 1 1 13 2 2 4 n1 Governing Connection Types
PCR: Program Clock Reference
Adaptation Discontinuity Random Elem. Stream Optional Stuffing OPCR: Original Program
Access Priority 5 Flags Clock Reference
Field Length Indicator Fields Bytes
Indicator Indicator
8 1 1 1 5 n2
Transport Adaptation
Splice
PCR OPCR Private Field
Countdown
Data Extension
Source: Tektronix
48 48 8 8+n3 8+n4
170