This is my first request in this forum, as I have been around for a long time with a problem:
Through TCP binding I get a corresponding string; This is evaluated in a rule and an “ACK” message is generated. This is now to be returned to the device. The problem is that the string must contain a checksum (CRC16) for the recipient to accept the message. The checksum is generated from the message length.
Can someone tell me how to create a CRC16 checksum in openHAB2 from a string?
Hi Michael.
Do you have any progress with calculation of CRC? Because I also need it. The main problem for writing it on Xtend is missing XOR operator in this language. Do you find any tricks?