Azure IoT C SDK
|
This struct specifies IoT Hub client configuration. More...
#include <iothub_client_core_common.h>
Data Fields | |
IOTHUB_CLIENT_TRANSPORT_PROVIDER | protocol |
A function pointer that is passed into IoTHubDeviceClient_CreateWithTransport() or IoTHubDeviceClient_LL_Create(). A function definition for AMQP is defined in the include iothubtransportamqp.h . A function definition for HTTP is defined in the include iothubtransporthttp.h A function definition for MQTT is defined in the include iothubtransportmqtt.h . | |
const char * | deviceId |
A string that identifies the device. | |
const char * | deviceKey |
The device key used to authenticate the device. If neither deviceSasToken nor deviceKey is present then the authentication is assumed x509. | |
const char * | deviceSasToken |
The device SAS Token used to authenticate the device in place of device key. If neither deviceSasToken nor deviceKey is present then the authentication is assumed x509. | |
const char * | iotHubName |
The IoT Hub name to which the device is connecting. | |
const char * | iotHubSuffix |
IoT Hub suffix goes here, e.g., private.azure-devices-int.net. | |
const char * | protocolGatewayHostName |
Optional gateway host to connect to (instead of directly to IoT Hub). Can be NULL. | |
This struct specifies IoT Hub client configuration.