#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lorawan_firmware_new(
firmware: u32,
hardware: u32,
out_manager: *mut *mut PamojaLorawanFirmware,
) -> PamojaStatusExpand description
Starts the firmware management package on a device, TS006-1.0.0.
§Arguments
firmware- the version the device is running, as its manufacturer numbers it.hardware- the platform it runs on.out_manager- receives the package.
§Returns
PamojaStatus::Ok on success, with *out_manager set to a handle the caller must
release with pamoja_lorawan_firmware_free.
§Errors
Returns PamojaStatus::InvalidArgument for a null out pointer.
§Safety
out_manager must be writable.