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: DHCP/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# Wiznet 5500 DHCP #
1
+
# Wiznet 5500 DHCP 2.0.1#
2
2
3
3
This library class enables Dynamic Host Configuration Protocol (DHCP) functionality for the [Wiznet W5500 chip](http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:w5500_ds_v106e_141230.pdf). It depends on the Wiznet W5500 library, so be sure to include the DHCP library after the W5500 library.
4
4
5
-
**To include this library in your project, add the following to the top of your device code**
5
+
**To include this library in your project, add the following at the top of your device code:**
6
6
7
-
```
8
-
#require "W5500.device.lib.nut:2.1.1"
9
-
#require "W5500.DHCP.device.lib.nut:2.0.0"
7
+
```squirrel
8
+
#require "W5500.device.lib.nut:2.2.0"
9
+
#require "W5500.DHCP.device.lib.nut:2.0.1"
10
10
```
11
11
12
12
## Class Usage ##
@@ -80,7 +80,7 @@ This method renews the lease or requests a new lease. When this is complete, the
|*timeout*| Integer | No | The number of seconds to allow for the lease to try before giving up, if set to 0 the timeout will be infinite. Default: 0 |
83
+
|*timeout*| Integer | No | The number of seconds to allow for the lease to try to be renewed before giving up. If set to 0, the timeout will be infinite. Default: 0 |
Copy file name to clipboardExpand all lines: README.md
+23-13Lines changed: 23 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# Wiznet W5500 #
1
+
# Wiznet W5500 2.2.0#
2
2
3
-
The W5500 chip is a hardwired TCP/IP embedded Ethernet controller. We have two libraries for use with the [Wiznet W5500 chip](http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:w5500_ds_v106e_141230.pdf).
3
+
The W5500 chip is a hardwired TCP/IP embedded Ethernet controller. We have two libraries for use with the [Wiznet W5500 chip](http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:w5500_ds_v106e_141230.pdf).
4
4
5
-
The base library allows you to communicate with a TCP/IP network (separate from an imp’s connection to the network). This library supports SPI integration with the W5500. See documentation [below](#w5500-class-usage).
5
+
The base library allows you to communicate with a TCP/IP network (separate from an imp’s connection to the network). This library supports SPI integration with the W5500. See documentation [below](#w5500-class-usage).
6
6
7
7
In addition we have a W5500.DHCP library that enables Dynamic Host Configuration Protocol (DHCP) functionality for the [Wiznet W5500 chip](http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:w5500_ds_v106e_141230.pdf). Documentation and source code can be found in the [DHCP directory](./DHCP).
8
8
@@ -24,7 +24,7 @@ The constructor configures, resets then initializes the Wiznet chip. The reset p
24
24
|*resetPin*| imp **pin** object | No | The pin represents a physical pin on the imp and is used for sending a hard reset signal to the W5500 chip |
25
25
|*autoRetry*| Boolean | No | Whether the library should automatically retry to open a connection should one fail. Default: `false`. **Note** Not yet implemented |
26
26
|*setMac*| Boolean | No | Whether the library should set the MAC address of the chip to the imp’s own MAC (with the locally administered bit flipped). This should be set to `false` when using a Wiznet Wiz550io board, since it has its own MAC address. Default: `true`|
27
-
27
+
28
28
#### Examples ####
29
29
30
30
```squirrel
@@ -33,7 +33,7 @@ The constructor configures, resets then initializes the Wiznet chip. The reset p
This method registers a callback function that will be triggered when the W5500 initialization is completed and the chip is ready for use.
116
+
This method registers a callback function that will be triggered when the W5500 initialization is completed and the W5500 is ready for use.
117
117
118
118
#### Parameters ####
119
119
@@ -204,6 +204,8 @@ This method finds a socket that is not in use and sets up a TCP server. Initiali
204
204
|*port*| An integer | Yes | The port to listen on for connections |
205
205
|*callback*| Function | Yes | A callback function that is passed an error message, or the established remote connection is established. The table below lists its parameters |
0 commit comments