Example program for simple-mbed-client, connecting a device to mbed Device Connector.

Dependencies:   simple-mbed-client

Fork of simple-mbed-client-example by Jan Jongboom

This is an example on how to connect to mbed Device Connector using simple-mbed-client. It can connect over Ethernet, WiFi (using an ESP8266 module or an ODIN board), Thread and 6LoWPAN.

After cloning this repository update `mbed_app.json` to reflect your connectivity method. For docs on configuring connectivity, see easy-connect.

End to end example

For an end-to-end example of using Simple mbed Client to connect devices to mbed Device Connector see Building an internet connected lighting system.

Entropy (or lack thereof)

On all platforms except the K64F and K22F the library is compiled without TLS entropy sources. This means that your code is inherently unsafe and should not be deployed to any production systems. To enable entropy, remove the MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES and MBEDTLS_TEST_NULL_ENTROPY macros from mbed_app.json.

Files at this revision

API Documentation at this revision

Comitter:
geky
Date:
Fri Feb 05 06:10:19 2016 +0000
Parent:
2:e0bbeb20071b
Child:
4:dcd0494556be
Child:
5:53d0782896dc
Commit message:
Added correct config constants

Changed in this revision

README.md Show annotated file Show diff for this revision Revisions of this file
--- a/README.md	Fri Jan 29 16:03:23 2016 +0000
+++ b/README.md	Fri Feb 05 06:10:19 2016 +0000
@@ -5,6 +5,7 @@
 To run the following flags need to be defined.
 The Compile Macros option in the Compile drop down menu can be used in the online compiler.
 
-- YOTTA_CONFIG
-- TARGET_LIKE_MBED
-- TARGET_LIKE_CORTEX_M4
+YOTTA_CFG
+YOTTA_CONFIG
+TARGET_LIKE_MBED
+TARGET_LIKE_CORTEX_M4