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
Diff: iothubtransporthttp.h
- Revision:
- 14:fae5c6b2cce3
- Parent:
- 13:848d52f93daf
- Child:
- 15:52602fffff8d
--- a/iothubtransporthttp.h Fri Mar 11 17:00:20 2016 -0800 +++ b/iothubtransporthttp.h Fri Mar 25 15:59:57 2016 -0700 @@ -11,19 +11,19 @@ { #endif - extern TRANSPORT_HANDLE IoTHubTransportHttp_Create(const IOTHUBTRANSPORT_CONFIG* config); - extern void IoTHubTransportHttp_Destroy(TRANSPORT_HANDLE handle); + extern TRANSPORT_LL_HANDLE IoTHubTransportHttp_Create(const IOTHUBTRANSPORT_CONFIG* config); + extern void IoTHubTransportHttp_Destroy(TRANSPORT_LL_HANDLE handle); - extern IOTHUB_DEVICE_HANDLE IoTHubTransportHttp_Register(TRANSPORT_HANDLE handle, const char* deviceId, const char* deviceKey, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend); + extern IOTHUB_DEVICE_HANDLE IoTHubTransportHttp_Register(TRANSPORT_LL_HANDLE handle, const char* deviceId, const char* deviceKey, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend); extern void IoTHubTransportHttp_Unregister(IOTHUB_DEVICE_HANDLE deviceHandle); extern int IoTHubTransportHttp_Subscribe(IOTHUB_DEVICE_HANDLE handle); extern void IoTHubTransportHttp_Unsubscribe(IOTHUB_DEVICE_HANDLE handle); - extern void IoTHubTransportHttp_DoWork(TRANSPORT_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle); + extern void IoTHubTransportHttp_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle); extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_GetSendStatus(IOTHUB_DEVICE_HANDLE handle, IOTHUB_CLIENT_STATUS *iotHubClientStatus); - extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_SetOption(TRANSPORT_HANDLE handle, const char* optionName, const void* value); + extern IOTHUB_CLIENT_RESULT IoTHubTransportHttp_SetOption(TRANSPORT_LL_HANDLE handle, const char* optionName, const void* value); extern const void* HTTP_Protocol(void); #ifdef __cplusplus