Adafruit-Fingerprint-Sensor-Library icon indicating copy to clipboard operation
Adafruit-Fingerprint-Sensor-Library copied to clipboard

option to delete any templates, not just the hardcoded one, but leavi…

Open bhollosi opened this issue 7 years ago • 3 comments

Enhancement to delete not just one template because the fingerprint reader can delete custom number of templates from the specified address. This fix compatible with the delete.ino example with the default length value.

From the translated documentation:

Function: delete module fingerprint library for a specified period (N fingerprint template) specify the ID number starting template. Input parameters: PageID the (fingerprint Library template number) + N delete template number

...

The instruction packet format: 2 bytes 4 bytes 1 byte 2 bytes 1 byte 2 bytes 2 bytes 2 bytes Baotou Module addresPsacket identifPicaactkioent lengthInstruction codPeage numbDerelete the numCbherecksum 0xef01 XXXX 0x01 0x0007 0x0c PageID N Sum

bhollosi avatar Nov 25 '17 18:11 bhollosi

fix: example show_fingerprint_templates.ino. template size is 512 bytes, and packets from fingerprint reader is not just the raw template content (docs ref. pag 16. 9) Upload image UpImage)

bhollosi avatar Nov 26 '17 14:11 bhollosi

hiya, i think id like to keep delete to just one at a time if thats ok. we also have delete all example?

ladyada avatar Nov 26 '17 17:11 ladyada

okay, as you wish. just keep the useful part! so, are you going to rewrite/refactor the other examples as well? let me know if I can help.

bhollosi avatar Nov 26 '17 18:11 bhollosi