Simple mbed OS sockets example for mbed OS5 & W5500 SPI Ethernet controller. This is a quick example of a simple HTTP client program using the network-socket API that is provided as a part of mbed-os. The program brings up an underlying network interface, and uses it to perform an HTTP transaction over a TCPSocket.

Dependencies:   W5500Interface easy-connect

Fork of mbed-os-example-mbed5-sockets by mbed-os-examples

Result

  • Serial Terminal Log

/media/uploads/Bongjun/img021.png

Revision:
24:0449435e2ef2
Parent:
20:446908281db5
Child:
33:d470701728e6
--- a/README.md	Tue Jul 18 17:30:04 2017 +0100
+++ b/README.md	Wed Sep 27 15:45:06 2017 +0100
@@ -10,6 +10,8 @@
 To use the example with a different interface, you will need to modify main.cpp and
 replace the EthernetInterface class with the appropriate interface.
 
+**Note:** The default serial port baud rate is 9600 bit/s.
+
 ### Expected output ###
 
 ```