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:
sam_grove
Date:
Fri Feb 05 08:00:14 2016 +0000
Parent:
6:db94bb4054f2
Child:
8:edf87b3b8ce2
Commit message:
Update sec file

Changed in this revision

.hgignore Show annotated file Show diff for this revision Revisions of this file
security.h Show annotated file Show diff for this revision Revisions of this file
--- a/.hgignore	Fri Feb 05 01:56:46 2016 -0600
+++ b/.hgignore	Fri Feb 05 08:00:14 2016 +0000
@@ -1,4 +1,19 @@
-# use glob syntax.
-syntax: glob
-
-security.h
+syntax: regexp
+\.hgignore$
+\.git$
+\.svn$
+\.orig$
+\.msub$
+\.meta$
+\.ctags
+\.uvproj$
+\.uvopt$
+\.project$
+\.cproject$
+\.launch$
+\.project$
+\.cproject$
+\.launch$
+Makefile$
+\.ewp$
+\.eww$
\ No newline at end of file
--- a/security.h	Fri Feb 05 01:56:46 2016 -0600
+++ b/security.h	Fri Feb 05 08:00:14 2016 +0000
@@ -1,1 +1,1 @@
-a'lskdflkjsadfjasdfkljsadlkfjsadlkjf#error "You need to get credentials from connector.mbed.com and paste them in this security.h file"
\ No newline at end of file
+#error "You need to get credentials from connector.mbed.com and paste them in this security.h file. Dont commit the modified file to the history"
\ No newline at end of file