This is a simple mbed client example demonstrating, registration of a device with mbed Device Connector and reading and writing values as well as deregistering on different Network Interfaces including Ethernet, WiFi, 6LoWPAN ND and Thread respectively.
Fork of mbed-os-example-client by
Diff: main.cpp
- Revision:
- 68:f892ff47191b
- Parent:
- 65:ea64e559b7d3
diff -r 312b4fec81a2 -r f892ff47191b main.cpp --- a/main.cpp Tue Feb 28 12:45:10 2017 +0000 +++ b/main.cpp Wed Mar 01 02:08:03 2017 +0000 @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +// security.h need to be replaced by your own security credentails +// from https://connector.mbed.com/#credentials #define __STDC_FORMAT_MACROS #include <inttypes.h> #include "simpleclient.h"