How can I calculate the BCC for the follow message:
Dim s As String = ChrW(&H1) & ChrW(&H56) & "01" & ChrW(&H2) & "123" & ChrW(&H3) & ChrW(&HD)
BCC is XOR of all the bytes in a given byte stream excluding the first SOH[chr(1)] or STX[chr(2)] till first ETX[chr(3)] or EOT[chr(4)]. ETX is included in the BCC.
Thanks in advance