Send and receive binary data via TCP

Hi all,

I am currenty trying to send a command to a sensor and receive its answer.
This works great with a terminal tool (e.g. IO Ninja)

Send & Receive

Same I'd like to achieve with node red:

but it does not give any answers on TCP Output node.

Do you have any suggestions?

Thanks
Gerald

Try the TCP request node instead of in and out nodes.

Also, if you are not fully up to speed on nodejs buffers, you might get some use from buffer-parser node (it includes a buffer maker node)

Dear Steve,

you are right, that solves the issue :smiley:

I wonder whats he difference between these TCP nodes :thinking:

THX
BR
Gerald

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