Joining TCP stream of buffer messages; output without '44'

Hi,
In my Node-RED flow, I have a "tcp in" node to receive a stream of some incoming buffer messages.
I use "join" node to combine these incoming buffer messages to make them into a single buffer message. But there is always an additional '44' (= '2c' in hex) on every joining point of the messages.

For example;

  • I want to join buffer [165,64,144,8] and [1,2,3,4,5], the output of the join node is = [165,64,144,8,44,1,2,3,4,5] ==> there is an additional '44' in the middle (at the joining point; between '8' and '1')
  • I want to join buffer [165,64] and [144,8] and [1,2,3,4,5], the output of the join node is = [165,64,44,144,8,44,1,2,3,4,5] ==> there are two additional '44's in the middle (at the joining points; between '64' and '144', also between '8' and '1')

I want to have the result is = [165,64,144,8,1,2,3,4,5], without any additional '44' at the joining points.
How to solve this problem?

Hallo,

I found the solution already.....
That because I was joining using "," (the default is using a "comma"), which is the same as = "44" or "2c (hex)".
So, I modified joining using "", (= nothing), and the result is fine... There is no "44" anymore in the joined buffer.

Maybe this article will be useful for others who experience the similar case.
Thanks.

2 Likes

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