
3
sendCommand
This function send command to reader.
- public byte[] sendCommand(CharSequence cmd)
Parameters
Cmd
A string command sent to reader. For example, command “0003”
(Where “00” is command number, “03” is property ID) will retrieve
device serial number from reader.
Return Value
A response returned from reader.
For more details on other commands, please refer to COMMANDS section in “MagneSafe
Communication reference manual”.
setCardData:
Set card data that is retrieved from reader through getTracksData method for parsing.
- public void setCardData(string lpCardData)
Parameters
pCardData
A track data string.
Return Value
clearCardData
Clear card data that is set through setCardData method.
- public void clearCardData()
Parameters
Return Value
getCardData
Get existing stored card data.
- public string getCardData()
Parameters
Return Value
Return stored card data string.
Comentarios a estos manuales