Description
Features:
- CODESYS client library implementing MQTT protocol (version 3.1.1)
- MQTT client functionality
- Library completely written in IEC code, therefore independent from target system
- Publish: Payload of any type can be transmitted to a broker*
- Subscribe: Messages of any type from MQTT brokers can be received*
- Message classification via MQTT topics
- MQTT-QoS-Levels: * QoS0 (At-most-once) * QoS1 (At-least-once)
- Authentication with user name / password
- Auto-Reconnect is available if connection has been aborted
- Channel encryption via SSL (TLS v1.1 Client)
- Last will functionality
- Topic wildcards (+/#)
- For maximum supported message payload size, see global variable MQTT_GVL.MAX_PAYLOAD_SIZE
Currently not supported: * QoS2 (Exactly once)
Requirements
Programming system | CODESYS Development System V3.5.8.10 |
Target System | CODESYS Control V3.5.8.10 |
Supported platforms/devices | Notice: Use the sample project ‘mqtt_example.project’ to find out the supported features |
Additional requirements | Standard CODESYS libraries „TCP, SysSocket, CmpErrors“ must be supported on the target |
Licensing | License activation optional on CODESYS Runtime Key or CODESYS Soft Key. License per runtime device necessary. |
Restrictions |
Client authentication with certificate not supported! Wait for http://jira.codesys.com/browse/CDS-57009 see chapter SSL/TLS certificates Encryption is not supported on 64bit systems |
Required Accessory | CODESYS Key |