#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lorawan_rx_fport(
rx: *const PamojaLorawanRx,
out_fport: *mut u8,
) -> boolExpand description
Returns the port a decoded frame was sent on.
§Arguments
rx- the decoded frame.out_fport- receives the port.
§Returns
true when the frame carries a port, with *out_fport written, or false
for a frame that carries only frame options and so has none.
§Safety
rx must be a live handle from pamoja_lorawan_session_decode, or null,
and out_fport must point to a writable uint8_t.