Skip to main content

pamoja_lorawan_rx_fopts

Function pamoja_lorawan_rx_fopts 

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

Returns a pointer to the frame options a decoded frame carries.

Use pamoja_lorawan_rx_fopts_len for the length. The pointer is valid until the frame is freed.

§Returns

A pointer to the options, or null if rx is null or there are none.

§Safety

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