A simple IoTHub sample using AMQP as transport
Dependencies: EthernetInterface NTPClient iothub_amqp_transport iothub_client mbed-rtos mbed azure_c_shared_utility serializer wolfSSL azure_uamqp_c
This sample showcases the usage of Azure IoT client libraries with the AMQP transport for sending/receiving raw messages from an IoT Hub.
simplesample_amqp.h@0:caa8884fe136, 2015-09-15 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Tue Sep 15 22:47:10 2015 -0700
- Revision:
- 0:caa8884fe136
New release
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AzureIoTClient | 0:caa8884fe136 | 1 | // Copyright (c) Microsoft. All rights reserved. |
AzureIoTClient | 0:caa8884fe136 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
AzureIoTClient | 0:caa8884fe136 | 3 | |
AzureIoTClient | 0:caa8884fe136 | 4 | #ifndef SIMPLESAMPLEAMQP_H |
AzureIoTClient | 0:caa8884fe136 | 5 | #define SIMPLESAMPLEAMQP_H |
AzureIoTClient | 0:caa8884fe136 | 6 | |
AzureIoTClient | 0:caa8884fe136 | 7 | #ifdef __cplusplus |
AzureIoTClient | 0:caa8884fe136 | 8 | extern "C" { |
AzureIoTClient | 0:caa8884fe136 | 9 | #endif |
AzureIoTClient | 0:caa8884fe136 | 10 | |
AzureIoTClient | 0:caa8884fe136 | 11 | void simplesample_amqp_run(void); |
AzureIoTClient | 0:caa8884fe136 | 12 | |
AzureIoTClient | 0:caa8884fe136 | 13 | #ifdef __cplusplus |
AzureIoTClient | 0:caa8884fe136 | 14 | } |
AzureIoTClient | 0:caa8884fe136 | 15 | #endif |
AzureIoTClient | 0:caa8884fe136 | 16 | |
AzureIoTClient | 0:caa8884fe136 | 17 | #endif /* SIMPLESAMPLEAMQP_H */ |