Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow access to the tagdata in a poll request as sting (for prototyping)

  • Loading branch information...
commit 1436ddb20bbc4029ac54f22c45edc2127fc64819 1 parent 8eae98b
@alexvanboxel authored
View
11 src/main/java/org/iotope/nfc/reader/pn532/PN532InAutoPollResponse.java
@@ -24,8 +24,8 @@
import static org.iotope.util.IOUtil.hex;
import java.nio.ByteBuffer;
-
-import org.iotope.util.IOUtil;
+import java.util.ArrayList;
+import java.util.List;
/**
* <p>
@@ -59,6 +59,13 @@ public String toString() {
return buffer.toString();
}
+ public List<String> getRawTagdata() {
+ ArrayList<String> list = new ArrayList<String>();
+ for (TargetData td : tags) {
+ list.add(td.toString());
+ }
+ return list;
+ }
/*
ttag
<- InAutoPoll {TargetData type: 10 len:0c [01 00 44 00 lenid:07 04 47 b9 9a 34 23 80]}
Please sign in to comment.
Something went wrong with that request. Please try again.