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@90:7aa2459f031c, 2018-10-04 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Thu Oct 04 09:19:16 2018 -0700
- Revision:
- 90:7aa2459f031c
- Parent:
- 0:a00ac564e057
1.2.10
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 */ |