Simple sample that demonstrates reading the FXOS8700CQ accelerometer, convert the data to JSON and send to an Azure IoT Hub.
Dependencies: azure_umqtt_c iothub_mqtt_transport mbed-rtos mbed wolfSSL Socket lwip-eth lwip-sys lwip
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
6:0bffe8529f60 | 2017-04-18 | Fixed NTP error | File Diff Annotate |
5:3d814faa2b2e | 2017-03-24 | Add time stamp and dump ten seconds of data. | File Diff Annotate |
4:9b3da9969b1b | 2017-03-22 | 50 readings a second, 1 message a second | File Diff Annotate |
3:c0556ff7b8e3 | 2016-12-08 | Hack the code to get restart working | File Diff Annotate |
2:2b9acda15ef0 | 2016-10-27 | Prevent further messages being generated if there are more than two in the queue waiting to be sent. | File Diff Annotate |
1:0366fad6e60c | 2016-10-24 | Committed with latest updates from Azure IoT SDK. Fixes MQTT SAS token refresh. | File Diff Annotate |
0:6c46c366f500 | 2016-10-14 | Original commit | File Diff Annotate |