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

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu Apr 11 10:02:01 2019 +0100
Parent:
35:125ae7126e4f
Child:
37:6482227bfa51
Commit message:
Merge pull request #131 from ARMmbed/release-candidate

Updating mbed-os to mbed-os-5.12.1
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-cellular

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Feb 26 07:02:26 2019 +0000
+++ b/main.cpp	Thu Apr 11 10:02:01 2019 +0100
@@ -209,7 +209,7 @@
     print_function("\n\nmbed-os-example-cellular\n");
     print_function("\n\nBuilt: %s, %s\n", __DATE__, __TIME__);
 #ifdef MBED_CONF_NSAPI_DEFAULT_CELLULAR_PLMN
-    print_function("\n\n[MAIN], plmn: %s\n", MBED_CONF_NSAPI_DEFAULT_CELLULAR_PLMN);
+    print_function("\n\n[MAIN], plmn: %s\n", (MBED_CONF_NSAPI_DEFAULT_CELLULAR_PLMN ? MBED_CONF_NSAPI_DEFAULT_CELLULAR_PLMN : "NULL"));
 #endif
 
     print_function("Establishing connection\n");
--- a/mbed-os.lib	Tue Feb 26 07:02:26 2019 +0000
+++ b/mbed-os.lib	Thu Apr 11 10:02:01 2019 +0100
@@ -1,1 +1,1 @@
-https://github.com/ARMmbed/mbed-os/#51d55508e8400b60af467005646c4e2164738d48
+https://github.com/ARMmbed/mbed-os/#0063e5de32fc575f061244c96ac60c41c07bd2e6