red30 Well-Known Member Licensed User Longtime User Sep 13, 2016 #1 Hello, Is the function CRC8 in B4A? If it is, how can I use it (give an example please)? Also? is the Xor function? (Can i 0x0F xor 0x1F)
Hello, Is the function CRC8 in B4A? If it is, how can I use it (give an example please)? Also? is the Xor function? (Can i 0x0F xor 0x1F)
JordiCP Expert Licensed User Longtime User Sep 13, 2016 #2 See this for the CRC8 (take into account that in B4A bytes are signed, so if you want unsigned result it must be returned in an int variable) For the XOR function you can use A=Bit.XOR(B,C) Upvote 0
See this for the CRC8 (take into account that in B4A bytes are signed, so if you want unsigned result it must be returned in an int variable) For the XOR function you can use A=Bit.XOR(B,C)
ta1dr Member Licensed User Longtime User Sep 13, 2016 #3 https://www.b4x.com/android/forum/threads/crc8-calculation-from-string.31427/ Upvote 0