Microsoft Azure IoTHub client HTTP transport

Dependents:   iothub_client_sample_http simplesample_http temp_sensor_anomaly

This library implements the HTTP transport for Microsoft Azure IoTHub client. The code is replicated from https://github.com/Azure/azure-iot-sdks

Committer:
AzureIoTClient
Date:
Mon May 09 14:36:41 2016 -0700
Revision:
17:7ef88cde801f
Parent:
15:52602fffff8d
Child:
18:ab990f6aa61f
1.0.6

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AzureIoTClient 6:73793bae15ba 1 // Copyright (c) Microsoft. All rights reserved.
AzureIoTClient 6:73793bae15ba 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
AzureIoTClient 6:73793bae15ba 3
AzureIoTClient 6:73793bae15ba 4 #ifndef IOTHUBTRANSPORTHTTP_H
AzureIoTClient 6:73793bae15ba 5 #define IOTHUBTRANSPORTHTTP_H
AzureIoTClient 6:73793bae15ba 6
Azure.IoT Build 15:52602fffff8d 7 #include "iothub_client_ll.h"
Azure.IoT Build 15:52602fffff8d 8 #include "iothub_transport_ll.h"
AzureIoTClient 6:73793bae15ba 9
AzureIoTClient 6:73793bae15ba 10 #ifdef __cplusplus
AzureIoTClient 6:73793bae15ba 11 extern "C"
AzureIoTClient 6:73793bae15ba 12 {
AzureIoTClient 6:73793bae15ba 13 #endif
AzureIoTClient 6:73793bae15ba 14
AzureIoTClient 17:7ef88cde801f 15 extern TRANSPORT_LL_HANDLE IoTHubTransportHttp_Create(const IOTHUBTRANSPORT_CONFIG* config);
AzureIoTClient 17:7ef88cde801f 16 extern void IoTHubTransportHttp_Destroy(TRANSPORT_LL_HANDLE handle);
AzureIoTClient 6:73793bae15ba 17
AzureIoTClient 17:7ef88cde801f 18 extern IOTHUB_DEVICE_HANDLE IoTHubTransportHttp_Register(TRANSPORT_LL_HANDLE handle, const IOTHUB_DEVICE_CONFIG* device, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend);
Azure.IoT Build 13:848d52f93daf 19 extern void IoTHubTransportHttp_Unregister(IOTHUB_DEVICE_HANDLE deviceHandle);
Azure.IoT Build 13:848d52f93daf 20
AzureIoTClient 17:7ef88cde801f 21 extern int IoTHubTransportHttp_Subscribe(IOTHUB_DEVICE_HANDLE handle);
AzureIoTClient 17:7ef88cde801f 22 extern void IoTHubTransportHttp_Unsubscribe(IOTHUB_DEVICE_HANDLE handle);
AzureIoTClient 6:73793bae15ba 23
AzureIoTClient 17:7ef88cde801f 24 extern void IoTHubTransportHttp_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle);
AzureIoTClient 6:73793bae15ba 25
AzureIoTClient 17:7ef88cde801f 26 extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_GetSendStatus(IOTHUB_DEVICE_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus);
AzureIoTClient 17:7ef88cde801f 27 extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_SetOption(TRANSPORT_LL_HANDLE handle, const char* optionName, const void* value);
AzureIoTClient 17:7ef88cde801f 28 extern const void* HTTP_Protocol(void);
AzureIoTClient 6:73793bae15ba 29
AzureIoTClient 6:73793bae15ba 30 #ifdef __cplusplus
AzureIoTClient 6:73793bae15ba 31 }
AzureIoTClient 6:73793bae15ba 32 #endif
AzureIoTClient 6:73793bae15ba 33
AzureIoTClient 6:73793bae15ba 34 #endif /*IOTHUBTRANSPORTHTTP_H*/