embassy-net

Crates

git

Versions

default

Flavors

Skip to main content

ASSEMBLER_MAX_SEGMENT_COUNT

Constant ASSEMBLER_MAX_SEGMENT_COUNT 

pub const ASSEMBLER_MAX_SEGMENT_COUNT: usize = raw::ASSEMBLER_MAX_SEGMENT_COUNT; // 4usize
Expand description

Max contiguous data ranges tracked while reassembling.

This is used both for TCP receive and for IP or 6LoWPAN reassembly. When the assembler is full, data that would need tracking one more range is dropped and has to be retransmitted.

This is a limit with and without alloc. Default: 4.