Class: Rho::NFCTagTechnology_IsoDep

Inherits:
NFCTagTechnology show all
Defined in:
lib/extensions/nfc/nfc.rb

Constant Summary

Constants inherited from NFCTagTechnology

Rho::NFCTagTechnology::ISODEP, Rho::NFCTagTechnology::MIFARE_CLASSIC, Rho::NFCTagTechnology::MIFARE_ULTRALIGHT, Rho::NFCTagTechnology::NDEF, Rho::NFCTagTechnology::NDEF_FORMATABLE, Rho::NFCTagTechnology::NFCA, Rho::NFCTagTechnology::NFCB, Rho::NFCTagTechnology::NFCF, Rho::NFCTagTechnology::NFCV

Instance Method Summary collapse

Methods inherited from NFCTagTechnology

#close, #connect, #get_name, #is_connected

Constructor Details

#initializeNFCTagTechnology_IsoDep

Returns a new instance of NFCTagTechnology_IsoDep.



477
478
479
# File 'lib/extensions/nfc/nfc.rb', line 477

def initialize
    super(NFCTagTechnology::ISODEP)
end

Instance Method Details

#get_hi_layer_responceObject

return byte[]



482
483
484
# File 'lib/extensions/nfc/nfc.rb', line 482

def get_hi_layer_responce
    return Nfc.tech_IsoDep_get_hi_layer_responce
end

#get_historical_bytesObject

return byte[]



487
488
489
# File 'lib/extensions/nfc/nfc.rb', line 487

def get_historical_bytes
    return Nfc.tech_IsoDep_get_historical_bytes
end

#set_timeout(timeout) ⇒ Object

timeout - int



493
494
495
# File 'lib/extensions/nfc/nfc.rb', line 493

def set_timeout(timeout)
    return Nfc.tech_IsoDep_set_timeout(timeout)
end

#transceive(data) ⇒ Object

data - byte[] return byte[]



499
500
501
# File 'lib/extensions/nfc/nfc.rb', line 499

def transceive(data)
    return Nfc.tech_IsoDep_transceive(data)
end