Home  Contents

Introduction

Finger Core4 Lua Event System

OVERVIEW

The finger module provides support for the Suprema SFM3500 fingerprint scanner. The module is provides an implementation of the serial transport protocol used by the scanner.

Allocate a new instance with spfinger.new().

The functions spfinger:send(), spfinger:sendTo() and spfinger:sendRaw() support sending a message to the scanner.

Responses from the scanner are provided via the callbacks spfinger.headerReceived(), spfinger.headerReceivedFrom(), spfinger.responseReceived(), spfinger.responseReceivedFrom(), spfinger.dataReceived() and spfinger.error().

A scanned fingerprint image can be received into a pixmap by using the callbacks spfinger.imageStart(), spfinger.imageEnd() and spfinger.imageError(). Minimal image manipulation is available with spfinger:setCrop() and spfinger:setShrink().

NOTES

The scanner configuration field "ASCII Packet" must be set to 0x30 "Hexademical Packet" (SIC!).

The command 0x85 (ID: Get Module ID) is not supported.

The commands EIX, ETX, VIX and IIX are not supported. Please use the variants without 'X'.