I need to send RAW commands via TCP to a device.
The example would be: socat stdio tcp:192.168.1.1:22 and then the command ended by CRLF
using the function
msg.payload = "GetCommand 1234\r\n"
I'm using the TCP request Node.
In addition, is there an easy way to remove the CRLF from the response? It is being sent at the beginning and at the end of every answer.