Carddatamasked method, Cardencodetype method, Closeport method – MagTek BLUETOOTH SWIPE READER User Manual
Page 10: Carddatamasked, Method, Cardencodetype, Closeport
Bluetooth Java Applet Reference Manual
4
CARDDATAMASKED METHOD
Returns a string value indicating the masked card data.
Syntax
String CardDataMasked()
CARDENCODETYPE METHOD
Returns a string value indicating the card encode type from the reader.
Syntax
String CardEncodeType()
Remarks
Always returning an empty string at this time. (RFU)
CLOSEPORT METHOD
Returns an integer value indicating the status of the ClosePort method.
Syntax
int ClosePort(String port)
Remarks
Returns zero (0) if the closes successfully, otherwise a non-zero for error.
The ClosePort method syntax has this part:
Example
int stat = ClosePort(“COM7”);
This returns a zero (0) if the port can be close.
Part
Data Type
Description
port
String
The port name is a combination of the word “COM” and the port
number, e.g. The Bluetooth has port 7, therefore, the portName is
COM7.
If port name is not provided, the ClosePort() function will close
the port that the applet has previously opened.