#ifndef MAIN_H #define MAIN_H #include /******************************************************* * Constants *******************************************************/ #define CONFIG_MESH_ROUTE_TABLE_SIZE 100 #define CONFIG_MESH_MAX_LAYER 6 #define CONFIG_MESH_CHANNEL 0 // change these static const uint8_t MESH_ID[6] = { 0x77, 0x77, 0x77, 0x77, 0x77, 0x76 }; //#define CONFIG_MESH_ROUTER_SSID "FBK_the_cutest_fox" //#define CONFIG_MESH_ROUTER_PASSWD "zsfv3210" #define CONFIG_MESH_ROUTER_SSID "FastCyberRoom" #define CONFIG_MESH_ROUTER_PASSWD "dyes1107@" #define CONFIG_MESH_AP_AUTHMODE WIFI_AUTH_WPA2_PSK #define CONFIG_MESH_AP_PASSWD "RASRASRAS" #define CONFIG_MESH_AP_CONNECTIONS 6 // number of nodes #define CONFIG_MESH_NON_MESH_AP_CONNECTIONS 0 // number of non-node devices #define CONFIG_TCP_SERVER_BIND_ADDRESS "0.0.0.0" #define CONFIG_TCP_SERVER_BIND_PORT "8888" #define CONFIG_TCP_SERVER_RXBUFFER_SIZE 8192 /******************************************************* * Function Declarations *******************************************************/ #ifdef __cplusplus extern "C" { #endif int tcp_server_callback(char *buf, size_t len); #ifdef __cplusplus } #endif #endif