Arduino Library for Waveshare® UART Fingerprint Reader
deletes all registered fingerprints on the device.
read a new fingerprint and save it to the provided userId. This has to be done three times.
returns the device serialNo. Normaly the device returns serialNo 0.
returns the number of registered fingerprints.
returns the compare level (0-9).
set the compare level (0-9).
get the timeout of the device.
sets the timeout of the device
if there is a finger on the device, read the fingerprint and compare it with the registered fingerprints. returns 0x0 when no finger is detected, 0xFFFF if a unknown finger is detected, or the userId of the detected fingerprint.
get a eigenvalue (=fingerprint) from the specified user and write it to the provided byte array. eigenvalue length is fix 193 bytes.
set a eigenvalue (=fingerprint) for the specified user and read it from the provided byte array. eigenvalue length is fix 193 bytes.
returns the last error code.