Class: Rho::NFCTagTechnology_NfcA
- Inherits:
-
NFCTagTechnology
- Object
- NFCTagTechnology
- Rho::NFCTagTechnology_NfcA
- 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_Atqa ⇒ Object
return byte[].
-
#get_Sak ⇒ Object
return int.
-
#initialize ⇒ NFCTagTechnology_NfcA
constructor
A new instance of NFCTagTechnology_NfcA.
-
#transceive(data) ⇒ Object
data - byte[] return byte[].
Methods inherited from NFCTagTechnology
#close, #connect, #get_name, #is_connected
Constructor Details
#initialize ⇒ NFCTagTechnology_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_Atqa ⇒ Object
return byte[]
269 270 271 |
# File 'lib/extensions/nfc/nfc.rb', line 269 def get_Atqa return Nfc.tech_NfcA_get_Atqa end |
#get_Sak ⇒ Object
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 |