Commit graph

462 commits

Author SHA1 Message Date
Daniel Drake
50e2de0730 Enrollment tweaks
upekts will need to know when the first enrollment stage is attempted for
the first time, so add an __enroll_stage counter which actually indicates
the next stage to enroll. -1 is a special value and it means 0 is next *and*
it is the initial attemt.

Added more debug output to the enroll handler.
Added new fp_enroll_status codes for too short or uncentered scans.

Changed the print_data allocator to consider the device rather than the
driver, this feels more natural. Added missing return value.

Make fp_enroll_status codes start at 1. 0 can now be used as a
special/temporary value by the drivers. Also check that we aren't exceeding
the number of enroll stages.

Also add a missing exit() call to the verify example and update for the
above.
2007-10-13 15:51:33 +01:00
Daniel Drake
e6624fe508 Add 16 bit endianness functions 2007-10-12 15:28:46 +01:00
Daniel Drake
ec91736ac4 Add logging infrastructure
Also added some debug/error messages to existing code. For now debugging is
always on, this will be made optional later.
2007-10-12 15:14:29 +01:00
Daniel Drake
016ff33533 Enrolment infrastructure 2007-10-08 19:53:50 +01:00
Daniel Drake
b071f3cdb9 Initial fingerprint data representation ideas 2007-10-08 18:24:29 +01:00
Daniel Drake
59b73af909 Documentation update 2007-10-08 17:37:58 +01:00
Daniel Drake
f81aa47a19 Add 'verify' example skeleton
This will become an example program to enroll a fingerprint and then
verify a finger against it.
2007-10-08 17:37:33 +01:00
Daniel Drake
2c06a4ebfa Expose driver info to library users 2007-10-08 17:18:29 +01:00
Daniel Drake
711bb1151b open/close device functions 2007-10-08 17:16:56 +01:00
Daniel Drake
7d31cb4d45 Basic device discovery infrastructure 2007-10-08 17:16:54 +01:00
Daniel Drake
046bdc0bda Initial driver registration mechanism
Also added the basis of the upekts driver, which is the first I'll
implement.
2007-10-08 17:16:51 +01:00
Daniel Drake
7d3612d9f6 Create repo structure 2007-10-08 17:16:13 +01:00