You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-66Lines changed: 18 additions & 66 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,29 @@
1
1
2
-
An 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.
3
-
Just include 'EthernetENC.h' instead of 'Ethernet.h' and use all your code written for the stock Arduino Ethernet lib!
2
+
EthernetENC is the Ethernet library for ENC28J60. It is a modern version of the UIPEthernet library.
4
3
5
-
UIPEthernet is written as a wrapper around the mature uIP Stack by Adam Dunkels, which provides the low-level implementation for all supported protocols. To overcome the memory-constrains (a 'regular' uIP-application does all processing in RAM) the ENC28J60 internal memory is used for all stream buffers (in and out). Only 400-600 Bytes of Arduinos RAM are used (depending on the number of concurrently open connections). As of Flash-memory a ATmega368-based Arduino is the minimum requirenment.
4
+
The modernization includes:
5
+
* Ethernet 2.0 library functions
6
+
* support of many Arduino architectures by using the SPI library
7
+
* SPI transactions to share the SPI bus with devices with different communication settings
8
+
* heavy buffering of sent TCP data in ENC with flush() function to send the last buffer
9
+
10
+
[The documentation of Arduino Ethernet library](https://www.arduino.cc/en/Reference/Ethernet) applies for class and functions descriptions.
11
+
12
+
This library doesn't have examples, because examples of the Arduino Ethernet library apply. You can find them in the Arduino IDE Examples menu Ethernet section. Only change `#include <Ethernet.h>` to `#include <EthernetENC.h>`.
13
+
14
+
This library is based on the Norbert Truchsess's arduino-uip original source code repository and uses experience from the development of the multiarchitecture support by Cassy for UIPEthernet library which is published in Library Manager. Applicable fixes and enhancements from developed of EthernetENC were transfered to Cassy's UIPEthernet.
15
+
16
+
You can find more information in project's [Wiki](https://github.com/jandrassy/EthernetENC/wiki).
UIPEthernet is written as a wrapper around the mature uIP Stack by Adam Dunkels, which provides the low-level implementation for all supported protocols. To overcome the memory-constrains (a 'regular' uIP-application does all processing in RAM) the ENC28J60 internal memory is used for all stream buffers (in and out). Only 400-600 Bytes of Arduinos RAM are used (depending on the number of concurrently open connections). As of Flash-memory a ATmega368-based Arduino is the minimum requirenment.
8
21
9
22
uIP was written by Adam Dunkels of the Networked Embedded Systems group at the Swedish Institute of Computer Science.
10
23
11
24
This library was inspired by the SerialIP implementation by Adam Nielsen <[email protected]>, actually I took this code as a starting point, but in the latest versions there are very few lines left.
12
25
13
-
## Documentation
14
-
15
-
For more information visit Arduino Ethernet library description http://arduino.cc/en/Reference/Ethernet
sentence=Ethernet library for ENC28J60. Only include EthernetENC.h instead of Ethernet.h
5
5
paragraph=This is a modern version of the UIPEthernet library. EthernetENC library is compatible with all Arduino architectures with Arduino SPI library with transactions support.
0 commit comments