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

FACTORY_SETUP mode doesn't work if serial number is 9 characters #6

Open
niagFT opened this issue Jun 23, 2022 · 0 comments
Open

FACTORY_SETUP mode doesn't work if serial number is 9 characters #6

niagFT opened this issue Jun 23, 2022 · 0 comments

Comments

@niagFT
Copy link

niagFT commented Jun 23, 2022

If the serial number sent to the device is 9 characters, which is the standard size for serial numbers, then the starting code and secret key numbers are not received correctly. The reason is that the ";" symbol between the serial number and the starting code is not discarded, but kept as part of the starting code.

There is an easy fix, slightly modifying the getSerialNumber() function.

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

No branches or pull requests

1 participant