pub const MAX_NETWORK_TYPES: u16 = 16;
Expand description

Maximum number of distinct network types that a LoWPAN device can support.

The choice of 16 is an arbitrary upper bound. Most devices will only support one, and maybe one day a device might support two. Sixteen was chosen because it’s large enough to account for any failure of imagination, yet small enough to not cause system stability issues.