Thread: PID vs. PDL
View Single Post
Old May 1st, 2012   #6
Task Group Member
Join Date: Aug 2008
Posts: 369

Originally Posted by erwin View Post
The question should probably more be like; when PID and PDL disagree, should I assume spec is always right and mark the packet as broken?
YES!!! Mark the packet as broken. If the received PDL doesn't match the expected value for that PID, then the packet is corrupt and should be flagged as such.

This is a common problem, I've seen many devices that send incorrect PDLs, especially on ACK SET_RESPONSE packets. Such behavior can cause interoperability problems.
ericthegeek is offline   Reply With Quote