Interface IUniversalNfcTag
public interface IUniversalNfcTag
Interface to create universal NFC tag and tranceive commands to core
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connect()
Method to connect to a chipint
Response timeoutbyte[]
sendApduCommand
(byte[] apduCommand) Method receives command that need to be send to a chipvoid
setTransceiveTimeout
(int timeout) Method set up tranceive timeout
-
Method Details
-
sendApduCommand
byte[] sendApduCommand(byte[] apduCommand) Method receives command that need to be send to a chip- Parameters:
apduCommand
- apdu command to a chip- Returns:
- Response from chip
-
getTransceiveTimeout
int getTransceiveTimeout()Response timeout- Returns:
- return timeout
-
setTransceiveTimeout
void setTransceiveTimeout(int timeout) Method set up tranceive timeout- Parameters:
timeout
- time in miliseconds
-
connect
void connect()Method to connect to a chip
-