prov_device_client.h

Extends the Prov_Device_LL module with additional features.

Includes

#include <stddef.h>
#include <stdint.h>
#include "prov_device_ll_client.h"
#include "umock_c/umock_c_prod.h"
#include "azure_macro_utils/macro_utils.h"
#include "azure_prov_client/prov_transport.h"

Detailed Description

Prov_Device is a module that extends the Prov_Device_LL module with 2 features:

  • scheduling the work for the IoTHubCLient from a thread, so that the user does not need to create their own thread

  • thread-safe APIs

Functions

Function Name Description
Prov_Device_Create
Prov_Device_Destroy
Prov_Device_Register_Device
Prov_Device_SetOption
Prov_Device_GetVersionString
Prov_Device_Set_Provisioning_Payload Sets the Provisioning Data that is sent to the Provisioning service.
Prov_Device_Get_Provisioning_Payload Retrieves the Provisioning Data that is sent from the Provisioning service.

Macro definitions

PROV_DEVICE_CLIENT_INSTANCE_TYPE

#define PROV_DEVICE_CLIENT_INSTANCE_TYPE

Type definitions

PROV_DEVICE_HANDLE

typedef struct PROV_DEVICE_INSTANCE_TAG* PROV_DEVICE_HANDLE;