This preconfiguration can be used with the objects: PmaFolder or PmaRoot.
CommMQTT - PmaFolder
Main object configured as communication driver of the service. The PmaFolder object has methods for sending SendConnect, SendDisconnect, SendPublish, SendSubscribe and SendUnSubscribe. For receiving messages, the "OnReceive" method can be used. The "HexaStringToText" method can be used for converting the text data (ANSII only) from HaxaString to text.
Test - PmaFolder
The folder contains testing panel "TestPanel" and auxiliary PmaData object. The panel serves for testing and viewing the received data. the "OnReceive" method processes received data for displaying in the testing panel.The name of created object | Name of the object created in the tree of Pma objects. The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics, empty string, spaces and the first character must not be a number. Default: "CommMQTT" |
---|---|
Broker URL address | Broker URL address |
Broker port | Broker port 1883 (default) - unencrypted transmission |
Client identifier | Client identifier on broker |
Assigned name | |
Assigned password |