UIPEthernet V1.03: Stability Fixes
ntruchsess
released this
16 Nov 16:06
·
96 commits
to master
since this release
memory-pool-size for enc28j60-internal ram is now based on number of configured connections and maximum number of packets per connection.
UIPClient.write() is now blocking if UIP_SOCKET_NUMPACKETS are ready to send (waiting for ACK). Number of reattempts is configurable.
Configure in utility/uipethernet-conf.h
/* for TCP */
UIP_SOCKET_NUMPACKETS 5
UIP_CONF_MAX_CONNECTIONS 4
/* for UDP */
UIP_CONF_UDP 1
UIP_CONF_BROADCAST 1
UIP_CONF_UDP_CONNS 4
UIP_UDP_NUMPACKETS 5
/* number of attempts on write before returning number of bytes sent so far /
/ set to -1 to block until connection is closed by timeout */
#define UIP_ATTEMPTS_ON_WRITE -1