11 /* nc config values */
12 /* 1 minute = (1000ms*60/1000ms)/60s */
13 #define CONNECTING_TIMEO 1000 /* timeout in ms; to preserve responsibility of the system (command processor) this value shouldn't be too high */
14 #define CONNECTING_TRIES 60 /* nc will try to connect or listen for connection for CONNECTING_TRIES*CONNECTING_TIMEO/1000 seconds */
16 #define ncTaskStackSize 400
17 #define ncTaskPriority 0
19 /* nc return values */
20 #define BAD_IP_ADDR -21
21 #define BAD_PORT_NO -22
22 #define BAD_OPTION -23
23 #define ERR_NETCONN_NEW -30
24 #define ERR_BINDING -31
25 #define ERR_CONN_ACCEPT -32
26 #define ERR_CONNECTING -33
27 #define ERR_SENDING -34
28 #define ERR_RECEIVING -35
32 extern cmd_des_t const *cmd_list_nc[];
35 #endif /* CMD_LWIP_H_ */