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:
40:afef93b6d854
Parent:
5:3e952c60d705
Child:
48:f2739ac5cb01
--- a/mbed_app.json	Tue Mar 20 10:00:03 2018 +0000
+++ b/mbed_app.json	Tue Mar 27 12:45:08 2018 +0100
@@ -1,5 +1,8 @@
 {
     "target_overrides": {
+        "*": {
+            "platform.stdio-convert-newlines": true
+        },
         "UBLOX_EVK_ODIN_W2": {
             "target.device_has_remove": ["EMAC"]
         }