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

Revision:
50:5378d3f64df1
Parent:
49:4defa45f9c7f
Child:
51:f4b4b186f3a2
diff -r 4defa45f9c7f -r 5378d3f64df1 mbed_app.json
--- a/mbed_app.json	Tue Oct 08 08:01:54 2019 +0100
+++ b/mbed_app.json	Wed Dec 04 12:02:03 2019 +0000
@@ -29,6 +29,7 @@
             "platform.default-serial-baud-rate": 115200,
             "platform.stdio-buffered-serial": true,
             "cellular.debug-at": false,
+            "cellular.use-apn-lookup": true,
             "nsapi.default-cellular-sim-pin": null,
             "nsapi.default-cellular-plmn": null,
             "nsapi.default-cellular-apn": null,