Open albertopicca opened 9 years ago
IN the MQTT_Client there is the following line (ln 108):
_BUFFER_PUSH_STRING(ADR(payload), 'PLC', TRUE); (* Client Identfier *)
Where you can edt the client id.
I did not make the value of the clientId conffigurable, I will change that.
Thank you for reply.
I've open the project mqtt.pro, but when I try to compile I receive the build errors:
Error 4001: UDP_SndRcv(44): Identifier SYSSOCKRECVFROM' not defined Error 4263: UDP_SndRcv(44): Expected Number 'ELSE' or 'END_CASE' Error 4001: UDP_SndRcv(70): Identifier SYSSOCKRECVTO' not defined ... ...
I suppose the library WagoLibEthernet_01.lib*1.4.15 14:24:28 will not be valid, and I use the codesys 2.3.9.47.
I try to add the new input variables sClientId...
Thank you!
I use WagoLibEthernet_01.lib*26.3.10 14:18:53
But 18.8.15 should also work, you can download it here: http://www.wago.com/wagoweb/documentation/app_note/libraries/WagoLibEthernet_01.lib
Cheers
How to change the name of the clientId that publish the topic? It's always "PLC"
Thank