Access Restricted

This page contains internal documentation that is not publicly available.


Project / LegicVcp / Status Value

This value indicates the status of the VCP file transfer. It contains one entry for every VCP file in VcpData that is intended for the assembled LEGIC reader chip, in the order of the VCP files. VCP files of other LEGIC series are ignored and have no entry. At most 32 entries are written.

If VcpData is invalid (e.g. it does not start with a header value or contains values of unknown type), no VCP file is loaded. In this case the value contains only the entry FileIndex = 0xFF, Context = General, StatusCode = GeneralError.

The value is replaced whenever VCP data is processed at startup. It is deleted if VcpData only contains VCP files of other LEGIC series. If there is no VCP data, the value remains unchanged.

Properties

  • Value ID: 0x0845/0x00

Format

Name Type/Size Description
Entries Array (until end of frame) -
FileIndex Integer (8 bits) Index of the VCP file within VcpData (0 = first VCP file, VCP files of all series are counted). 0xFF indicates invalid VcpData.
Context Enumeration (8 bits)
Values (4):
  • General (0x00)
    No specific context
  • LoadParse (0x01)
    Error loading or parsing the VCP file
  • GetTag (0x02)
    Error retrieving VCP tag-specific information
  • AcceptTag (0x03)
    Error accepting a VCP tag
StatusCode Enumeration (8 bits)
Values (5):
  • Ok (0x00)
  • GeneralError (0x01)
  • WrongParameter (0x03)
  • InvalidMac (0x13)
  • WrongTag (0x14)