Microchip® Advanced Software Framework

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

Synchronous dual MAC address assigning to the WILC1500 .

It is used for non-production SW.

Functions

NMI_API sint8 m2m_wifi_set_mac_address (uint8 au8MacAddress0[6], uint8 au8MacAddress1[6])
 Assign MAC addresses to the WILC device. More...
 

NMI_API sint8 m2m_wifi_set_mac_address ( uint8  au8MacAddress0[6],
uint8  au8MacAddress1[6] 
)

Assign MAC addresses to the WILC device.

Parameters
[in]au8MacAddress0MAC Address to be provisioned to the WILC for STA interface.
[in]au8MacAddress1MAC Address to be provisioned to the WILC for AP interface.
Returns
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.

References tstrM2mSetMacAddress::au8Mac0, tstrM2mSetMacAddress::au8Mac1, hif_send(), m2m_memcpy(), M2M_REQ_GRP_WIFI, M2M_WIFI_REQ_SET_MAC_ADDRESS, and NULL.

Referenced by app_wifi_init(), main(), and os_m2m_wifi_set_mac_address_imp().