The R1 controller (firmware r9.5g) is used to collect the data of the thermometer and hygrometer (model: apem5900-th) through TCP protocol. After working normally for a period of time (one day or several hours), the communication is over. I use the method of restarting R1 or apem5900-th, which can run normally for a period of time, and there is a problem again.
When something went wrong, I found a problem with the tracker. When “open outgoing communication” is used, the command returns the value "TH5900_ TCP_ stat“ is equal to 0. Doesn’t that mean success? But next I’ll use “communication open?” When checking, the return value is 0, and the communication is not established.
Why? How to solve it?How to confirm that the communication is established normally?