/* This function retrieves the WiFi interface's Gateway address.  */
WIFI_Status_t WIFI_GetGateway_Address(uint8_t *Gateway_addr)
/* This function retrieves the WiFi interface's Gateway address.  */
WIFI_Status_t WIFI_GetGateway_Address(uint8_t *Gateway_addr)
{
  WIFI_Status_t ret = WIFI_STATUS_ERROR; 
  if(EsWifiObj.NetSettings.IsConnected)
  {
    memcpy(Gateway_addr, EsWifiObj.NetSettings.Gateway_Addr, 4);
    ret = WIFI_STATUS_OK;
  }
  return ret;
}