Getdatafieldcount, Getdeviceconfig – MagTek Audio Reader for Android Devices User Manual
Page 21
15
Card Encode Type
This one-byte value indicates the type of encoding that was found on the card. The
following table defines the possible values.
Value
Encode Type
Description
0
ISO/ABA
ISO/ABA encode format. At least one track in ISO/ABA format, Track 3
not AAMVA format.
1
AAMVA
AAMVA encode Track 3 is AAMVA format, Tracks 1 and 2 are ISO/ABA
if correctly decoded.
2
Reserved
3
Blank
The card is blank. Only occurs if all tracks decode without error and
without data.
4
Other
The card has a non-standard encode format. For example, ISO/ABA
track 1 format on track 2.
5
Undetermined
The card encode type could not be determined because no tracks could
be decoded. (Combination of Error tracks and Blank Tracks, at least one
Error track).
6
None
No decode has occurred. This type occurs if no magnetic stripe data has
been acquired since the data has been cleared or since the reader was
powered on. This reader only sends an Input report when a card has
been swiped so this value will never occur.
getDataFieldCount
Retrieves data field count
-
public int getDataFieldCount()
Parameters
Return Value
Data field count
getDeviceConfig
Retrieves device configuration
-
public String getDeviceConfig(String lpConfigType)
Parameters
lpConfigType
configuration type
8180: Send TLV Version on Power Up
8181: Send Discovery on Power Up
8280: Send Card name
8281: Send Card IIN
8282: Send Card Last 4 Digits of PAN
8283: Send Card Expiration
8284: Send Card Service Code
8285: Send Card PAN Length