![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A simple IoTHub sample using MQTT as transport
Dependencies: EthernetInterface NTPClient mbed-rtos mbed wolfSSL azure_c_shared_utility iothub_client azure_umqtt_c iothub_mqtt_transport serializer
main.c@2:eef448cf9eb7, 2016-03-25 (annotated)
- Committer:
- Azure.IoT Build
- Date:
- Fri Mar 25 16:10:49 2016 -0700
- Revision:
- 2:eef448cf9eb7
1.0.3
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Azure.IoT Build | 2:eef448cf9eb7 | 1 | // Copyright (c) Microsoft. All rights reserved. |
Azure.IoT Build | 2:eef448cf9eb7 | 2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
Azure.IoT Build | 2:eef448cf9eb7 | 3 | |
Azure.IoT Build | 2:eef448cf9eb7 | 4 | #include "simplesample_mqtt.h" |
Azure.IoT Build | 2:eef448cf9eb7 | 5 | |
Azure.IoT Build | 2:eef448cf9eb7 | 6 | int main(void) |
Azure.IoT Build | 2:eef448cf9eb7 | 7 | { |
Azure.IoT Build | 2:eef448cf9eb7 | 8 | simplesample_mqtt_run(); |
Azure.IoT Build | 2:eef448cf9eb7 | 9 | |
Azure.IoT Build | 2:eef448cf9eb7 | 10 | return 0; |
Azure.IoT Build | 2:eef448cf9eb7 | 11 | } |
Azure.IoT Build | 2:eef448cf9eb7 | 12 |