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@83:32e47dedc7b4, 2018-03-20 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Tue Mar 20 10:33:56 2018 -0700
- Revision:
- 83:32e47dedc7b4
- Parent:
- 29:12a5fd69f49e
1.2.1
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 | } |