Class: Rho::NFCTagTechnology_NfcB

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_NfcB

Returns a new instance of NFCTagTechnology_NfcB.



528
529
530
# File 'lib/extensions/nfc/nfc.rb', line 528

def initialize
    super(NFCTagTechnology::NFCB)
end

Instance Method Details

#get_application_dataObject

return byte[]



533
534
535
# File 'lib/extensions/nfc/nfc.rb', line 533

def get_application_data
    return Nfc.tech_NfcB_get_application_data
end

#get_protocol_infoObject

return byte[]



538
539
540
# File 'lib/extensions/nfc/nfc.rb', line 538

def get_protocol_info
    return Nfc.tech_NfcB_get_protocol_info
end

#transceive(data) ⇒ Object

data - byte[] return byte[]



545
546
547
# File 'lib/extensions/nfc/nfc.rb', line 545

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