36 #ifndef CASCODA_OTA_STUBS_H
37 #define CASCODA_OTA_STUBS_H
46 #if CASCODA_EXTERNAL_FLASHCHIP_PRESENT
48 typedef ca_error (*ExtFlashAPICallback)(
void *aContext);
71 ExternalFlashInfo aExternalFlashInfo,
72 ExtFlashAPICallback aUpstreamCallback);
99 ExternalFlashInfo aExternalFlashInfo,
100 ExtFlashAPICallback aUpstreamCallback);
Global error declarations for use across the Cascoda SDK.
Declaration of platform abstraction functions.
ca_error ota_handle_check(uint32_t aStartAddr, uint32_t aCheckLen, uint32_t aCheckSum, ExternalFlashInfo aExternalFlashInfo, ExtFlashAPICallback aUpstreamCallback)
Definition: cascoda_ota_upgrade.c:68
ca_error ota_handle_write(uint32_t aStartAddr, uint32_t aWriteLen, uint8_t *aData, ExternalFlashInfo aExternalFlashInfo, ExtFlashAPICallback aUpstreamCallback)
Definition: cascoda_ota_upgrade.c:45
ca_error ota_handle_erase(uint32_t aStartAddr, uint32_t aEraseLen, ExtFlashAPICallback aUpstreamCallback)
Definition: cascoda_ota_upgrade.c:60
ca_error
Cascoda error type.
Definition: ca821x_error.h:51