Calculate the SUM of serial packet

Avatar
  • updated
  • Under review

I need to send data to serial port on HEX format, but in the end of packet I need to calculate the the XOR of Packet and SUM of packet. Can You explain how can I do it?

Image 1387

* the data is an integer.

Avatar
ComfortClick Support
  • Under review

Hello,


unfortunately, for now, we do not support check sum / CRC calculation. This feature is already planned for our future releases. For now, you can only do the calculations manually  for each command and make static commands.


Best regards.