Relinquish interface command – MagTek Bluetooth MagneSafe V5 Swipe Reader User Manual
Page 56

Bluetooth MagneSafe V5 Swipe Reader
48
2. Expired – value 0x000000 – This state indicates that all transactions are prohibited
3. Active – value 1 to 1,000,000 (0x000001 to 0x0F4240) – In this state, each
transaction causes the Encryption Counter to be decremented and allows transactions
to be processed. If an Activation Sequence decrements the Encryption Counter to 0, a
last encrypted card swipe will be permitted.
Data structure:
Request Data: None
Response Data:
Offset Field Name
Description
0
Device Serial #
16 bytes, if DSN is shorter than 15 bytes, left justify
and fill with binary zeroes. At least one byte (usually
the last one) must contain binary zero.
16
Actual Encryption
Counter
This three byte field returns the current value of the
Encryption Counter.
Result codes: 0x00 (Success)
0x02 (Invalid length)
Example Get Encryption Counter Request (Hex):
Cmd Num
Data Len
Data
1C
00
Example Get Encryption Counter Response (Hex) - Encryption Counter is 2033:
Result Code Data Len
Data
00
13
54455354205345545550203030303100
0007F1
RELINQUISH INTERFACE COMMAND
Command number:
0x25
Description:
This command is used to relinquish the Active Interface. It causes the
reader to be receptive to commands on both the Bluetooth and USB
interfaces.
Data structure:
Request Data: None
Response Data: None
Result codes:
0x00 (Success)
Example Relinquish Interface Request (Hex):
Cmd Num
Data Len
Data
25
00
Example Relinquish Interface Response (Hex):
Result Code Data Len
Data
00
00