Functions
Functions
Collaboration diagram for Functions:

Functions

NMI_API sint8 m2m_ota_get_firmware_version (tstrM2mRev *pstrRev)
 Synchronous API to obtain the firmware version 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. More...
 
uint32 m2m_wifi_get_chipId (void)
 Synchronous API to obtain the firmware WINC chip ID. More...
 
sint8 m2m_wifi_get_firmware_version (tstrM2mRev *pstrRev)
 Synchronous API to obtain the firmware version currently running on the WINC IC. More...
 

Detailed Description

Function Documentation

◆ m2m_ota_get_firmware_version()

NMI_API sint8 m2m_ota_get_firmware_version ( tstrM2mRev pstrRev)

Synchronous API to obtain the firmware version 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.

Parameters
[out]pstrRevpointer holds address of structure "tstrM2mRev" that contains the ota fw version parameters
Returns
The function SHALL return M2M_SUCCESS for success and a negative value otherwise.

Definition at line 1186 of file m2m_wifi.c.

◆ m2m_wifi_check_ota_rb()

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.

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

Definition at line 1159 of file m2m_wifi.c.

◆ m2m_wifi_get_chipId()

uint32 m2m_wifi_get_chipId ( void  )

Synchronous API to obtain the firmware WINC chip ID.

Get the WINC Chip ID.

Returns
The function SHALL return chipID > 0 or 0 for failure.
The function SHALL return chipID >0 or 0 for failure.

Definition at line 1121 of file m2m_wifi.c.

◆ m2m_wifi_get_firmware_version()

sint8 m2m_wifi_get_firmware_version ( tstrM2mRev pstrRev)

Synchronous API to obtain the firmware version currently running on the WINC IC.

Parameters
[out]pstrRevpointer holds address of structure "tstrM2mRev" that contains the firmware version parameters
Returns
The function SHALL return M2M_SUCCESS for success and a negative value otherwise.

Definition at line 1137 of file m2m_wifi.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:00