Skip to main content

Module btp_header

Module btp_header 

Source
Expand description

BTP (Basic Transport Protocol) header structures.

ETSI EN 302 636-5-1 defines two header variants:

HeaderField 1Field 2Use case
BTP-ADestination portSource portAcknowledged / unicast
BTP-BDestination portPort infoConnectionless / broadcast

Both headers are 4 bytes long.

Structsยง

BTPAHeader
BTP-A header: carries both destination and source port numbers.
BTPBHeader
BTP-B header: carries a destination port and a 16-bit port info field.