Class: Rho::NFCTagTechnology_NfcB
- Inherits:
-
NFCTagTechnology
- Object
- NFCTagTechnology
- Rho::NFCTagTechnology_NfcB
- 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
-
#get_application_data ⇒ Object
return byte[].
-
#get_protocol_info ⇒ Object
return byte[].
-
#initialize ⇒ NFCTagTechnology_NfcB
constructor
A new instance of NFCTagTechnology_NfcB.
-
#transceive(data) ⇒ Object
data - byte[] return byte[].
Methods inherited from NFCTagTechnology
#close, #connect, #get_name, #is_connected
Constructor Details
#initialize ⇒ NFCTagTechnology_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_data ⇒ Object
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_info ⇒ Object
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 |