Microsoft Azure IoTHub client libraries

Dependents:   sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more

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

Revision:
78:74a8d3068204
Parent:
72:c737b53d7689
Child:
80:db5f5237bc95
--- a/iothub_client.h	Sat Oct 21 20:11:49 2017 +0000
+++ b/iothub_client.h	Fri Nov 03 13:18:25 2017 -0700
@@ -87,6 +87,19 @@
     MOCKABLE_FUNCTION(, IOTHUB_CLIENT_HANDLE, IoTHubClient_CreateWithTransport, TRANSPORT_HANDLE, transportHandle, const IOTHUB_CLIENT_CONFIG*, config);
 
     /**
+    * @brief	Creates a IoT Hub client for communication with an existing IoT
+    * 			Hub using the device auth module.
+    *
+    * @param	iothub_uri	Pointer to an ioThub hostname received in the registration process
+    * @param	device_id	Pointer to the device Id of the device
+    * @param	protocol	Function pointer for protocol implementation
+    *
+    * @return	A non-NULL @c IOTHUB_CLIENT_LL_HANDLE value that is used when
+    * 			invoking other functions for IoT Hub client and @c NULL on failure.
+    */
+    MOCKABLE_FUNCTION(, IOTHUB_CLIENT_HANDLE, IoTHubClient_CreateFromDeviceAuth, const char*, iothub_uri, const char*, device_id, IOTHUB_CLIENT_TRANSPORT_PROVIDER, protocol);
+
+    /**
     * @brief	Disposes of resources allocated by the IoT Hub client. This is a
     * 			blocking call.
     *
@@ -317,7 +330,6 @@
     */
     MOCKABLE_FUNCTION(, IOTHUB_CLIENT_RESULT, IoTHubClient_SetDeviceMethodCallback_Ex, IOTHUB_CLIENT_HANDLE, iotHubClientHandle, IOTHUB_CLIENT_INBOUND_DEVICE_METHOD_CALLBACK, inboundDeviceMethodCallback, void*, userContextCallback);
 
-
     /**
     * @brief	This API responses to a asnyc method callback identified the methodId.
     *