/** * @file wifi_configuration.h * @brief Fill in your wifi configuration information here. * @version 0.1 * @date 2020-01-22 * * @copyright Copyright (c) 2020 * */ #ifndef __WIFI_CONFIGURATION__ #define __WIFI_CONFIGURATION__ static struct { const char *ssid; const char *password; } wifi_list[] __attribute__((unused)) = { {.ssid = "MOWiFi_2.4G_A7F0", .password = "00112288"}, {.ssid = "DAP", .password = "12345678"}, // Add your WAP like this: // {.ssid = "your ssid", .password = "your password"}, }; #define WIFI_LIST_SIZE (sizeof(wifi_list) / sizeof(wifi_list[0])) #define USE_MDNS 1 // Use the address "dap.local" to access the device #define MDNS_HOSTNAME "dap" #define MDNS_INSTANCE "DAP mDNS" // #define USE_STATIC_IP 0 // If you don't want to specify the ip configuration, then ignore the following items. #define DAP_IP_ADDRESS 192, 168, 137, 123 #define DAP_IP_GATEWAY 192, 168, 137, 1 #define DAP_IP_NETMASK 255, 255, 255, 0 #define PORT 3240 #define CONFIG_EXAMPLE_IPV4 1 #define MTU_SIZE 1500 #endif