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@56:44c6b5aac6ff, 2018-03-20 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Tue Mar 20 10:35:35 2018 -0700
- Revision:
- 56:44c6b5aac6ff
- Parent:
- 2:eef448cf9eb7
1.2.1
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 |