5.3.4.6 GenDig - Key Config

In the Key Config mode of the GenDig command, the slot configuration and key configuration of the key specified by KeyID are included in the GenDig TempKey calculation. The Nonce command must be run prior to the first GenDig command to load a value into TempKey. Subsequent GenDig commands will use the value from the previous GenDig operation.

Table 5-82. Input Parameters - GenDig Key Config

Opcode
(1 Byte)

Mode
(1 Byte)

KeyID(1)
(2 Bytes)

Data
(0 or 4 Bytes)

Description
0x150x050x00 0[Slot]Includes slot configuration information
Note:
  1. KeyId specifies the slot # that will have its configuration information included in the TempKey calculation. The actual slot value is not included.
Table 5-83. Output Response - GenDig Key Config
NameSizeDescription
Response1 byte

0x00 - If successful.

Error code - If the command fails.

Note: Flag Bits
  1. TempKey.Valid flag will be set to 1 if successful, otherwise it is 0.
  2. TempKey.GenDigData will be set to 0.
Table 5-84. TempKey Calculation - GenDig Key Config

32 bytes
1 byte
1 byte
2 bytes
1 byte
2 bytes
1 byte
2 bytes
2 bytes
1 byte
20 bytes

TempKey.value
Opcode = 0x15
Mode = 0x05
KeyID[0:1] = 0x0[Slot] 0x00
SN[8] = Varies by vendor
SN[0:1] = 0x01 0x23
0x00
SlotConfig[KeyID]
KeyConfig[KeyID]
SlotLocked[KeyID]
All Zeros