Class: Rho::NFCTagTechnology_NfcF

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_NfcF

Returns a new instance of NFCTagTechnology_NfcF.



554
555
556
# File 'lib/extensions/nfc/nfc.rb', line 554

def initialize
    super(NFCTagTechnology::NFCF)
end

Instance Method Details

#get_manufacturerObject

return byte[]



559
560
561
# File 'lib/extensions/nfc/nfc.rb', line 559

def get_manufacturer
    return Nfc.tech_NfcF_get_manufacturer
end

#get_system_codeObject

return byte[]



564
565
566
# File 'lib/extensions/nfc/nfc.rb', line 564

def get_system_code
    return Nfc.tech_NfcF_get_system_code
end

#transceive(data) ⇒ Object

data - byte[] return byte[]



571
572
573
# File 'lib/extensions/nfc/nfc.rb', line 571

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