#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lorawan_relay_status(
relay: *const PamojaLorawanRelay,
out_status: *mut PamojaLorawanEndDeviceStatus,
) -> PamojaStatusExpand description
Reports what the relay’s own device is doing.
§Arguments
relay- the relay.out_status- receives the device’s session, counters, channels and windows.
§Returns
PamojaStatus::Ok on success.
§Errors
Returns PamojaStatus::InvalidArgument for a null handle or out pointer.
§Safety
relay must be a live handle and out_status writable.