Skip to main content

pamoja_lorawan_firmware_reboot

Function pamoja_lorawan_firmware_reboot 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lorawan_firmware_reboot( manager: *const PamojaLorawanFirmware, out_at_s: *mut u32, out_has_at: *mut u8, out_in_s: *mut u32, out_has_in: *mut u8, out_now: *mut u8, ) -> PamojaStatus
Expand description

Reports the reboot a firmware management package is holding.

§Arguments

  • manager - the package.
  • out_at_s - receives the moment the device is to reboot, where one was set as a time.
  • out_has_at - receives 1 when there is one.
  • out_in_s - receives how long until it reboots, where one was set as a countdown.
  • out_has_in - receives 1 when there is one.
  • out_now - receives 1 when the device was told to reboot at once.

§Returns

PamojaStatus::Ok on success. Every out pointer may be null.

§Errors

Returns PamojaStatus::InvalidArgument for a null handle.

§Safety

manager must be a live handle and every non-null out pointer writable.