Retaining last payload

Hi all,

I have a tcp modbus device that communicates to other devices via rf. on occasion we have rf interference causing communication dropouts.

Each payload is sent to a cloud. When the drop out occurs msg.payload will be sent = 0 causing inconsistent data on the cloud.

Is there a way of retaining a payload until the next successful connection & var is received?

Thanks In advance.

Maybe I don't fully understand the question, but would it be better to send nothing when the problem occurs, and send the next good data when it arrives?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.