thijse / Arduino-CmdMessenger

CmdMessenger Communication library for Arduino & .NET
Other
208 stars 87 forks source link

[Feature Request] Checksum for wireless connection #20

Closed MCPC10 closed 7 years ago

MCPC10 commented 7 years ago

I am controlling an rc vehicle with your lib, but I have the problem that I need a crc (8 or 16) to check the data (connection over Xbee). But I have no idea how I can make that.

Sorry for my english :)

thijse commented 7 years ago

Hi, it is very high on the todo list, but I will take it up in the refactoring of the binary protocol that I plan to do, but it will take a while. Alternatively, you can add an additional variable yourself, using e.g. https://github.com/FrankBoesing/FastCRC for Arduino and https://www.codeproject.com/Articles/35134/How-to-calculate-a-CRC-in-Csharp for C#

ElectroLund commented 1 year ago

the above recommended C# article from Codeproject was deleted. There are many more though: https://www.codeproject.com/search.aspx?q=checksum&x=0&y=0&sbo=kw