Hi y’all,
I’m using MQTT-TLS 0.2.23 to send data via MQTT to my company’s broker. I’m able to send data using the JSONWriter class, but only up to a certain string size - meaning, the length of the ‘data’ argument on the client.publish() function.
Is there any way to increase the size of the data to be sent to the cloud?
This is a successful message going to my broker. I can display the value of the tags in my available widgets:
{“data”: {“level”:468,“temperature2”:144488.17,“device”:“xxx2022”,“str_per”:57.499,“str_val”:-92,“qualVal”:-14,“qualPer”:33.3333,“ai00test”:156,“ai00lowLevelAlm”:1,“ai00inc”:1}, “timestamp”:1644619800000}
This is a message I cannot see on my cloud widgets. The objects are the same, the only thing that changed is the value of the ‘device’ object in the JSON:
{“data”: {“level”:468,“temperature2”:210048.70,“device”:“This is the first unit in the xxxxxxxx test to be tested from the xxxxxxxx office”,“str_per”:57.499,“str_val”:-92,“qualVal”:-12,“qualPer”:41.6663,“ai00test”:141,“ai00lowLevelAlm”:1,“ai00inc”:0}, “timestamp”:1644621303000}
Any light shed will be very appreciated!
thanks,
-R