module documentation
Implementation of an MQTT Client helper class.
| Class | |
This class implements an MQTT client. It is a wrapper around the paho MQTT client. It is implemented as a BackgroundWorker/Actor, so it runs in its own thread. |
| Class | |
This base class defines the interface for an MQTT handler class. The abstract methods defined here must be implemented by the implementing class. |
| Class | |
Structure that represents a subscribed-to topic. |
| Function | id |
Convert a oneM2M ID to an MQTT compatible path element. |
| Function | id |
Convert a oneM2M ID to an MQTT client ID. |
| Function | mqtt |
Convert an MQTT compatible path element to an ID. |
| Type Alias | |
Type for an MQTT Callback. |
Convert a oneM2M ID to an MQTT compatible path element.
| Parameters | |
id:str | The oneM2M ID to convert. |
| Returns | |
str | The MQTT compatible path element. |
Convert a oneM2M ID to an MQTT client ID.
| Parameters | |
id:str | The oneM2M ID to convert. |
isbool | None | Whether the ID is a CSE-ID or an AE-ID. |
| Returns | |
str | The MQTT client ID. |