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

Fast Search? #23

Closed
nicoruy opened this issue Aug 13, 2019 · 4 comments
Closed

Fast Search? #23

nicoruy opened this issue Aug 13, 2019 · 4 comments

Comments

@nicoruy
Copy link

nicoruy commented Aug 13, 2019

Hi,
I'm trying to use your fork of the adafruit library, migrating from the original one.
My goal is to download and upload a set of fingerprints based on a menu selection. I´m just starting with tthat I´m not sure if it´s even possible.

During my migration I noticed that most of the functionality is the same or extended (which is great!) but I found that FastSearch is not available.
The packet id FPM_HISPEEDSEARCH is there but never used.
Is there any particular reason why this is not available on the fork?
Which is the intended method to check if a fingerprint matches?

Thanks !

@brianrho
Copy link
Owner

I replaced HISPEEDSEARCH (0x1B) with SEARCH (0x04) because it seems some devices (like the R551) don't support the former, or time out when they receive it. I would also say I've found no measurable difference in speed between the two commands, but then I've not tried them with hundreds of prints. If you have enough (unique) prints, you could test both (just replace the hex number in the header) and let me know how they perform.

@brianrho
Copy link
Owner

If you've no other questions, I'll be closing this.

@nicoruy
Copy link
Author

nicoruy commented Aug 22, 2019

My sensor has 143 registered fingerprints (and a limit of 150).
I used your suggestion and tried both SEARCH and HISPEEDSEARCH with fingerprints registered on the firsts positions and last positions of the sensor.
Didn´t find any noticeable difference between both methods, so I think it´s ok to use SEARCH

Thanks

@brianrho
Copy link
Owner

Good to know, thanks!

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

2 participants