Home  Contents

v4kf:version

V4kf Core4 Lua Event System

SYNOPSIS

ver = rdrhandle:version()

DESCRIPTION

Returns the firmware version string of the reader. The reader must be initialized before the version can be retrieved.

RETURN VALUE

Returns a string if version information is available, or nil if not.

EXAMPLE

An example version string for Leadus readers is:

CPU:"HBU-NA145","C",0x0083487B;ICC:"HBU-NA147","C",0x00273A39;SAM:"HBU-NA150","E",0x002EE8EE;TOTAL:"HBU-NA164","D",0x00E3B84B;

Broken down into a more readable form:

CPU:"HBU-NA145","C",0x0083487B; ICC:"HBU-NA147","C",0x00273A39; SAM:"HBU-NA150","E",0x002EE8EE; TOTAL:"HBU-NA164","D",0x00E3B84B;

These are the version strings for the reader firmware components CPU, ICC, SAM and TOTAL. Each component has three version information fields: firmware type, firmware version and checksum.

Note that the V2BF does not have a SAM version. Additionally, it reports a MEM version.

For more information, see data sheet of card reader.

This is another example version string for Sankyo readers:

UserCode:"3432-02G";Emv2000Code:"2491-03A";EmvApproval:"12445 0910 400 21 BCT";IfmNumber:"IFM0K0-0500";Reserve6:"3432-02G";Reserve7:"ICT3K7-3R6940 312272";Reserve8:"3432-02G-040";

Broken down into a more readable form:

UserCode:"3432-02G"; Emv2000Code:"2491-03A"; EmvApproval:"12445 0910 400 21 BCT"; IfmNumber:"IFM0K0-0500"; Reserve6:"3432-02G"; Reserve7:"ICT3K7-3R6940 312272"; Reserve8:"3432-02G-040";

Fields Reserve6, Reserve7 and Reserve8 are results reported by the reader when asked with the undocumented version requests CA6, CA7 and CA8. These values are undocumented by Sankyo and should not be relied upon.

SEE ALSO