Lg.GenSetRead

This command is deprecated. Do not use it in new code as we may remove it in the future!

Read stamp data with ID specified in the GenSetNum parameter from the reader's EEPROM.

Responses after StampLen are only transmitted when StatusCode is OK and the response length is >9!

Properties

Parameters (request frame)

Name Type/Size Description
DesiredGenSetNum Integer (8 bits) ID number of desired stamp entry (0x01 - 0x10).

Returned values (response frame)

Name Type/Size Description
GenSetNum Integer (8 bits) ID number of read stamp entry (0x01 - 0x10).
Stamp Raw data (length 7 Bytes) Stamp data.
StampLen Integer (8 bits)

Status of read stamp entry. Possible values:

  • 0x00: Stamp with ID specified by GenSetNum has been deleted.
  • 0x01 - 0x07: Length of valid stamp Bytes in stamp.
  • 0x08 - 0xFF: Stamp with ID specified by GenSetNum not present.
- Bit mask (24 bits) Extended stamp data.
WriteExLen Integer (bit mask area 0xFF0000) Length of data for which these extended write conditions are applicable (0x01 - 0xFF).
WriteExShad Boolean (bit 0x008000) Indicated whether or not shadow-memory management features are activated.
WriteExMode Enumeration (bit mask area 0x006000) Determines extended write conditions.
Values:
  • ArbitraryWriting (0x0)
  • DecrementOnly (0x1)
  • IncrementOnly (0x2)
  • InvalidMode (0x3)
RFU Integer (bit 0x001000) Zero padding
WriteExStart Integer (bit mask area 0x000FFF)

Offset added to the start address of the stamp in the selected segment, indicating the address of the data in this segment for which the extended write access conditions apply.

This value is always >= 13 since extended write access conditions may not be set for the stamp data itself.