/****************************************************************************** * * Copyright(c) 2007 - 2015 Realtek Corporation. All rights reserved. * * ******************************************************************************/ #include #include "main.h" #if ATCMD_VER == ATVER_2 #include "flash_api.h" #include "device_lock.h" #endif #if CONFIG_EXAMPLE_MDNS #include #endif #if CONFIG_EXAMPLE_MCAST #include #endif #if CONFIG_EXAMPLE_XML #include #endif #if CONFIG_EXAMPLE_SOCKET_SELECT #include #endif #if CONFIG_EXAMPLE_NONBLOCK_CONNECT #include #endif #if CONFIG_EXAMPLE_SOCKET_TCP_TRX #include #endif #if CONFIG_EXAMPLE_SSL_DOWNLOAD #include #endif #if CONFIG_EXAMPLE_HTTP_DOWNLOAD #include #endif #if CONFIG_EXAMPLE_HTTPC #include #endif #if CONFIG_EXAMPLE_HTTPD #include #endif #if CONFIG_EXAMPLE_TCP_KEEPALIVE #include #endif #if CONFIG_EXAMPLE_SNTP_SHOWTIME #include #endif #if CONFIG_EXAMPLE_PPPOE #include #endif #if CONFIG_EXAMPLE_MEDIA_SIGNLE_STREAM #include #endif #if CONFIG_EXAMPLE_MEDIA_MULTI_STREAM #include #endif #if CONFIG_EXAMPLE_MEDIA_AUDIO_FROM_RTP #include #endif #if CONFIG_EXAMPLE_AUDIO_MP3 #include #endif #if CONFIG_EXAMPLE_GOOGLE_NEST #include #define FromDevice 1 #define ToDevice 2 #define BOTH 3 #define TYPE "ToDevice" #endif #if CONFIG_EXAMPLE_MJPEG_CAPTURE #include #endif #if CONFIG_EXAMPLE_WLAN_FAST_CONNECT #include #endif #if CONFIG_EXAMPLE_WIGADGET #include #endif #if CONFIG_EXAMPLE_MQTT #include #endif #if CONFIG_EXAMPLE_FATFS #include #endif #if CONFIG_EXAMPLE_DCT #include #endif #if CONFIG_EXAMPLE_INIC_GSPI_HOST #include #endif #if CONFIG_EXAMPLE_ARDUINO_WIFI #include #endif #if CONFIG_EXAMPLE_GET_BEACON_FRAME #include #endif #if CONFIG_EXAMPLE_USB_MASS_STORAGE #include #endif #if CONFIG_EXAMPLE_EAP #include #endif #if CONFIG_EXAMPLE_AJ_BASIC #include #endif #if CONFIG_EXAMPLE_AJ_AMEBA_LED #include #endif #if CONFIG_EXAMPLE_COAP #include #endif #if CONFIG_EXAMPLE_WEBSOCKET #include #endif #if CONFIG_EXAMPLE_WLAN_SCENARIO #include #endif #if CONFIG_EXAMPLE_BCAST #include #endif #if CONFIG_EXAMPLE_AUDIO #include