Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_ota_upgrade.c File Reference

Stubs for the OTA upgrade API. More...

Include dependency graph for cascoda_ota_upgrade.c:

Functions

ca_error ota_handle_write (uint32_t aStartAddr, uint32_t aWriteLen, uint8_t *aData, ExternalFlashInfo aExternalFlashInfo, ExtFlashAPICallback aUpstreamCallback)
 
ca_error ota_handle_erase (uint32_t aStartAddr, uint32_t aEraseLen, ExtFlashAPICallback aUpstreamCallback)
 
ca_error ota_handle_check (uint32_t aStartAddr, uint32_t aCheckLen, uint32_t aCheckSum, ExternalFlashInfo aExternalFlashInfo, ExtFlashAPICallback aUpstreamCallback)
 

Detailed Description

Stubs for the OTA upgrade API.

Contact us for more information.

Function Documentation

◆ ota_handle_check()

ca_error ota_handle_check ( uint32_t  aStartAddr,
uint32_t  aCheckLen,
uint32_t  aCheckSum,
ExternalFlashInfo  aExternalFlashInfo,
ExtFlashAPICallback  aUpstreamCallback 
)

◆ ota_handle_erase()

ca_error ota_handle_erase ( uint32_t  aStartAddr,
uint32_t  aEraseLen,
ExtFlashAPICallback  aUpstreamCallback 
)

◆ ota_handle_write()

ca_error ota_handle_write ( uint32_t  aStartAddr,
uint32_t  aWriteLen,
uint8_t *  aData,
ExternalFlashInfo  aExternalFlashInfo,
ExtFlashAPICallback  aUpstreamCallback 
)