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

library expansion and compatibility with other ZhianTec fp sensors #11

wants to merge 18 commits into
base: master


Copy link

stitchesnburns commented Feb 12, 2019

this should address compatibility for other models of the same brand (ZhianTec) of fingerprint sensors, particularly models with higher memory capacity. tested on a same-brand fingerprint sensor with 1000 template memory.

also, expanded the library by implementing methods such as read_sysparam(), get_fpdata(), send_fpdata(), empty_library(), as well as sending and receiving data payload. fingerprint templates and images may now be downloaded/uploaded. special note on the uploading/downloading of fingerprint images, data stream should not be taken as is and must be manipulated as stated in the manual (4.2.1).

dirty hack for compatible fingerprint sensors with capacity greater than the default, since the function limits reading the templates to 162(?).  an observation: each pass reads 256 templates (0-255) so for sensors with 1000 templates, 4 passes are required.  but there must be a better way to do this.  tested on this hardware:
added additional functionalities
fixed read_templates() rounding up
@stitchesnburns stitchesnburns changed the title hack for compatible fp sensors library expansion and compatibility with other ZhianTec fp sensors Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.