Communication protocol
Also: wire protocol
An agreed contract for exchanging messages.
It defines physical assumptions, framing, fields, units, ordering, timing, error detection, retries, and version behavior.
Example A sensor packet specifies header, length, payload units, checksum, and timeout.
Common misconception Matching connector shape or baud rate alone does not establish protocol compatibility.