Decode UDS message
decode_udsDecode a UDS (ISO 14229-1) PDU from hex: request, positive or negative response. Names the service, sub-function (and suppressPosRsp bit), DID/RID/address fields, and for negative responses the NRC with meaning and typical cause. Unknown SIDs and NRCs are labelled, not rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | Yes | PDU bytes, e.g. "7F 34 78" or "0x22 0xF1 0x90" (no ISO-TP header). | |
| direction | No | Optional hint to disambiguate. |