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

Removed user_id from config #69

Merged
merged 2 commits into from
Oct 30, 2023
Merged

Removed user_id from config #69

merged 2 commits into from
Oct 30, 2023

Conversation

kaml123
Copy link

@kaml123 kaml123 commented Oct 30, 2023

There is no need to store user_id in the configuration file because we can read from controller and modify only one byte. Storing in a configuration file may also cause some issues when someone incorrectly set the byte responsible for the ability to move the desk.
I also noticed that BASE_HEIGHT offset is different for my desk so I added a read from the controller to be fully synchronized.

There is no need to store user_id in the configuration file because we
can read from controller and modify only one byte. Storing
in a configuration file may also cause some issues when someone
incorrectly set the byte responsible for the ability to
move the desk.
I also noticed that BASE_HEIGHT offset is different for my desk so
I added a read from the controller to be fully synchronized.
@kaml123 kaml123 mentioned this pull request Oct 30, 2023
@rhyst
Copy link
Owner

rhyst commented Oct 30, 2023

Thank you!

How do you know that the first byte of the user id must be 1. On my Idasen the user ID was all zeros and it still worked. Is it specific to DPG1C?

@kaml123
Copy link
Author

kaml123 commented Oct 30, 2023

I tested this on my DPG1C and setting this byte to 1 solve the issue. I can write any values to the rest of bytes but first byte must be 1 to be able to move desk.

@rhyst rhyst merged commit f53e398 into rhyst:master Oct 30, 2023
@kaml123 kaml123 deleted the dpg1c_support branch October 31, 2023 07:45
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.

2 participants