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

Revision:
46:b872be3e1526
Parent:
28:232da3ce8a88
Child:
47:ab19d1336686
diff -r fcbbda26336a -r b872be3e1526 mbed_app.json
--- a/mbed_app.json	Fri Sep 20 12:01:53 2019 +0100
+++ b/mbed_app.json	Mon Sep 23 09:01:53 2019 +0100
@@ -28,11 +28,11 @@
             "platform.default-serial-baud-rate": 115200,
             "platform.stdio-buffered-serial": true,
             "cellular.debug-at": false,
-            "nsapi.default-cellular-plmn": 0,
-            "nsapi.default-cellular-sim-pin": "\"1234\"",
-            "nsapi.default-cellular-apn": 0,
-            "nsapi.default-cellular-username": 0,
-            "nsapi.default-cellular-password": 0
+            "nsapi.default-cellular-sim-pin": null,
+            "nsapi.default-cellular-plmn": null,
+            "nsapi.default-cellular-apn": null,
+            "nsapi.default-cellular-username": null,
+            "nsapi.default-cellular-password": null
         }
     }
 }