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.

Committer:
janjongboom
Date:
Tue May 17 00:15:40 2016 +0000
Revision:
14:ddc258abaaac
Parent:
13:d4da5e6aa952
Child:
15:27e27ae4a6b0
Use semaphore in interrupt context, and up value in main thread.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
janjongboom 14:ddc258abaaac 1 https://developer.mbed.org/users/janjongboom/code/simple-mbed-client/#0a015df677a4