Hello;
I am trying to emulate a true telnet hyper terminal within a flow. The connection is made on port 23 but there is no response from the server. Communication between the telnet server works properly in Teraterm or a hyper terminal, but within my flow I get no response from the server. In Wireshark I can see the server protocol listed as TENET, whereas node-red is listed as TCP. I have added a <CR> as suggested with this forum with no luck.
When the connection is first made with the server, it returns unprompted text strings indicating the server system health. I do not see these appear or any response in the node-red debug. I am overlooking some glaring error. Any suggestions?
BTW I am microwave communications engineer not a programmer, so just trying to learn some new tools.
I have attached the flow.
Chris
[{"id":"6f7de61.346b118","type":"debug","z":"6b5ceb9e.2f8654","name":"","active":true,"console":false,"complete":false,"x":690,"y":520,"wires":[]},{"id":"f98c45f7.6bd728","type":"tcp request","z":"6b5ceb9e.2f8654","server":"192.168.10.253","port":"8005","out":"sit","splitc":"0","name":"","x":730,"y":360,"wires":[["d214d069.7875a"]]},{"id":"6186a1c.e35ed6","type":"inject","z":"6b5ceb9e.2f8654","name":"connect & subscribe","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"x":250,"y":80,"wires":[["2c21e3bd.be55ec"]]},{"id":"d214d069.7875a","type":"function","z":"6b5ceb9e.2f8654","name":"msg.payload = msg.payload.toString(); return msg;","func":"msg.payload = msg.payload.toString();\nreturn msg;","outputs":1,"noerr":0,"x":810,"y":440,"wires":[["6f7de61.346b118"]]},{"id":"2c21e3bd.be55ec","type":"function","z":"6b5ceb9e.2f8654","name":"msg.payload = '\\n'; node.send(msg); msg.payload = 'subscribe\\n'; node.send(msg);","func":"msg.payload = '\\n';\nnode.send(msg);\nmsg.payload = 'subscribe\\n';\nnode.send(msg);","outputs":1,"noerr":0,"x":460,"y":160,"wires":[["f98c45f7.6bd728"]]},{"id":"c55f7af2.169fc8","type":"inject","z":"6b5ceb9e.2f8654","name":"quit & disconnect","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"x":240,"y":220,"wires":[["4111f34e.a8534c"]]},{"id":"4111f34e.a8534c","type":"function","z":"6b5ceb9e.2f8654","name":"msg.payload = 'quit\\n'; node.send(msg);","func":"msg.payload = 'quit\\n';\nnode.send(msg);\n","outputs":1,"noerr":0,"x":320,"y":300,"wires":[["f98c45f7.6bd728"]]}]