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 Mar 25 16:00:10 2016 -0700
Revision:
0:5e72a75c31b8
Child:
1:f2e563755d91
Release 1.0.3

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 0:5e72a75c31b8 7 #include "iothub_client_private.h"
Azure.IoT Build 0:5e72a75c31b8 8
Azure.IoT Build 0:5e72a75c31b8 9 #ifdef __cplusplus
Azure.IoT Build 0:5e72a75c31b8 10 extern "C"
Azure.IoT Build 0:5e72a75c31b8 11 {
Azure.IoT Build 0:5e72a75c31b8 12 #endif
Azure.IoT Build 0:5e72a75c31b8 13 extern TRANSPORT_LL_HANDLE IoTHubTransportMqtt_Create(const IOTHUBTRANSPORT_CONFIG* config);
Azure.IoT Build 0:5e72a75c31b8 14 extern void IoTHubTransportMqtt_Destroy(TRANSPORT_LL_HANDLE handle);
Azure.IoT Build 0:5e72a75c31b8 15
Azure.IoT Build 0:5e72a75c31b8 16 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 17 extern void IoTHubTransportMqtt_Unregister(IOTHUB_DEVICE_HANDLE deviceHandle);
Azure.IoT Build 0:5e72a75c31b8 18
Azure.IoT Build 0:5e72a75c31b8 19 extern int IoTHubTransportMqtt_Subscribe(IOTHUB_DEVICE_HANDLE handle);
Azure.IoT Build 0:5e72a75c31b8 20 extern void IoTHubTransportMqtt_Unsubscribe(IOTHUB_DEVICE_HANDLE handle);
Azure.IoT Build 0:5e72a75c31b8 21
Azure.IoT Build 0:5e72a75c31b8 22 extern void IoTHubTransportMqtt_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle);
Azure.IoT Build 0:5e72a75c31b8 23
Azure.IoT Build 0:5e72a75c31b8 24 extern IOTHUB_CLIENT_RESULT IoTHubTransportMqtt_GetSendStatus(IOTHUB_DEVICE_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus);
Azure.IoT Build 0:5e72a75c31b8 25 extern IOTHUB_CLIENT_RESULT IoTHubTransportMqtt_SetOption(TRANSPORT_LL_HANDLE handle, const char* optionName, const void* value);
Azure.IoT Build 0:5e72a75c31b8 26 extern const void* MQTT_Protocol(void);
Azure.IoT Build 0:5e72a75c31b8 27
Azure.IoT Build 0:5e72a75c31b8 28 #ifdef __cplusplus
Azure.IoT Build 0:5e72a75c31b8 29 }
Azure.IoT Build 0:5e72a75c31b8 30 #endif
Azure.IoT Build 0:5e72a75c31b8 31
Azure.IoT Build 0:5e72a75c31b8 32 #endif /*IOTHUBTRANSPORTMQTT_H*/