Creating CRC16 xModem Hex Value

@michaelbusry welcome to the forum! First off it is JavaScript not Java they are two different things (grin)

Can you give some background info:

  1. what version of Node-RED, and node.js are you running (see node-redstarxtup log)
  2. what platform are you running NR on?

So you have something running so can you create a test flow demonstrating the problem. If you add a debug node to the output of what ever is sending you the json, you could put that in an inject node in the test flow. That way we can run your test flow to see what is happening.

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json