Skip to main content

pamoja_lorawan_rx_class_b

Function pamoja_lorawan_rx_class_b 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lorawan_rx_class_b( rx: *const PamojaLorawanRx, ) -> bool
Expand description

Reports whether a decoded uplink came from a device running Class B.

§Returns

true when the ClassB bit of an uplink is set, or false for a downlink or if rx is null.

§Safety

rx must be a live handle from pamoja_lorawan_session_decode, or null.