Create a checksum for serial communication

I want to transmit a frame containing 10 floats and 2 doubles to a target processor. The serialSend block seems to be the one to use. How do i create a checksum for the data ?

1 commentaire

One byte checksum or two byte? Are you looking for CRC-16 ?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by