Skip to main content

Module trace

Module trace 

Source
Expand description

Human-readable decoding of CI link frames, for diagnosing live-CAM exchanges (e.g. issue #337).

decode_frame turns one raw link frame into a one-line annotation — TPDU tag → SPDU tag → APDU tag — so a RecordingCaDevice capture reads like the byte traces in bug reports without hand-decoding. decode_log formats a whole captured exchange.

Functions§

decode_frame
Decode one raw link frame into a one-line annotation.
decode_log
Format a whole captured exchange as a multi-line annotated trace.