Microchip® Advanced Software Framework

tstrM2mSetMacAddress Struct Reference

Sets the MAC address from application. It is only intended for testing purpose. This method is not used for production SW. Production SW reads MAC Address from EFUSE.

This struct contains the MAC address to be used. The WINC loads the mac address from the efuse by default to the WINC configuration memory, however, the application can overwrite the configuration memory with the mac address indicated from the Host.

Sets the MAC address from application. The WINC load the mac address from the effuse by default to the WINC configuration memory, but that function is used to let the application overwrite the configuration memory with the mac address from the host.

Note
It's recommended to call this only before calling connect
It's recommended to call this only once before calling connect request and after the m2m_wifi_init

#include <m2m_types.h>

Data Fields

uint8 __PAD16__ [2]
 
uint8 __PAD__ [PAD_SZ(6+6)]
 
uint8 au8Mac [6]
 
uint8 au8Mac0 [6]
 
uint8 au8Mac1 [6]
 

uint8 tstrM2mSetMacAddress::__PAD16__

Padding bytes for forcing 4-byte alignment

uint8 tstrM2mSetMacAddress::__PAD__[PAD_SZ(6+6)]

Padding bytes for forcing 4-byte alignment

uint8 tstrM2mSetMacAddress::au8Mac

MAC address array

MAC address

Referenced by m2m_wifi_set_mac_address().

uint8 tstrM2mSetMacAddress::au8Mac0[6]

MAC address array

Referenced by m2m_wifi_set_mac_address().

uint8 tstrM2mSetMacAddress::au8Mac1[6]

MAC address 2 array

Referenced by m2m_wifi_set_mac_address().