Temperature sensor anomaly IoTHub sample
Dependencies: C12832 EthernetInterface LM75B NTPClient iothub_client iothub_http_transport mbed-rtos mbed serializer wolfSSL azure_c_shared_utility
This sample showcases the usage of Azure IoT client libraries to build an application sample that uploads temperature data and reacts to an alert for a temperature anomaly sent by a cloud service.
Diff: main.cpp
- Revision:
- 9:0aae2d7a398b
- Parent:
- 7:f263af2427d4
- Child:
- 13:c5cd6fb5205b
diff -r 5a1b2d354c88 -r 0aae2d7a398b main.cpp --- a/main.cpp Wed Sep 23 03:46:17 2015 +0000 +++ b/main.cpp Sat Sep 26 00:18:29 2015 -0700 @@ -193,7 +193,7 @@ return EXECUTE_COMMAND_SUCCESS; } -/*this functiuon "links" IoTHub to the serialization library*/ +/*this function "links" IoTHub to the serialization library*/ static IOTHUBMESSAGE_DISPOSITION_RESULT IoTHubMessage(IOTHUB_MESSAGE_HANDLE message, void* userContextCallback) { const unsigned char* buffer;