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 Sync, Start, and End classes for protocol 7 #149

Merged
merged 5 commits into from
Nov 25, 2022

Conversation

synthead
Copy link
Owner

Closes #148!

This PR adds Sync, Start, and End classes for protocol 7!

This one is pretty clunky: it seems as if the DSI e-BRAIN (the device that uses protocol 7) has a bunch of required setup packets for both starting and ending the data transfer. These appear to be constant, so I have added them as hard-coded packets.

I also noticed that there are only 5 "sync 2" packets from the original software during the sync, so I opted to copy the data from the software and use 5 here, too. In testing, the 40 packets that are used in the other protocols do work, but I felt that it would be best to mimic the data verbatim.

Additionally, I also discovered that the packet_sleep value must be 0 for data transfer to work. This will be a part of the documentation when it is added later.

@synthead synthead self-assigned this Nov 25, 2022
@synthead synthead added enhancement New feature or request protocol 7 Specific to protocol 7 labels Nov 25, 2022
@synthead synthead changed the title Add sync start end classes for protocol 7 Add Sync, Start, and End classes for protocol 7 Nov 25, 2022
@synthead synthead merged commit 67b7f04 into main Nov 25, 2022
@synthead synthead deleted the add-sync-start-end-classes-for-protocol-7 branch November 25, 2022 08:35
@synthead
Copy link
Owner Author

Added a bullet point to document 0s packet sleep requirement in #151.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request protocol 7 Specific to protocol 7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Sync, Start, and End classes for protocol 7
1 participant