Dear Support,
I have JSON data with more than the length of THttpPostData 1536.
how can I send the data successfully with only transmit channel length of 1350?
Answers 4
Sending longer data using TCP connection is dobe by sending part by part in multiple PLC cycles. We can prepare modified function block more suitable for your use case. Do you have JSON data stored in a file or in a variable?
yes, please, thats would be great!
I am storing my data in an array of variables.
Looking for your modification.
We are from the Teco middle east office, do you prefer to continue the discussion here or through emails?
I released new version of InternetLib (v61) that allows to send data larger than size of THttpPostData data type (change is made for all function blocks fbHttpRequestL, fbHttpRequestL2, fbHttpRequestL3). Library can be downloaded using Tools > Mosaic Updater (If you don't see the library in Mosaic Updater, please make sure, you are using last version of Mosaic 2022.2).
If you prefer using emails, you can reach me at bydzovsky@tecomat.cz. I'm currently on vacation, so my replies on both email and support site may take longer than usual.
This question is solved.