UIPEthernet: A plugin-replacement of the stock Arduino Ethernet library for ENC28J60 shields and breakout boards. Full support for persistent (streaming) TCP-connections and UDP (Client and Server each), ARP, ICMP, DHCP and DNS. Build around Adam Dunkels uIP Stack. Further developed version can be found on https://github.com/UIPEthernet/UIPEthernet
Bot releases are hidden (Show)
Published by ntruchsess about 10 years ago
Published by ntruchsess about 10 years ago
extended version of UIPEthernet_1.09:
(contains functionality that is not part of official Ethernet-api)
UIPClientExt: nonblocking connect, read of local- and remote port
UIPServerExt: returns instances of UIPClientExt
example code: https://github.com/ntruchsess/arduino_uip/blob/ext/examples/NonBlockingTcpClient/NonBlockingTcpClient.ino
Published by ntruchsess about 10 years ago
same as UIPEthernet_v1.09 but for Arduino-IDE Version 1.5.5 and higher
Published by ntruchsess about 10 years ago
Published by ntruchsess about 10 years ago
same as UIPEthernet_v1.57 but for Arduino-IDE Version 1.5.5 and higher
Published by ntruchsess about 10 years ago
extended version of UIPEthernet_v1.08:
(contains functionality that is not part of official Ethernet-api)
UIPClientExt: nonblocking connect, read of local- and remote port
UIPServerExt: returns instances of UIPClientExt
example code: https://github.com/ntruchsess/arduino_uip/blob/ext/examples/NonBlockingTcpClient/NonBlockingTcpClient.ino
Published by ntruchsess about 10 years ago
Published by ntruchsess about 10 years ago
extended version of UIPEthernet_1.07:
(contains functionality that is not part of official Ethernet-api)
UIPClientExt: nonblocking connect, read of local- and remote port
UIPServerExt: returns instances of UIPClientExt
example code: https://github.com/ntruchsess/arduino_uip/blob/ext/examples/NonBlockingTcpClient/NonBlockingTcpClient.ino
Published by ntruchsess about 10 years ago
same as UIPEthernet_v1.07 but for Arduino-IDE 1.5.5
Published by ntruchsess over 10 years ago
Published by ntruchsess over 10 years ago
Published by ntruchsess almost 11 years ago
fixes for #27 and #28
Published by ntruchsess almost 11 years ago
Fixes for #27 and #28
Published by ntruchsess almost 11 years ago
This release supports the 1.5rev2 library-format as specified in https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
Tested on Arduino 1.5.5
To install UIPEthernet into your Arduino 1.5.5 download and unpack the src-zip (or tar.gz). Then choose 'Sketch'->'import Library'->'add Library' from the menu. In the dialog that opens navigate to the directory where you unpacked the source-zip. Select the folder 'UIPEthernet' that was contained the source-zip and click 'open' to install.
Published by ntruchsess almost 11 years ago
Published by ntruchsess almost 11 years ago
This release supports the 1.5rev2 library-format as specified in https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification
Tested on Arduino 1.5.5
To install UIPEthernet into your Arduino 1.5.5 download and unpack the src-zip (or tar.gz). Then choose 'Sketch'->'import Library'->'add Library' from the menu. In the dialog that opens navigate to the directory where you unpacked the source-zip. Select the folder 'UIPEthernet' that was contained the source-zip and click 'open' to install.
Published by ntruchsess almost 11 years ago
This release contains features that are not (yet) included in the stock Ethernets lib API, so they remain subject to change when they eventually will be merged into master.
this adds operator==, localPort, remoteIP and remotePort to EthernetClient
see https://github.com/ntruchsess/arduino_uip/compare/master...experimental
pull-request against stock Arduino: https://github.com/arduino/Arduino/pull/1700
and here an example of its use: https://github.com/ntruchsess/arduino_uip/blob/experimental/examples/AdvancedChatServer/AdvancedChatServer.ino#L70
Published by ntruchsess almost 11 years ago
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