![](/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@64:e57100ee63ad, 2018-10-04 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Thu Oct 04 09:19:48 2018 -0700
- Revision:
- 64:e57100ee63ad
- Parent:
- 2:eef448cf9eb7
1.2.10
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 |