Microsoft Azure IoTHub client MQTT transport

Dependents:   STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more

Committer:
Azure.IoT Build
Date:
Fri Apr 08 13:24:20 2016 -0700
Revision:
1:f2e563755d91
Parent:
0:5e72a75c31b8
Child:
3:40f482ed0be8
1.0.4

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Azure.IoT Build 0:5e72a75c31b8 1 // Copyright (c) Microsoft. All rights reserved.
Azure.IoT Build 0:5e72a75c31b8 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
Azure.IoT Build 0:5e72a75c31b8 3
Azure.IoT Build 0:5e72a75c31b8 4 #ifndef IOTHUBTRANSPORTMQTT_H
Azure.IoT Build 0:5e72a75c31b8 5 #define IOTHUBTRANSPORTMQTT_H
Azure.IoT Build 0:5e72a75c31b8 6
Azure.IoT Build 1:f2e563755d91 7 #include "iothub_client_ll.h"
Azure.IoT Build 1:f2e563755d91 8 #include "iothub_transport_ll.h"
Azure.IoT Build 0:5e72a75c31b8 9
Azure.IoT Build 0:5e72a75c31b8 10 #ifdef __cplusplus
Azure.IoT Build 0:5e72a75c31b8 11 extern "C"
Azure.IoT Build 0:5e72a75c31b8 12 {
Azure.IoT Build 0:5e72a75c31b8 13 #endif
Azure.IoT Build 0:5e72a75c31b8 14 extern TRANSPORT_LL_HANDLE IoTHubTransportMqtt_Create(const IOTHUBTRANSPORT_CONFIG* config);
Azure.IoT Build 0:5e72a75c31b8 15 extern void IoTHubTransportMqtt_Destroy(TRANSPORT_LL_HANDLE handle);
Azure.IoT Build 0:5e72a75c31b8 16
Azure.IoT Build 0:5e72a75c31b8 17 extern IOTHUB_DEVICE_HANDLE IoTHubTransportMqtt_Register(TRANSPORT_LL_HANDLE handle, const char* deviceId, const char* deviceKey, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend);
Azure.IoT Build 0:5e72a75c31b8 18 extern void IoTHubTransportMqtt_Unregister(IOTHUB_DEVICE_HANDLE deviceHandle);
Azure.IoT Build 0:5e72a75c31b8 19
Azure.IoT Build 0:5e72a75c31b8 20 extern int IoTHubTransportMqtt_Subscribe(IOTHUB_DEVICE_HANDLE handle);
Azure.IoT Build 0:5e72a75c31b8 21 extern void IoTHubTransportMqtt_Unsubscribe(IOTHUB_DEVICE_HANDLE handle);
Azure.IoT Build 0:5e72a75c31b8 22
Azure.IoT Build 0:5e72a75c31b8 23 extern void IoTHubTransportMqtt_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle);
Azure.IoT Build 0:5e72a75c31b8 24
Azure.IoT Build 0:5e72a75c31b8 25 extern IOTHUB_CLIENT_RESULT IoTHubTransportMqtt_GetSendStatus(IOTHUB_DEVICE_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus);
Azure.IoT Build 0:5e72a75c31b8 26 extern IOTHUB_CLIENT_RESULT IoTHubTransportMqtt_SetOption(TRANSPORT_LL_HANDLE handle, const char* optionName, const void* value);
Azure.IoT Build 0:5e72a75c31b8 27 extern const void* MQTT_Protocol(void);
Azure.IoT Build 0:5e72a75c31b8 28
Azure.IoT Build 0:5e72a75c31b8 29 #ifdef __cplusplus
Azure.IoT Build 0:5e72a75c31b8 30 }
Azure.IoT Build 0:5e72a75c31b8 31 #endif
Azure.IoT Build 0:5e72a75c31b8 32
Azure.IoT Build 0:5e72a75c31b8 33 #endif /*IOTHUBTRANSPORTMQTT_H*/