Downgrade library, compiler version, project, device to 3.5.14.0.
This is the minimum system requirement for the MQTT Client SL.
Moving to a lower version will allow more runtime systems to use this code.
Done in /branches/SP14andMQTT1020/
There are now some precompile errors (can be ignored) in the library
The example also gives some precompile errors (can be ignored)
Seems to run fine and connect to the broker OK. State machines updating.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Started in /branches/SP14andMQTT1020/
It works, but there are a lot of precompile errors due to bugs in 3.5.14.0. Also the TO_STRING of the enums wasn't working, so I changed all your logs to just print the UINT value of the enum, for compiler versions before 3.5.16.0.
More work is required to remove the precompile errors and fix the logging, should we want to move this feature into the trunk.
NOTE: the precompile errors can be ignored.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The solution is to use the latest CODESYS IDE, and a Compiler Version later than 3.5.16.10, even with the older runtimes. Also use the library version specifically mentioned in the system requirements of CODESYS IIoT Libaries SL
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Done in /branches/SP14andMQTT1020/
There are now some precompile errors (can be ignored) in the library
The example also gives some precompile errors (can be ignored)
Seems to run fine and connect to the broker OK. State machines updating.
Started in /branches/SP14andMQTT1020/
It works, but there are a lot of precompile errors due to bugs in 3.5.14.0. Also the TO_STRING of the enums wasn't working, so I changed all your logs to just print the UINT value of the enum, for compiler versions before 3.5.16.0.
More work is required to remove the precompile errors and fix the logging, should we want to move this feature into the trunk.
NOTE: the precompile errors can be ignored.
Moved to backlog until someone specifically requests an earlier version.
The solution is to use the latest CODESYS IDE, and a Compiler Version later than 3.5.16.10, even with the older runtimes. Also use the library version specifically mentioned in the system requirements of CODESYS IIoT Libaries SL