Transport Protocol Data Unit.

Public Attributes#

uint8_t

Segmentation flag (1 if segmented, 0 if unsegmented)

uint8_t

Opcode for control messages.

uint8_t

Reserved for future use.

uint8_t

Application Key Flag (only for access messages)

uint8_t

Application Identifier (only for access messages)

uint8_t

Size of MIC (only for access messages)

uint16_t

SeqZero value.

uint8_t

Segment offset.

uint8_t

Last segment number.

size_t

Length of the segment data.

const uint8_t *

Pointer to the segment data buffer.

Public Attribute Documentation#

seg#

uint8_t trans_pdu_t::seg

Segmentation flag (1 if segmented, 0 if unsegmented)


opcode#

uint8_t trans_pdu_t::opcode

Opcode for control messages.


rfu#

uint8_t trans_pdu_t::rfu

Reserved for future use.


akf#

uint8_t trans_pdu_t::akf

Application Key Flag (only for access messages)


aid#

uint8_t trans_pdu_t::aid

Application Identifier (only for access messages)


szmic#

uint8_t trans_pdu_t::szmic

Size of MIC (only for access messages)


seq_0#

uint16_t trans_pdu_t::seq_0

SeqZero value.


seg_o#

uint8_t trans_pdu_t::seg_o

Segment offset.


seg_n#

uint8_t trans_pdu_t::seg_n

Last segment number.


segment_len#

size_t trans_pdu_t::segment_len

Length of the segment data.


segment#

const uint8_t* trans_pdu_t::segment

Pointer to the segment data buffer.