Chau Vo / device_configuration

Dependents:   F103-Web-Server

Fork of my_eeprom_funcs by Chau Vo

Revision:
5:eea03d0eb95a
Parent:
4:944a4646b825
Child:
6:241d1539914a
--- a/my_eeprom_funcs.h	Sat Oct 04 20:24:46 2014 +0000
+++ b/my_eeprom_funcs.h	Tue Oct 21 20:38:38 2014 +0000
@@ -33,6 +33,9 @@
 #define AUTO_TRANSMIT_TIME_PERIOD_POS    19
 #define TCP_SERVER_IP_ADDR_POS  20
 #define TCP_SERVER_PORT_POS     24
+#define ENABLE_TCP_SERVER       25
+#define ENABLE_TCP_CLIENT       26
+#define ENABLE_UDP_SERVER       27
 
 
 /*
@@ -52,6 +55,7 @@
 extern uint16_t auto_transmit_flag, transmit_time_period; // auto transmit status, time period = 1s
 extern uint16_t u16server_ip_addr[]; // directly loaded from eeprom
 extern uint16_t u16tcp_server_port; // directly loaded from eeprom
+extern uint16_t u16enable_tcp_client, u16enable_tcp_server;// flags for enabling TCP client or TCP server
 extern uint8_t u8server_ip_addr[];
 extern char * server_ip_addr;
 extern char str_server_ip_addr[];