pub const fn smart_enable_uplinks(level: u8) -> u16Expand description
How many uplinks may go unanswered before a device in RelayActivation::Dynamic mode
starts using a relay, TS011-1.0.1 table 41.
§Arguments
level- the coded level; only its low two bits are read.
§Returns
8, 16, 32 or 64.
§Examples
use pamoja_lorawan::relay::smart_enable_uplinks;
assert_eq!(smart_enable_uplinks(0), 8);
assert_eq!(smart_enable_uplinks(3), 64);