![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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.
simplesample_http.h@0:a00ac564e057, 2015-09-15 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Tue Sep 15 22:47:14 2015 -0700
- Revision:
- 0:a00ac564e057
New release
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AzureIoTClient | 0:a00ac564e057 | 1 | // Copyright (c) Microsoft. All rights reserved. |
AzureIoTClient | 0:a00ac564e057 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
AzureIoTClient | 0:a00ac564e057 | 3 | |
AzureIoTClient | 0:a00ac564e057 | 4 | #ifndef SIMPLESAMPLEHTTP_H |
AzureIoTClient | 0:a00ac564e057 | 5 | #define SIMPLESAMPLEHTTP_H |
AzureIoTClient | 0:a00ac564e057 | 6 | |
AzureIoTClient | 0:a00ac564e057 | 7 | #ifdef __cplusplus |
AzureIoTClient | 0:a00ac564e057 | 8 | extern "C" { |
AzureIoTClient | 0:a00ac564e057 | 9 | #endif |
AzureIoTClient | 0:a00ac564e057 | 10 | |
AzureIoTClient | 0:a00ac564e057 | 11 | void simplesample_http_run(void); |
AzureIoTClient | 0:a00ac564e057 | 12 | |
AzureIoTClient | 0:a00ac564e057 | 13 | #ifdef __cplusplus |
AzureIoTClient | 0:a00ac564e057 | 14 | } |
AzureIoTClient | 0:a00ac564e057 | 15 | #endif |
AzureIoTClient | 0:a00ac564e057 | 16 | |
AzureIoTClient | 0:a00ac564e057 | 17 | #endif /* SIMPLESAMPLEHTTP_H */ |