5.9.4.7 File Erase Callback

typedef void (*tpfFileEraseCb)
(
uint8    u8Status
);

The callback for a File Erase receives the erase status of the operation. A status of OTA_STATUS_SUCCESS ensures that the data has been completely erased, any other result does not ensure that the data is still valid, but also do not ensure that the data has been completely erased.