I'm struggling with the same issue.
Im using SysCom ver. 3.5.17.0 and seem to have the same issue on a Raspberry Pi. It's not waiting for the requested number of bytes, no matter if "ulTimeout := SYS_INFINITE" or any other value. The only solution I have found is to stall the program to allow the serial port to recieve the data.
I have run into the same issue. Zigbee2MQTT does not like newline and carrige return. I was hoping it was as easy as a configuration, but I can't find it. I have just done a pass over the string to remove unwanted whitespace. IF Finalize_JSON THEN // Remove Carrige Return and New Line from json WHILE 0 <> WFIND(payload.str, "$R$N") DO payload.str := WDELETE(payload.str, 2, WFIND(payload.str, "$R$N")); END_WHILE; // Remove triple spaces WHILE 0 <> WFIND(payload.str, " ") DO payload.str := WDELETE(payload.str,...
Thanks, increasing "g_udiMaxPublishersAndSubscribers" solved my issue.
Hi, I'm doing some home automation with Zigbee2MQTT and the MQTT_Client (1.2.0.0) from IIoT Libraries SL. I have only been able to subscribe to 12 out of maybe 50 devices. Those are the 12 first in the program. If i comment out one of the 12, the 13th is subscribed to. Is there a limit to how many subscriptions the MQTT client can handle? Is there a way to add more? Greetings Jan Magne!