* @param target
* The ISO 14443 3 target that has been detected
*/
public void readISO14443Part3(final String uri, final Target target) {
_screen.addTargetInfo("URI: " + uri);
ISO14443Part3Connection c = null;
// Try to open a connection to the tag and send it a command
try {
c = (ISO14443Part3Connection) Connector.open(uri);
// Get some metadata about the tag so we can determine
// what command set to use on it.
_screen.addTargetInfo("Name: " + target.getProperty("Name"));
// Note: For the sake of this demo, we are hardcoding the request
// that we will send the tag as the "Capability Container Select"
// command.
// Capability Container select command
final byte[] response =
c.transceive(new byte[] { (byte) 0x00, (byte) 0xA4,
(byte) 0x00, (byte) 0x00, (byte) 0x02, (byte) 0xE1,
(byte) 0x03 });
// Parse the response bytes to see if the
// command was a success or not.