/* This function retrieves the WiFi interface's MAC address.  */
WIFI_Status_t WIFI_GetMAC_Address(uint8_t *mac)
/* This function retrieves the WiFi interface's MAC address.  */
WIFI_Status_t WIFI_GetMAC_Address(uint8_t *mac)
{
  WIFI_Status_t ret = WIFI_STATUS_ERROR; 
  if(ES_WIFI_GetMACAddress(&EsWifiObj, mac) == ES_WIFI_STATUS_OK)
  {
    ret = WIFI_STATUS_OK;
  }
  return ret;
}