Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add corncobs encoding #5

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Add corncobs encoding #5

merged 1 commit into from
Jul 2, 2024

Conversation

sunsided
Copy link
Owner

@sunsided sunsided commented Jul 2, 2024

This adds Consistent Overhead Byte Stuffing (COBS) encoding via corncobs as part of #4. Tandem to sunsided/serial-sensors#3.

This stuffs the payload with an overhead byte 0x03 (0b00000011) and terminates the payload with a 0x00 delimiter:

image

@sunsided sunsided self-assigned this Jul 2, 2024
@sunsided sunsided merged commit fcfc384 into main Jul 2, 2024
@sunsided sunsided deleted the feature/corncobs branch July 2, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant