Microsoft Azure IoTHub client libraries

Dependents:   sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more

Embed: (wiki syntax)

« Back to documentation index

IOTHUB_CLIENT_DEVICE_CONFIG_TAG Struct Reference

IOTHUB_CLIENT_DEVICE_CONFIG_TAG Struct Reference

This struct captures IoTHub client device configuration. More...

#include <iothub_client_core_common.h>

Data Fields

IOTHUB_CLIENT_TRANSPORT_PROVIDER protocol
 A function pointer that is passed into the IoTHubClientCreate.
void * transportHandle
 a transport handle implementing the protocol
const char * deviceId
 A string that identifies the device.
const char * deviceKey
 The device key used to authenticate the device.
const char * deviceSasToken
 The device SAS Token used to authenticate the device in place of device key.

Detailed Description

This struct captures IoTHub client device configuration.

Definition at line 213 of file iothub_client_core_common.h.


Field Documentation

const char* deviceId

A string that identifies the device.

Definition at line 225 of file iothub_client_core_common.h.

const char* deviceKey

The device key used to authenticate the device.

x509 authentication is is not supported for multiplexed connections

Definition at line 229 of file iothub_client_core_common.h.

const char* deviceSasToken

The device SAS Token used to authenticate the device in place of device key.

x509 authentication is is not supported for multiplexed connections.

Definition at line 233 of file iothub_client_core_common.h.

IOTHUB_CLIENT_TRANSPORT_PROVIDER protocol

A function pointer that is passed into the IoTHubClientCreate.

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

Definition at line 219 of file iothub_client_core_common.h.

a transport handle implementing the protocol

Definition at line 222 of file iothub_client_core_common.h.