GobySoft / dccl

Dynamic Compact Control Language
Other
17 stars 13 forks source link

DCCL tool improvements #126

Closed tsaubergine closed 10 months ago

tsaubergine commented 10 months ago

Add hash computation to DCCL codecs based on the parts of the Protobuf descriptor that actually affect DCCL encoding. Added unit test and new codec "dccl.hash" that will send an arbitrary sized (in whole bits) portion of the std::size_t hash and check it upon receipt. This allows the user to check whether the DCCL definitions have changed between the sender and receiver (at the cost of some bits). Fixes #125

Also Fixes #124