iothub_messaging.h

Includes

#include "umock_c/umock_c_prod.h"
#include "iothub_messaging_ll.h"

Detailed Description

Functions

Function Name Description
IoTHubMessaging_Create Creates a IoT Hub Service Client Messaging handle for use it in consequent APIs.
IoTHubMessaging_Destroy Disposes of resources allocated by the IoT Hub Service Client Messaging.
IoTHubMessaging_Open Opens connection to IoTHub.
IoTHubMessaging_Close Closes connection to IoTHub.
IoTHubMessaging_SendAsync Asynchronous call to send the message to a specified device.
IoTHubMessaging_SetFeedbackMessageCallback This API specifies a callback to be used when the device receives the message.
IoTHubMessaging_SetTrustedCert This function is meant to be called by the user when to set the trusted certificate on the tls connection.

Type definitions

IOTHUB_MESSAGING_CLIENT_HANDLE

typedef struct IOTHUB_MESSAGING_CLIENT_INSTANCE_TAG* IOTHUB_MESSAGING_CLIENT_HANDLE;