Project / VhlSettings125Khz / ObidCardIdFormat Value

This value specifies the format to use when the programmed card number (PCN) of Hitag 1 cards with OBID encoding is retrieved via VHL.Read .

Properties

Format

Name Type/Size Description
- Enumeration (8 bits)

OBID format

Examples below refer to the following ID data:

0x01 0x23 0x45 0x67 0x89 0xAB 0xCD 0xEF 0x00 0x00 0x00 0x00
Values:
  • Legacy (0x00)

    Returns the PCN according to decoded length information (in bits), rounded up to the next byte.

    48 bit: 0x01 0x23 0x45 0x67 0x89 0xAB
    19 bit: 0x01 0x23 0x45
  • Raw (0x01)

    Returns the first 13 bytes of decoded data, consisting of 1 byte of length information (in bits) and 12 bytes of PCN.

    48 bit: 0x30 0x01 0x23 0x45 0x67 0x89 0xAB 0xCD 0xEF 0x00 0x00 0x00 0x00
    19 bit: 0x13 0x01 0x23 0x45 0x67 0x89 0xAB 0xCD 0xEF 0x00 0x00 0x00 0x00
  • UnpackedVarLen (0x02)

    Returns the PCN according to decoded length information (in bits), rounded down to the next nibble and each nibble unpacked to a byte.

    48 bit: 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B
    19 bit: 0x00 0x01 0x02 0x03
    23 bit: 0x00 0x01 0x02 0x03 0x04