Skip to main content

pamoja_lorawan_backoff_downlink

Function pamoja_lorawan_backoff_downlink 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lorawan_backoff_downlink( backoff: *mut PamojaLorawanBackoff, ) -> PamojaStatus
Expand description

Counts a Class A downlink, which proves the network still hears the device and resets the count.

§Arguments

  • backoff - the count.

§Returns

PamojaStatus::Ok on success.

§Errors

Returns PamojaStatus::InvalidArgument if backoff is null.

§Safety

backoff must be a live handle from pamoja_lorawan_backoff_new, or null.