Get transaction count command (flash reader only) – MagTek MagneSafe V5 User Manual
Page 79

Section 2. Communications
71
Get Transaction Count Command (Flash Reader Only)
Command number:
0x16
Description:
This command is used to get the count of stored transactions (card swipes)
currently stored in the reader. It will return one byte giving the count of
stored transactions.
Data structure:
Request Data: None
Response Data:
Offset
Field Name
Description
0
Transaction Count
Gives the count of stored transactions
Result codes:
0x00 (Success)
Example Request Get Transaction Count (Hex):
Cmd Num
Data Len
Data
16
00
Example Response Get Transaction Count (9 transactions stored) (Hex):
Result Code Data Len
Data
00
01
09
Read Oldest Transaction Command (Flash Reader Only)
Command number:
0x17
Description:
This command is used to stimulate the reader to send the oldest transaction
(card swipe) stored in the reader. It has no request and no response data.
The response indicates whether or not a transaction will be sent. If the
Result Code indicates success, a transaction will be sent as a HID report
momentarily.
Data structure:
Request Data: None
Response Data: None
Result codes:
0x00 (Success, a transaction will be sent)
0x01 (Failure, no transactions to send)
0x07 (Sequence error, current Security Level requires a correctly
executed Authentication Sequence)
Example Request Read Oldest Transaction (Hex):
Cmd Num
Data Len
Data
17
00