Response needed from TCP Server
Hello,
I need to use the TCP Server connexion of ComfortClick's Basic Driver in order to receive data sent by a sensor device (VegeHub from Vegetronix).
The TCP server is receiving the data from my Vegehub device, and I can parse the data well.
The problem is that ComfortClick does not send any response to the device and does not close the connection despite closing being requested by the device.
How can I have ComfortClick send a 200 code OK response to an incoming message sent to ComfortClick's TCP Server ?
How can I have ComfortClick close the connexion once received ?
Thank you
Im not sure if this will work or not.
Add a command to the TCP server
Text data: HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\nContent-Length: 0\r\n\r\n
New line: \r\n
Send trigger: Set a trigger for sending the response when data is received from the VegeHub sensor.