![](/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
simplesample_mqtt.h@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 | #ifndef SIMPLESAMPLEMQTT_H |
Azure.IoT Build | 2:eef448cf9eb7 | 5 | #define SIMPLESAMPLEMQTT_H |
Azure.IoT Build | 2:eef448cf9eb7 | 6 | |
Azure.IoT Build | 2:eef448cf9eb7 | 7 | #ifdef __cplusplus |
Azure.IoT Build | 2:eef448cf9eb7 | 8 | extern "C" { |
Azure.IoT Build | 2:eef448cf9eb7 | 9 | #endif |
Azure.IoT Build | 2:eef448cf9eb7 | 10 | |
Azure.IoT Build | 2:eef448cf9eb7 | 11 | void simplesample_mqtt_run(void); |
Azure.IoT Build | 2:eef448cf9eb7 | 12 | |
Azure.IoT Build | 2:eef448cf9eb7 | 13 | #ifdef __cplusplus |
Azure.IoT Build | 2:eef448cf9eb7 | 14 | } |
Azure.IoT Build | 2:eef448cf9eb7 | 15 | #endif |
Azure.IoT Build | 2:eef448cf9eb7 | 16 | |
Azure.IoT Build | 2:eef448cf9eb7 | 17 | #endif /* SIMPLESAMPLEMQTT_H */ |