Microsoft Azure IoTHub client MQTT transport
Dependents: STM32F746_iothub_client_sample_mqtt FXOS8700CQ_To_Azure_IoT f767zi_mqtt FXOS8700CQ_To_Azure_IoT ... more
iothubtransportmqtt.h@3:40f482ed0be8, 2016-05-09 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Mon May 09 14:36:52 2016 -0700
- Revision:
- 3:40f482ed0be8
- Parent:
- 1:f2e563755d91
- Child:
- 4:e472f5ce3473
1.0.6
Who changed what in which revision?
User | Revision | Line number | New 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 |
AzureIoTClient | 3:40f482ed0be8 | 14 | extern TRANSPORT_LL_HANDLE IoTHubTransportMqtt_Create(const IOTHUBTRANSPORT_CONFIG* config); |
AzureIoTClient | 3:40f482ed0be8 | 15 | extern void IoTHubTransportMqtt_Destroy(TRANSPORT_LL_HANDLE handle); |
Azure.IoT Build | 0:5e72a75c31b8 | 16 | |
AzureIoTClient | 3:40f482ed0be8 | 17 | extern IOTHUB_DEVICE_HANDLE IoTHubTransportMqtt_Register(TRANSPORT_LL_HANDLE handle, const IOTHUB_DEVICE_CONFIG* device, 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 | |
AzureIoTClient | 3:40f482ed0be8 | 20 | extern int IoTHubTransportMqtt_Subscribe(IOTHUB_DEVICE_HANDLE handle); |
AzureIoTClient | 3:40f482ed0be8 | 21 | extern void IoTHubTransportMqtt_Unsubscribe(IOTHUB_DEVICE_HANDLE handle); |
Azure.IoT Build | 0:5e72a75c31b8 | 22 | |
AzureIoTClient | 3:40f482ed0be8 | 23 | extern void IoTHubTransportMqtt_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle); |
Azure.IoT Build | 0:5e72a75c31b8 | 24 | |
AzureIoTClient | 3:40f482ed0be8 | 25 | extern IOTHUB_CLIENT_RESULT IoTHubTransportMqtt_GetSendStatus(IOTHUB_DEVICE_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus); |
AzureIoTClient | 3:40f482ed0be8 | 26 | extern IOTHUB_CLIENT_RESULT IoTHubTransportMqtt_SetOption(TRANSPORT_LL_HANDLE handle, const char* optionName, const void* value); |
AzureIoTClient | 3:40f482ed0be8 | 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*/ |