Simple HTTP server using GHI’s Premium Net library
GHI’s exclusive new networking library adds a highly configured way to take handle the networking interfaces on a device. Developers are able to control and to receive events from each individual interface, like a Ethernet cable was removed or WiFi connection is Lost. Then one of the interfaces can be assigned to the TCP/IP stack. This means no interface (Ethernet, WiFI…) is active by default.
This Application sets a static or dynamic IP address to “Built-in Ethernet” interface and runs a simple HttpServer. Of course this example requires a device with built in Ethernet PHY, not ENC28 Ethernet. The code can be be simply changed to use ENC28