IoTHubAmqpClientBase Class

Inheritance
builtins.object
IoTHubAmqpClientBase

Constructor

IoTHubAmqpClientBase()

Methods

disconnect_sync

Disconnect the Amqp client.

send_message_to_device

Send a message to the specified deivce.

disconnect_sync

Disconnect the Amqp client.

disconnect_sync()

send_message_to_device

Send a message to the specified deivce.

send_message_to_device(device_id, message, app_props)

Parameters

device_id
str
Required

The name (Id) of the device.

message
str
Required

The message that is to be delivered to the device.

app_props
dict
Required

Application and system properties for the message

Exceptions

Exception if the Send command is not able to send the message