Где я могу найти документацию для использования в android.nfc.tech .NfcA?
Код: Выделить всё
/**
* Provides access to NFC-A (ISO 14443-3A) properties and I/O operations on a {@link Tag}.
*
*
Acquire a {@link NfcA} object using {@link #get}.
* The primary NFC-A I/O operation is {@link #transceive}. Applications must
* implement their own protocol stack on top of {@link #transceive}.
*
* [b]Note:[/b] Methods that perform I/O operations
* require the {@link android.Manifest.permission#NFC} permission.
*/
public byte[] transceive(byte[] data) throws IOException
Карточка, с которой я пытаюсь взаимодействовать:
(Изображение дампа)

(Подробный дамп)
Код: Выделить всё
4.21.171
2017-03-15 20:12:20
NXP Semiconductors NTAG213 tag as Type 2 Tag
04:39:F5:B2:95:3C:81
true
D00000
NXP Semiconductors
NTAG213
Type 2 Tag
NDEF message containing 1 record
Current message size: 3 bytes
Maximum message size: 137 bytes
NFC data set access: Read & Write
Can be made Read-Only
Type Name Format: Empty (0)
Short Record
type: [NULL]
Payload length: 0 bytes
0
D0 00 00
Mapping version: 1.0
Maximum NDEF data size: 144 bytes (0x12)
NDEF access: Read & Write (0x00)
-1
E1 10 12 00
Lock Control TLV at address 0x04, offset 0
‣ Dynamic lock bytes at address 0x28, offset 0
• 12 lock bits (0x0C)
• 8 bytes locked per lock bit (0x3)
• Address calculation:
◦ page address: 0xA
◦ byte offset: 0x0
◦ 16 bytes per page (1<<0x4)
-1
01 03 A0 0C 34
144 bytes user memory
‣ 36 pages, with 4 bytes per page
Full product name: NT2H1311G0DUx
Capacitance: 50 pF
Vendor ID: NXP (0x04)
Type: NTAG (0x04)
Subtype: 50 pF (0x02)
Major version: 1 (0x01)
Minor version: V0 (0x00)
Storage size: 144 bytes (0x0F)
Protocol: ISO/IEC 14443-3 (0x03)
ASCII mirror disabled
NFC counter: disabled
No limit on wrong password attempts
Strong load modulation enabled
Signature verified with NXP public key
Public key:
‣ 0x04494E1A386D3D3CFE3DC10E5DE68A499B1C202DB5B132393E89ED19FE5BE8BC61
ECDSA signature:
‣ r: 0xDBD6E5FD688FA25BDF05B508911743E2
‣ s: 0x8271C6D1D7110F0350E191ED2C3FAE85
ISO/IEC 14443-3 (Type A) compatible
ISO/IEC 14443-2 (Type A) compatible
Tag description:
‣ TAG: Tech [android.nfc.tech.NfcA, android.nfc.tech.MifareUltralight, android.nfc.tech.Ndef]
android.nfc.tech.Ndef
android.nfc.tech.MifareUltralight
android.nfc.tech.NfcA
‣ Maximum transceive length: 253 bytes
‣ Default maximum transceive time-out: 618 ms
No MIFARE Classic support present in Android
ID: 04:39:F5:B2:95:3C:81
ATQA: 0x4400
SAK: 0x00
0
04 39 F5 40
1
B2 95 3C 81
2
9A 48 00 00
3
E1 10 12 00
4
01 03 A0 0C
5
34 03 03 D0
6
00 00 FE 00
7
00 00 00 00
8
00 00 00 00
9
00 00 00 00
10
00 00 00 00
11
00 00 00 00
12
00 00 00 00
13
00 00 00 00
14
00 00 00 00
15
00 00 00 00
16
00 00 00 00
17
00 00 00 00
18
00 00 00 00
19
00 00 00 00
20
00 00 00 00
21
00 00 00 00
22
00 00 00 00
23
00 00 00 00
24
00 00 00 00
25
00 00 00 00
26
00 00 00 00
27
00 00 00 00
28
00 00 00 00
29
00 00 00 00
30
00 00 00 00
31
00 00 00 00
32
00 00 00 00
33
00 00 00 00
34
00 00 00 00
35
00 00 00 00
36
00 00 00 00
37
00 00 00 00
38
00 00 00 00
39
00 00 00 00
40
00 00 00 BD
41
04 00 00 FF
42
00 05
43
FF FF FF FF
44
00 00
*:locked & blocked, x:locked,
+:blocked, .:un(b)locked, ?:unknown
r:readable (write-protected),
p:password protected, -:write-only
P:password protected write-only
Изменить: пожалуйста, прочитайте оба ответа, представленные мной и henrycjc, для полного объяснения.
Подробнее здесь: https://stackoverflow.com/questions/428 ... o-14443-3a