Skip to main content

pamoja_lorawan_end_device_repeat

Function pamoja_lorawan_end_device_repeat 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lorawan_end_device_repeat( device: *mut PamojaLorawanEndDevice, now_us: u64, out_frame: *mut *mut PamojaBuffer, out_transmission: *mut PamojaLorawanTransmission, ) -> PamojaStatus
Expand description

Sends the last uplink again, the same frame on a channel chosen afresh.

§Arguments

  • device - the device.
  • now_us - the time, in microseconds.
  • out_frame - receives the frame to transmit.
  • out_transmission - receives where and how to transmit it, and its windows.

§Returns

As pamoja_lorawan_end_device_send.

§Errors

Returns a failing status with the reason on pamoja_lorawan_end_device_error: nothing due to repeat, or a wait.

§Safety

device must be a live handle and the out pointers writable.