3 –MTSCRA Class Methods
aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT| Secure Card Reader Authenticator | Programmer’s Reference (Android)
Page 16 of 42 (
D99875728-31
)
L = Too Slow
M = MagnePrint capable
N = Too Noisy
R =Revision
This four-byte field contains the MagnePrint status. The MagnePrint status is in little endian byte order.
Byte 1 is the least significant byte. Byte 1 LSB is status bit 0. Byte 4 MSB is status bit 31. MagnePrint
status is defined as follows:
Bit 0 = MagnePrint-capable product (usage M)
Bits 1-15 = Product revision & mode (usage R)
Bit 16 = STATUS-only state (usage S)
Bit 17 = Noise too high or “move me” away from the noise source (used only in STATUS) (usage N)
Bit 18 = Swipe too slow (usage L)
Bit 19 = Swipe too fast (usage F)
Bit 20 = Unassigned (always set to Zero)
Bit 21 = Actual Card Swipe Direction (0 = Forward, 1 = Reverse) (usage D)
Bits 22-31 = Unassigned (always set to Zero)
If the Enable/Disable MagnePrint property is set to disable MagnePrint, this field will not be sent.
3.18
getDeviceSerial
Get stored device serial number. This 16-byte ASCII field contains the device serial number. The device
serial number is a NUL (zero) terminated string. So the maximum length of the device serial number, not
including the null terminator, is 15 bytes. This device serial number can also be retrieved and set with the
device serial number property explained in the property section of this document. This field is stored in
non-volatile memory, so it will persist when the unit is power cycled.
public string getDeviceSerial()
Parameters: None
Return Value:
Return stored device serial number.
3.19
getSessionID
Not suported on aDynamo. This 8-byte Binary field contains the encrypted version of the current Session
ID. Its primary purpose is to prevent replays. After a card is read, this property will be encrypted, along
with the card data, and supplied as part of the transaction message. The clear text version of this will
never be transmitted. To avoid replay, the application sets the Session ID property before a transaction
and verifies that the Encrypted Session ID returned with card data decrypts to the value set.
public string getSessionID()
Parameters: None
Return Value:
Returns a string containing the session id.