parthpower / r305library

Generic C library for r305 fingerprint scanner module.
https://parthpower.github.io/r305library
MIT License
4 stars 1 forks source link

Issue with acknowledgment codes when using genImg command #2

Open derlozi opened 4 years ago

derlozi commented 4 years ago

Hi, I tried to make a simple program that would light a LED when the Sensor recognized a finger to test my setup and noticed a problem: The acknowledgment code for the received package was 0x7c, which did not fit to anything in the documentation. I logged the received packages to a terminal with a separate UART Interface, and the packages looked alright. Also, when reading the first byte of the package.data buffer, it contained the correct value. I just wanted to tell you about the issue, thanks for the otherwise great library! Here's the link to my code: https://pastebin.com/KtLjXtvy

parthpower commented 4 years ago

Thanks for raising the issue. Looks like the r305 datasheet says 0x7c is system reserved. (https://www.rhydolabz.com/documents/finger-print-module.pdf Pg. 9)

I don't have an r305 to test this. Can you check if it's the same datasheet as I am mentioning? Maybe create a support ticket to the vendor?