To detect invalid packages and alteration of bits during transmission some protocols apply a checksum to packages, e.g. sum all bytes mod 255 or xor all bytes.
The BDS should support a limited number of such checksum-functions to have a more useful codec.