jacdac.azure_iot_hub_health.server

Module Contents

Classes

AzureIotHubHealthServer

A Azure IoT Hub Health server

Attributes

CONNECTION_STRING_FILE

jacdac.azure_iot_hub_health.server.CONNECTION_STRING_FILE = './.jacdac/iothub.txt'
class jacdac.azure_iot_hub_health.server.AzureIotHubHealthServer(bus: jacdac.bus.Bus)

Bases: jacdac.bus.Server

A Azure IoT Hub Health server

This server uses the ‘azure-iot-device’ PyPi package

pip install azure-iot-device

property connection_status: jacdac.azure_iot_hub_health.constants.AzureIotHubHealthConnectionStatus
async send_message(msg: str | azure.iot.device.Message)
_check_connection()
async connect()
set_connection_string(conn_str: str)
async disconnect()
handle_packet(pkt: jacdac.packet.JDPacket)
handle_connect(pkt: jacdac.packet.JDPacket)
handle_disconnect(pkt: jacdac.packet.JDPacket)
handle_set_connection_string(pkt: jacdac.packet.JDPacket)