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:
Mon Sep 23 10:01:56 2019 +0100
Parent:
46:b872be3e1526
Child:
48:67a909e7221b
Commit message:
Merge pull request #149 from LMESTM/L496AG_stmod_support

DISCO_L496AG with stmod cellular support
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-cellular

Changed in this revision

mbed_app.json Show annotated file Show diff for this revision Revisions of this file
--- a/mbed_app.json	Mon Sep 23 09:01:53 2019 +0100
+++ b/mbed_app.json	Mon Sep 23 10:01:56 2019 +0100
@@ -33,6 +33,13 @@
             "nsapi.default-cellular-apn": null,
             "nsapi.default-cellular-username": null,
             "nsapi.default-cellular-password": null
+        },
+        "DISCO_L496AG": {
+            "target.macros_add": [
+                "CELLULAR_DEVICE=STModCellular"
+            ],
+            "target.components_add": ["STMOD_CELLULAR"],
+            "stmod_cellular.provide-default": "true"
         }
     }
 }