Package net.rim.device.api.io.nfc.readerwriter

Examples of net.rim.device.api.io.nfc.readerwriter.ISO14443Part4Connection.transceive()


                Utilities.log("XXXX onTargetDetected: " + record);
                String eventlog_msg="send:"+Utilities.formatAsHexPairs(Constants.DISPLAY_COLUMN_WIDTH, CommonADPUs.simpleISO14443Capdu);
                _screen.logEvent(eventlog_msg);

                targetISO14443Part4Connection = (ISO14443Part4Connection) Connector.open(targetURI);
                tranceiveResponse = targetISO14443Part4Connection.transceive(CommonADPUs.simpleISO14443Capdu);

                record = "Received:\n" + " Len: " + tranceiveResponse.length + "\nPayload: \n"
                        + Utilities.formatAsHexPairs(Constants.DISPLAY_COLUMN_WIDTH, tranceiveResponse);
                eventlog_msg = "rcvd:"+Utilities.formatAsHexPairs(Constants.DISPLAY_COLUMN_WIDTH, tranceiveResponse);
View Full Code Here


            // 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 });

            parseISO14443Response(response);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.