Hi Firpas, thanks a lot for sharing the code, i'm actually stuck in the same spot you were, i'm trying to implement a crc check, i have a microcontroller measuring voltage from a strain gage, and i'm transmitting the values via bluetooth, but i need to make sure that all the bytes arrive in full, so i need to implement a crc check, i took a look at your code and is very easy to follow, my question now is, when i receive the data on my phone with the crc, how do i interpret the data, how can i extract the relevant data or how do i check that the data is not corrupted, hope i make sense, because i'm a little confused myself, maybe you or Erel can shed some light on my question.
thanks again, and great work.
Walter