This is an example based on mbed-os cellular APIs that demonstrates a TCP or UDP echo transaction with a public echo server.
Diff: mbed_app.json
- Revision:
- 47:ab19d1336686
- Parent:
- 46:b872be3e1526
- Child:
- 49:4defa45f9c7f
--- 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" } } }