Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions

     Lists the full set of available APIs to manage OTA updates and Host File Downloads.

Modules

 Common
 
 WINC
 
 HFD
 

Functions

sint8 m2m_wifi_check_ota_rb (void)
 Synchronous API to check presence and compatibility of the WINC image that is stored in the inactive flash partition. This is the image that would run on the WINC IC if m2m_ota_switch_firmware or m2m_ota_rollback were called, followed by a reset of the WINC IC. More...
 

sint8 m2m_wifi_check_ota_rb ( void  )

Synchronous API to check presence and compatibility of the WINC image that is stored in the inactive flash partition. This is the image that would run on the WINC IC if m2m_ota_switch_firmware or m2m_ota_rollback were called, followed by a reset of the WINC IC.

Synchronous API to check presence and compatibility of the WINC image that is stored in the inactive flash partition. This is the image that would run on the WINC if m2m_ota_switch_firmware or m2m_ota_rollback were called, followed by a reset of the WINC.

Returns
The function SHALL return M2M_SUCCESS for compatible image and a negative value otherwise.
The function returns M2M_SUCCESS for compatible image and a negative value otherwise.

References hif_check_compatibility(), M2M_SUCCESS, nm_get_hif_info(), and NULL.