A web server for monitoring and controlling a MakerBot Replicator over the USB host and ethernet.
Fork of LPC1768_Mini-DK by
EthernetInterface Class Reference
Interface using Ethernet to connect to an IP-based network. More...
|static int||init ()|
|Initialize the interface with DHCP. |
|static int||init (const char *ip, const char *mask, const char *gateway)|
|Initialize the interface with a static IP address. |
|static int||connect (unsigned int timeout_ms=3000)|
|Connect Bring the interface up, start DHCP if needed. |
|static int||disconnect ()|
|Disconnect Bring the interface down. |
Interface using Ethernet to connect to an IP-based network.
Member Function Documentation
|int connect||(||unsigned int|| timeout_ms =
|int init||(||const char *||ip,|
|const char *||mask,|
|const char *||gateway|
Initialize the interface with a static IP address.
Initialize the interface and configure it with the following static configuration (no connection at this point).
ip the IP address to use mask the IP address mask gateway the gateway to use
- 0 on success, a negative number on failure
Generated on Thu Dec 20 2018 07:50:48 by 1.7.2