FreeRTOS:
Wi-Fi Management Library
Return to main page ↑
WIFI_GetMAC
Retrieves the Wi-Fi interface's MAC address.
WIFIReturnCode_t
WIFI_GetMAC
( uint8_t * pucMac );
Parameters
[out]
pucMac
MAC Address buffer sized 6 bytes.
Example
uint8_t ucMacAddressVal[ wificonfigMAX_BSSID_LEN ];
WIFI_GetMAC
( &ucMacAddressVal[0] );
Returns
eWiFiSuccess
if the MAC address was successfully retrieved, failure code otherwise. The returned MAC address must be 6 consecutive bytes with no delimitters.
WIFI_GetMAC
WIFIReturnCode_t WIFI_GetMAC(uint8_t *pucMac)
Retrieves the Wi-Fi interface's MAC address.
WIFIReturnCode_t
WIFIReturnCode_t
Return code denoting API status.
Definition:
iot_wifi.h:50
Generated by
1.8.20
Last updated Wed Apr 21 2021