![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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.
main.cpp@29:12a5fd69f49e, 2016-03-11 (annotated)
- Committer:
- Azure.IoT Build
- Date:
- Fri Mar 11 17:03:54 2016 -0800
- Revision:
- 29:12a5fd69f49e
- Parent:
- 26:9662f727e974
1.0.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AzureIoTClient | 16:b2c6de619743 | 1 | // Copyright (c) Microsoft. All rights reserved. |
AzureIoTClient | 16:b2c6de619743 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
AzureIoTClient | 16:b2c6de619743 | 3 | |
AzureIoTClient | 16:b2c6de619743 | 4 | #include "simplesample_amqp.h" |
AzureIoTClient | 16:b2c6de619743 | 5 | |
AzureIoTClient | 16:b2c6de619743 | 6 | int main(void) |
AzureIoTClient | 16:b2c6de619743 | 7 | { |
AzureIoTClient | 16:b2c6de619743 | 8 | simplesample_amqp_run(); |
AzureIoTClient | 16:b2c6de619743 | 9 | return 0; |
AzureIoTClient | 16:b2c6de619743 | 10 | } |