Manual
Table Of Contents
- SECTION 1. FEATURES AND SPECIFICATIONS
- SECTION 2. METHODS
- AUTOCONNECT METHOD
- CARDDATA METHOD
- CARDDATAMASKED METHOD
- CARDENCODETYPE METHOD
- CLOSEPORT METHOD
- DEVICEPORT METHOD
- DEVICESERIALNUMBER METHOD
- DEVICESETTINGS METHOD
- DUKPTKSN METHOD
- FINDELEMENT METHOD
- FINDELEMENTMASKED METHOD
- GETCURRENTPORTNAME METHOD
- GETEXPIRATIONMONTH METHOD
- GETEXPIRATIONYEAR METHOD
- GETLASTERRMESSAGE METHOD
- GETFNAME METHOD
- GETFNAMEMASKED METHOD
- GETLNAME METHOD
- GETLNAMEMASKED METHOD
- GETTRACK METHOD
- GETTRACKMASKED METHOD
- GETPAN METHOD
- GETPORTNAMES METHOD
- GETPORTNAMESSTRING METHOD
- GETPORTOPENSTATUS METHOD
- GETREADERTYPE METHOD
- GETUPDATESPDRIVERSTATUS METHOD
- MAGNEPRINTDATAHEX METHOD
- MPRINTDATA METHOD
- MPRINTLEN METHOD
- MPRINTSTATUS METHOD
- OPENPORT METHOD
- OPENPORT METHOD 2
- PORTOPEN METHOD
- READERID METHOD
- SENDDATA METHOD
- SENDDATAWLEN METHOD
- SENDDATASYNC METHOD
- SENDDATASYNCWLEN METHOD
- SEQUENCENUMBER METHOD
- SESSIONID METHOD
- SESSIONIDHEXSTRING METHOD
- SETREADERTYPE METHOD
- SWIPECOMMANDOUTPUT METHOD
- TRACK1LENGTH METHOD
- TRACK2LENGTH MEDTHOD
- TRACK3LENGTH MEDTHOD
- TRACK1LENGTHMASKED MEDTHOD
- TRACK2LENGTHMASKED MEDTHOD
- TRACK3LENGTHMASKED MEDTHOD
- SECTION 3. EVENTS

Methods
15
Syntax
int SendDataSyncWlen(String sRequest, byte[] response)
Remarks
Send specific command to the Bluetooth reader. The result is sent through the response
parameter and the result can also be retrieved with SwipeCommandOutput() method. If
SendDataSyncWlen returns a zero (0) the command executes successfully, otherwise a non-zero
for error.
The SendDataSyncWlen method has these parts:
Example
byte [] response;
int stat = SendDataSyncWlen(“000110”, response);
This returns a zero (0) if the command executes successfully. To retrieve the output, use
SwipeCommandOutput() method. The response will be the data part of the returning hex string
from the reader.
SEQUENCENUMBER METHOD
Returns an integer value indicating the sequence number from the reader. Currently returns 0
only. (RFU)
Syntax
int SequenceNumber()
SESSIONID METHOD
Returns a bye-array indicating the session ID from the reader.
Syntax
byte[] SessionID()
SESSIONIDHEXSTRING METHOD
Returns the MagnePrint data if supported by the reader in 2 Byte Hex format.
Syntax
String SessionIDHexString()
Part
Data Type
Description
sRequest
String
Command
response
Byte[]
Response by reference