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@90:7aa2459f031c, 2018-10-04 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Thu Oct 04 09:19:16 2018 -0700
- Revision:
- 90:7aa2459f031c
- Parent:
- 28:44b1d44d0d3b
1.2.10
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 | } |