Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
library expansion and compatibility with other ZhianTec fp sensors #11
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: https://circuit-help.com.ph/product/fingerprint-sensor-2/