For the complete documentation index, see llms.txt. This page is also available as Markdown.

IMQTTDeviceStatusCallback Delegates

This interface invokes callback functions to receive data and/or a detailed response. To register for the event(s), call the setMQTTDeviceStatusMonitoring() function with the name of a class that implements the IMQTTDeviceStatusCallback interface.

OnConnected

This event is called when a device is connected to the MQTT broker.

void OnConnected(String deviceAddress);
Parameter
Description

deviceAddress

Device address.

Return Value: None

OnDisconnected

This event is called when a device is disconnected from the MQTT broker.

void OnDisconnected(String deviceAddress);
Parameter
Description

deviceAddress

Device address.

Return Value: None