8 - Commands
eDynamo| Secure Card Reader Authenticator | Programmer’s Manual (COMMANDS)
Page 72 of 245 (
D998200115-17
)
8.3.5
Command 0x0A - Set Session ID (MSR Only)
This command is used to set the current Session ID, which the device transmits to the host in the
. The new Session ID stays in effect until one of the following occurs:
The host sends the device another Set Session ID command.
The device is powered off.
The device is put into Suspend mode.
The Session ID is used by the host to uniquely identify the present transaction. Its primary purpose is to
prevent replays. After the device reads a card, it encrypts the Session ID along with the card data, and
supplies it as part of the
Magnetic Stripe Card Data Sent from Device to Host
. The device never
transmits a clear text version of this data.
Table 8-10 - Request Data for Command 0x0A - Set Session ID (MSR Only)
Offset
Field Name
Description
0
New Session ID
This eight byte value may be any value the host software wishes.
Response Data: None
Result codes:
0x00 = Success
0x02 = Bad Parameter - The Data field in the request is not the correct length. The Session ID is an 8-
byte value, so the Data Length must be 8.
Example Set Session ID Request (Hex)
Cmd Num
Data Len
Data
0A
08
54 45 53 54 54 45 53 54
Example Set Session ID Response (Hex)
Result Code
Data Len
Data
00
00