mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
device: Handle full device storage including garbage collection
The new libfprint version has support for devices that store data on the sensor. In that case, the on-sensor storage might fill up when the user tries to enroll a new print. The strategy introduced here to handle this is to try and delete prints from the device that we do not know about (assuming, it is e.g. from an old installation and unusable). It can also happen that we are not able to garbage collect old prints. If that happens, a new error code "enroll-data-full" will be returned signalling the situation to the enrolling application.
This commit is contained in:
@ -245,6 +245,16 @@
|
||||
The user should remove their finger from the reader and retry scanning their finger, the enrollment is still ongoing.
|
||||
</doc:definition>
|
||||
</doc:item>
|
||||
<doc:item>
|
||||
<doc:term>enroll-data-full</doc:term>
|
||||
<doc:definition>
|
||||
No further prints can be enrolled on this device, <doc:ref type="method" to="Device.EnrollStop">Device.EnrollStop</doc:ref> should now be called.
|
||||
|
||||
<doc:ref type="method" to="DeleteEnrolledFingers">Delete other prints</doc:ref> from the device first to continue
|
||||
(e.g. from other users). Note that old prints or prints from other operating systems may be deleted automatically
|
||||
to resolve this error without any notification.
|
||||
</doc:definition>
|
||||
</doc:item>
|
||||
<doc:item>
|
||||
<doc:term>enroll-disconnected</doc:term>
|
||||
<doc:definition>
|
||||
|
||||
Reference in New Issue
Block a user