Skip to main content

pamoja_lorawan_rx_fcnt

Function pamoja_lorawan_rx_fcnt 

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

Returns the low 16 bits of the frame counter a decoded frame carries.

§Returns

The counter, or 0 if rx is null.

§Safety

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