Class: Rho::NFCTagTechnology_NfcA

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_NfcA

Returns a new instance of NFCTagTechnology_NfcA.



264
265
266
# File 'lib/extensions/nfc/nfc.rb', line 264

def initialize
    super(NFCTagTechnology::NFCA)
end

Instance Method Details

#get_AtqaObject

return byte[]



269
270
271
# File 'lib/extensions/nfc/nfc.rb', line 269

def get_Atqa
    return Nfc.tech_NfcA_get_Atqa
end

#get_SakObject

return int



274
275
276
# File 'lib/extensions/nfc/nfc.rb', line 274

def get_Sak
    return Nfc.tech_NfcA_get_Sak
end

#transceive(data) ⇒ Object

data - byte[] return byte[]



280
281
282
# File 'lib/extensions/nfc/nfc.rb', line 280

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