Legic command group

This command group provides access to the LEGIC card system. LEGIC cards can be distinguished into two generations: the state-of-the-art LEGIC advant technology, which is based on ISO 14443 and ISO 15693 standards, and the still widely-used predecessor LEGIC prime technology. Both are supported.

WARNING: This command set is not available in all Baltech reader firmware variants.

Status codes

BRP status BRP Library Error Code Mnemonic Description
0x01 0x1E01 (7681) Legic.ErrCommunication

Communication error.

Command could not be executed successfully due to a error in the communication of the reader controller with the LEGIC chip (e.g. checksum error, internal timeout error). It is recommended to repeat the command.

0x02 0x1E02 (7682) Legic.ErrNotInitialized

LEGIC support is not initialized yet.

After powering up, the LEGIC chip normally needs several 100 milliseconds until it is ready to execute commands. As long as the reader returns this status code the command needs to be repeated.

If the LEGIC chip is still not available 3.5 seconds after the reader has powered up, usually due to a hardware defect, the Rf13MHzLegic boot status of the Baltech reader will be set (The Baltech reader boot status can be read using the Sys.GetBootStatus command).

0x03 0x1E03 (7683) Legic.ErrNotAssembled

No appropriate LEGIC reader chip is assembled on this hardware.

This reader device doesn't support LEGIC or doesn't contain the required LEGIC reader chip to execute the called command. Please check the model number.