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

Revision:
28:232da3ce8a88
Parent:
27:97054be1a741
Child:
46:b872be3e1526
--- a/mbed_app.json	Thu Nov 22 10:30:32 2018 +0000
+++ b/mbed_app.json	Fri Nov 23 10:00:30 2018 +0000
@@ -17,6 +17,7 @@
   },
     "target_overrides": {
         "*": {
+            "target.network-default-interface-type": "CELLULAR",
             "mbed-trace.enable": false,
             "lwip.ipv4-enabled": true,
             "lwip.ethernet-enabled": false,