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 19 17:50:40 2016 +0000
Parent:
9:96dddeefafe4
Child:
11:341c9f62028b
Commit message:
Merged hanging branches

Changed in this revision

mbed-client-c.lib Show annotated file Show diff for this revision Revisions of this file
mbed-client-classic.lib Show annotated file Show diff for this revision Revisions of this file
mbed-client-mbedtls.lib Show annotated file Show diff for this revision Revisions of this file
mbed-client.lib Show annotated file Show diff for this revision Revisions of this file
mbedtls.lib Show annotated file Show diff for this revision Revisions of this file
nanostack-libservice.lib Show annotated file Show diff for this revision Revisions of this file
--- a/mbed-client-c.lib	Thu Feb 18 15:57:29 2016 +0000
+++ b/mbed-client-c.lib	Fri Feb 19 17:50:40 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/sandbox/code/mbed-client-c/#003f4b96615a
+http://developer.mbed.org/teams/sandbox/code/mbed-client-c/#a8b2ff761ade
--- a/mbed-client-classic.lib	Thu Feb 18 15:57:29 2016 +0000
+++ b/mbed-client-classic.lib	Fri Feb 19 17:50:40 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/sandbox/code/mbed-client-classic/#c3434146c3d2
+http://developer.mbed.org/teams/sandbox/code/mbed-client-classic/#907e7fcb1d48
--- a/mbed-client-mbedtls.lib	Thu Feb 18 15:57:29 2016 +0000
+++ b/mbed-client-mbedtls.lib	Fri Feb 19 17:50:40 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/sandbox/code/mbed-client-mbedtls/#ffe3000287f1
+http://developer.mbed.org/teams/sandbox/code/mbed-client-mbedtls/#b2db21f25041
--- a/mbed-client.lib	Thu Feb 18 15:57:29 2016 +0000
+++ b/mbed-client.lib	Fri Feb 19 17:50:40 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/sandbox/code/mbed-client/#ba8bfc033d44
+http://developer.mbed.org/teams/sandbox/code/mbed-client/#d69b1929a3dc
--- a/mbedtls.lib	Thu Feb 18 15:57:29 2016 +0000
+++ b/mbedtls.lib	Fri Feb 19 17:50:40 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/sandbox/code/mbedtls/#77ecc55ee50d
+http://developer.mbed.org/teams/sandbox/code/mbedtls/#dee5972f341f
--- a/nanostack-libservice.lib	Thu Feb 18 15:57:29 2016 +0000
+++ b/nanostack-libservice.lib	Fri Feb 19 17:50:40 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/sandbox/code/nanostack-libservice/#637eee98f8db
+http://developer.mbed.org/teams/sandbox/code/nanostack-libservice/#a87c5afee2a6