1 2 3 4 5 6 7 8 9 10 | Publish := FALSE; 'MQTT Publish Error: Incorrect MessageSize for buffer. Please set the MQTT.MQTTParam.g_udiMaxPayloadSize larger then %s', TO_STRING( MessageSize ) ); ELSE // can only be equal or less then zero here Topic : WSTRING(GC_Sparkplug.supported_string_lengths); pbMessage : POINTER TO BYTE; MessageSize : UDINT; Qos : MQTT.MQTT_QOS; Retained : BOOL; |