From 416d72f4b6e68439828b9c189bd10cc0004f0f88 Mon Sep 17 00:00:00 2001 From: Nick Pelly Date: Sun, 24 Oct 2010 22:03:04 -0700 Subject: Document getPollBytes() and getActivationBytes(). No code change. Change-Id: Ideb427b2684b9f9296abefb7c97eabc52db73ee0 Signed-off-by: Nick Pelly --- core/java/android/nfc/Tag.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'core') diff --git a/core/java/android/nfc/Tag.java b/core/java/android/nfc/Tag.java index 7741ad2..f9205a6 100644 --- a/core/java/android/nfc/Tag.java +++ b/core/java/android/nfc/Tag.java @@ -149,6 +149,12 @@ public class Tag implements Parcelable { * Get the low-level bytes returned by this Tag at poll-time. *

These can be used to help with advanced identification of a Tag. *

The meaning of these bytes depends on the Tag technology. + *

ISO14443-3A: ATQA/SENS_RES + *

ISO14443-3B: Application data (4 bytes) and Protocol Info (3 bytes) from ATQB/SENSB_RES + *

JIS_X_6319_4: PAD0 (2 byte), PAD1 (2 byte), MRTI(2 byte), PAD2 (1 byte), RC (2 byte) + *

ISO15693: response flags (1 byte), DSFID (1 byte) + * from SENSF_RES + * * @return poll bytes, or null if they do not exist for this Tag technology */ public byte[] getPollBytes() { @@ -159,6 +165,12 @@ public class Tag implements Parcelable { * Get the low-level bytes returned by this Tag at activation-time. *

These can be used to help with advanced identification of a Tag. *

The meaning of these bytes depends on the Tag technology. + *

ISO14443-3A: SAK/SEL_RES + *

ISO14443-3B: null + *

ISO14443-3A & ISO14443-4: SAK/SEL_RES, historical bytes from ATS + *

ISO14443-3B & ISO14443-4: ATTRIB response + *

JIS_X_6319_4: null + *

ISO15693: response flags (1 byte), DSFID (1 byte): null * @return activation bytes, or null if they do not exist for this Tag technology */ public byte[] getActivationBytes() { -- cgit v1.1