mbed OS5
Fork of UIPEthernet by
Embed:
(wiki syntax)
Show/hide line numbers
uipethernet-conf.h
00001 #ifndef UIPETHERNET_CONF_H 00002 #define UIPETHERNET_CONF_H 00003 00004 /* for TCP */ 00005 00006 #define UIP_SOCKET_NUMPACKETS 5 00007 #define UIP_CONF_MAX_CONNECTIONS 4 00008 00009 /* for UDP 00010 * set UIP_CONF_UDP to 0 to disable UDP (saves aprox. 5kb flash) */ 00011 00012 #define UIP_CONF_UDP 1 00013 #define UIP_CONF_BROADCAST 1 00014 #define UIP_CONF_UDP_CONNS 4 00015 00016 /* number of attempts on write before returning number of bytes sent so far 00017 * set to -1 to block until connection is closed by timeout */ 00018 00019 #define UIP_ATTEMPTS_ON_WRITE - 1 00020 00021 /* timeout after which UIPClient::connect gives up. The timeout is specified in seconds. 00022 * if set to a number <= 0 connect will timeout when UIP does (which might be longer than you expect...) */ 00023 00024 #define UIP_CONNECT_TIMEOUT - 1 00025 00026 /* periodic timer for uip (in ms) */ 00027 00028 #define UIP_PERIODIC_TIMER 250 00029 00030 /* timer to poll client for data after last write (in ms) 00031 * set to -1 to disable fast polling and rely on periodic only (saves 100 bytes flash) */ 00032 00033 #define UIP_CLIENT_TIMER 20 00034 #endif
Generated on Tue Jul 12 2022 18:10:58 by 1.7.2