#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lorawan_clock_sync_status(
sync: *const PamojaLorawanClockSync,
out_token: *mut u8,
out_period_s: *mut u32,
out_answer_due: *mut u8,
) -> PamojaStatusExpand description
Reports where a clock synchronization package stands.
§Arguments
sync- the package.out_token- receives the token the next request carries.out_period_s- receives the seconds between requests the server last set.out_answer_due- receives1when the device owes an answer.
§Returns
PamojaStatus::Ok on success. Every out pointer may be null.
§Errors
Returns PamojaStatus::InvalidArgument for a null handle.
§Safety
sync must be a live handle and every non-null out pointer writable.