This is an example based on mbed-os cellular APIs that demonstrates a TCP or UDP echo transaction with a public echo server.

Revision:
19:2cb9398aaf16
Parent:
11:23ea0907186e
Child:
26:348eec457e58
--- a/mbed_app.json	Wed Aug 29 06:15:29 2018 +0100
+++ b/mbed_app.json	Wed Sep 12 13:00:22 2018 +0100
@@ -2,7 +2,7 @@
     "config": {
         "sock-type": "TCP",
         "sim-pin-code": {
-            "help": "SIM PIN code",
+            "help": "SIM PIN code, set to 0 if none",
             "value": "\"1234\""
         },
         "apn": {