Example program for simple-mbed-client, connecting a device to mbed Device Connector.
Dependencies: simple-mbed-client
Fork of simple-mbed-client-example by
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.
History
Update to mbed OS 5.4.1, update easy-connect and simple-mbed-client
2017-03-21, by Jan Jongboom [Tue, 21 Mar 2017 13:04:50 +0100] rev 43
Update to mbed OS 5.4.1, update easy-connect and simple-mbed-client
Bump easy-connect and simple-mbed-client. Adds SimpleResourceFloat.
2017-02-08, by Jan Jongboom [Wed, 08 Feb 2017 11:55:28 +0100] rev 42
Bump easy-connect and simple-mbed-client. Adds SimpleResourceFloat.
Data member initializer is not allowed in ARMCC
2017-02-07, by Jan Jongboom [Tue, 07 Feb 2017 17:31:34 +0100] rev 41
Data member initializer is not allowed in ARMCC
Defer LED play function to the event thread directly
2017-02-07, by Jan Jongboom [Tue, 07 Feb 2017 17:22:37 +0100] rev 40
Defer LED play function to the event thread directly
Remove mbedtls_mbed_client_config, as it now lives in the library
2017-02-07, by Jan Jongboom [Tue, 07 Feb 2017 13:03:04 +0100] rev 39
Remove mbedtls_mbed_client_config, as it now lives in the library
Bump mbed-os, easy-connect and simple-mbed-client. Get rid of stringstream. Work by default on devices without entropy sources
2017-02-07, by Jan Jongboom [Tue, 07 Feb 2017 13:02:40 +0100] rev 38
Bump mbed-os, easy-connect and simple-mbed-client. Get rid of stringstream. Work by default on devices without entropy sources
Update simple-mbed-client, use TCP by default
2016-12-02, by Jan Jongboom [Fri, 02 Dec 2016 18:22:46 +0800] rev 37
Update simple-mbed-client, use TCP by default
Add built-in LED on/off state for NUMAKER
2016-12-02, by Jan Jongboom [Fri, 02 Dec 2016 18:22:15 +0800] rev 36
Add built-in LED on/off state for NUMAKER
Move main.cpp into source directory
2016-12-02, by Jan Jongboom [Fri, 02 Dec 2016 15:46:04 +0800] rev 35
Move main.cpp into source directory
Move to mbed OS 5.2.3, get rid of Semaphore
2016-12-02, by Jan Jongboom [Fri, 02 Dec 2016 15:44:32 +0800] rev 34
Move to mbed OS 5.2.3, get rid of Semaphore