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.
Revisions of easy-connect.lib
Revision |
Date |
Message |
Actions |
43:55ff37bc1332
|
2017-03-21 |
Update to mbed OS 5.4.1, update easy-connect and simple-mbed-client |
File
Diff
Annotate
|
42:64009de6e5a4
|
2017-02-08 |
Bump easy-connect and simple-mbed-client. Adds SimpleResourceFloat. |
File
Diff
Annotate
|
38:fbbab77b54fb
|
2017-02-07 |
Bump mbed-os, easy-connect and simple-mbed-client. Get rid of stringstream. Work by default on devices without entropy sources |
File
Diff
Annotate
|
34:1e8d914a2876
|
2016-12-02 |
Move to mbed OS 5.2.3, get rid of Semaphore |
File
Diff
Annotate
|
32:498a158491ff
|
2016-09-26 |
Pin easy-connect to master again, too much problems. Need to wait until mbed OS 5.2 before moving back to patched esp8266 lib |
File
Diff
Annotate
|
29:dd6231df71bb
|
2016-09-06 |
Override button in config, update mbed-os to latest master, update easy-connect |
File
Diff
Annotate
|
24:0a61ee19cf5b
|
2016-08-24 |
Update easy-connect, use mbed OS 5.1.2, not master |
File
Diff
Annotate
|
23:16f397924e3d
|
2016-08-23 |
Update to latest mbed-os and easy-connect |
File
Diff
Annotate
|
22:acadaa153699
|
2016-08-15 |
Update easy-connect, simple-mbed-client and mbed-os |
File
Diff
Annotate
|
17:6d69aa1b393f
|
2016-06-30 |
Update to latest mbed-os, latest simple-mbed-client, and add easy-connect |
File
Diff
Annotate
|