A simple HTTP server echoing received requests. Ethernet connection is over an ENC28J60 board. Usage: Type the server's IP address into you web browser and hit <ENTER>.

Dependencies:   UIPEthernet

Files at this revision

API Documentation at this revision

Comitter:
hudakz
Date:
Fri Jun 05 15:23:55 2020 +0000
Parent:
9:66b6c19e9bb7
Child:
11:754a62936db7
Commit message:
HTTP server echoing received requests.

Changed in this revision

UIPEthernet.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- a/UIPEthernet.lib	Sat Sep 07 17:58:35 2019 +0000
+++ b/UIPEthernet.lib	Fri Jun 05 15:23:55 2020 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/hudakz/code/UIPEthernet/#53715cc81c63
+http://mbed.org/users/hudakz/code/UIPEthernet/#1123c3fe86ca
--- a/main.cpp	Sat Sep 07 17:58:35 2019 +0000
+++ b/main.cpp	Fri Jun 05 15:23:55 2020 +0000
@@ -12,6 +12,7 @@
 
 const uint8_t   MAC[6] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
 UipEthernet     net(MAC, D11, D12, D13, D10);   // mac, mosi, miso, sck, cs
+//UipEthernet     net(MAC, PA_7, PA_6, PA_5, PB_6);   // mac, mosi, miso, sck, cs
 TcpServer       server;                         // Ethernet server
 TcpClient*      client;
 char            receiveBuf[1024];
--- a/mbed-os.lib	Sat Sep 07 17:58:35 2019 +0000
+++ b/mbed-os.lib	Fri Jun 05 15:23:55 2020 +0000
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#1bf6b20df9d3cd5f29f001ffc6f0d0fcbbb96118
+https://github.com/ARMmbed/mbed-os/#8b0956030a291ba140891899a87a179f337a7062