CRC Verification on Incoming Packets #1634
charlie-norgaard
started this conversation in
General
Replies: 1 comment 1 reply
-
Yep, that's exactly how it works. If you need different offsets or sizes for the CRCs you can specify the protocol twice, once for the read settings and once for the write settings. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How does COSMOS check CRCs on incoming packets? We are trying to figure out how to implement CRCs in telemetry packets coming from our target software and are unsure how COSMOS will know where to find the CRCs.
Looking at the documentation for the CRC protocol, I'd assume we just specify were the CRC is in the packet using the bit-offset parameter. So, if we were to specify a bit offset of -16 for a 16 bit CRC, would that mean that COSMOS will look at the last 16 bits of an incoming packet to find and verify the CRC? I assume for outgoing packets, the CRC would also be the last 16 bits of the command packet, right?
Beta Was this translation helpful? Give feedback.
All reactions