A simple IoTHub sample using HTTP as transport
Dependencies: EthernetInterface NTPClient iothub_client iothub_http_transport mbed-rtos mbed wolfSSL serializer azure_c_shared_utility
This sample showcases the usage of Azure IoT client libraries with the HTTP transport for sending/receiving raw messages from an IoT Hub.
main.cpp@28:44b1d44d0d3b, 2016-03-11 (annotated)
- Committer:
- Azure.IoT Build
- Date:
- Fri Mar 11 17:04:20 2016 -0800
- Revision:
- 28:44b1d44d0d3b
- Parent:
- 23:39fcc72c3963
1.0.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AzureIoTClient | 17:3abbcd6aac9f | 1 | // Copyright (c) Microsoft. All rights reserved. |
AzureIoTClient | 17:3abbcd6aac9f | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
AzureIoTClient | 17:3abbcd6aac9f | 3 | |
AzureIoTClient | 17:3abbcd6aac9f | 4 | #include "simplesample_http.h" |
AzureIoTClient | 17:3abbcd6aac9f | 5 | |
AzureIoTClient | 17:3abbcd6aac9f | 6 | int main(void) |
AzureIoTClient | 17:3abbcd6aac9f | 7 | { |
AzureIoTClient | 17:3abbcd6aac9f | 8 | |
AzureIoTClient | 17:3abbcd6aac9f | 9 | simplesample_http_run(); |
AzureIoTClient | 17:3abbcd6aac9f | 10 | return 0; |
AzureIoTClient | 17:3abbcd6aac9f | 11 | } |