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:
Azure.IoT Build
Date:
Fri Apr 08 13:24:07 2016 -0700
Revision:
15:52602fffff8d
Parent:
14:fae5c6b2cce3
Child:
17:7ef88cde801f
1.0.4

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
Azure.IoT Build 14:fae5c6b2cce3 15 extern TRANSPORT_LL_HANDLE IoTHubTransportHttp_Create(const IOTHUBTRANSPORT_CONFIG* config);
Azure.IoT Build 14:fae5c6b2cce3 16 extern void IoTHubTransportHttp_Destroy(TRANSPORT_LL_HANDLE handle);
AzureIoTClient 6:73793bae15ba 17
Azure.IoT Build 14:fae5c6b2cce3 18 extern IOTHUB_DEVICE_HANDLE IoTHubTransportHttp_Register(TRANSPORT_LL_HANDLE handle, const char* deviceId, const char* deviceKey, 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
Azure.IoT Build 13:848d52f93daf 21 extern int IoTHubTransportHttp_Subscribe(IOTHUB_DEVICE_HANDLE handle);
Azure.IoT Build 13:848d52f93daf 22 extern void IoTHubTransportHttp_Unsubscribe(IOTHUB_DEVICE_HANDLE handle);
AzureIoTClient 6:73793bae15ba 23
Azure.IoT Build 14:fae5c6b2cce3 24 extern void IoTHubTransportHttp_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle);
AzureIoTClient 6:73793bae15ba 25
Azure.IoT Build 13:848d52f93daf 26 extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_GetSendStatus(IOTHUB_DEVICE_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus);
Azure.IoT Build 14:fae5c6b2cce3 27 extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_SetOption(TRANSPORT_LL_HANDLE handle, const char* optionName, const void* value);
AzureIoTClient 6:73793bae15ba 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*/