IoTHubDeviceConfiguration_GetConfigurations()

Retrieves the Configuration info for multiple configurations from IoT Hub.

Syntax

#include "azure-iot-sdk-c/iothub_service_client/inc/iothub_deviceconfiguration.h"

IOTHUB_DEVICE_CONFIGURATION_RESULT IoTHubDeviceConfiguration_GetConfigurations(
  IOTHUB_SERVICE_CLIENT_DEVICE_CONFIGURATION_HANDLE  serviceClientDeviceConfigurationHandle,
  size_t                                             maxConfigurationsCount,
  SINGLYLINKEDLIST_HANDLE                            configurationsList
);

Parameters

  • serviceClientDeviceConfigurationHandle The handle created by a call to the create function.

  • maxConfigurationsCount Maximum number of configurations requested

  • configurations Output parameter, if it is not NULL will contain the requested configurations

Return Value

IOTHUB_DEVICE_CONFIGURATION_RESULT upon success or an error code upon failure.