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

Drop frame channelID field in favor of CRC with salt #50

Closed
DzikuVx opened this issue Apr 21, 2018 · 0 comments
Closed

Drop frame channelID field in favor of CRC with salt #50

DzikuVx opened this issue Apr 21, 2018 · 0 comments

Comments

@DzikuVx
Copy link
Owner

DzikuVx commented Apr 21, 2018

ChannelID (1st byte) of QSP packet is not needed. Drop it and instead use 32bit salt key for authorization:

Instead of initializing CRC with 0 at the beginning of frame encoding and decoding, initialize it with 32 bit secret key used to bind both TX and RX. This way, 1 byte will be saved and packets will be protected by crc only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant