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 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.

## SEE ALSO

v4kf:state, v4kf:readerType