hce

NFC ACR122 TgInitAsTarget, initiator releasing target

左心房为你撑大大i 提交于 2019-11-27 15:24:47
I'm trying to get my ACR122 (usb) device to emulate a passive NFC tag, but am having difficulty getting the communication to occur properly. I'm hoping someone can see what I'm doing wrong here and help point me in the correct direction. The response on this other question ACR122 - Card Emulation pointed to a document at http://code.google.com/p/nfcip-java/source/browse/trunk/nfcip-java/doc/ACR122_PN53x.txt but when we follow this to the letter it doesn't behave as expected. We're using an Samsung Galaxy S3 Android 4.3 device for testing, and are seeing the below behaviour: Transmit

How to card emulate with ACR122U-A9

本秂侑毒 提交于 2019-11-27 15:20:40
I have a ACR122U-A9, I want to card emulate with it. I ask who has done this point? Can you give me some suggestions? Now I have also other problems, when I put the white smartcard on this NFC reader, LED blinks only once. But when I put the phone on it, the LED always blinks until phone out. The ACR122U contains a PN532 NFC controller chip. The PN532 supports host card emulation through its TgInitAsTarget command (see the PN532 user manual ). In order to pass commands to the PN532, you would connect to the ACR122U just as if it was a normal smartcard reader (e.g. using PC/SC). You can then

List of devices support HCE?

半世苍凉 提交于 2019-11-27 11:58:36
As more and more devices have KitKat, I'm trying to compile a list of devices support HCE. Does anyone have the list? Feel free to add comments to contribute to this list. Below is what I have so far: Notes: Not all KitKat devices support HCE. To detect HCE support, use this code snippet: boolean isHceSupported = getPackageManager().hasSystemFeature("android.hardware.nfc.hce"); Some people reported that KitKat HCE phones has "Tap & Pay" in NFC Setting. I don't know if using "Tap & Pay" as HCE detection method is valid because "Tap & Pay" can mean Tap & Pay using internal SE. It doesn't have to

Get Static NFC Tag Id with HCE mode

廉价感情. 提交于 2019-11-27 09:33:19
I'm new in NFC thing, so I tested several phones with calling getTagId() method in HCE mode, and this is the result: device | UID LG G2 | random LG G3 | static S4 | random HTC One Mini | static Xiaomi mi3 | static My questions: Why do some phones have static UID and some do not? Is this chipset related? Is it possible to get a fixed UID? I need it to authenticate the device. On other side, I'm using Kitkat CyanogenMod 11 on Xperia M, but I did not manage to use it for HCE, why? Any documents that can explain/support the answer? Why do some phones have static UID and some do not? Is this

Passing information to a HostApduService from another Context

戏子无情 提交于 2019-11-27 07:58:58
问题 This has been asked before with no responses, so I will try to phrase the question a bit differently. What are the various ways to pass some data to an Android Service without being able to bind to it or start it myself? Here's the issue - I have a HostApduService that is started by the operating system on every NFC card transaction. It requires the permission android.permission.BIND_NFC_SERVICE , which is a system permission, so my application can't bind to it. I don't want to leave data at

Transfer data to PC from android device via NFC

有些话、适合烂在心里 提交于 2019-11-26 21:59:05
问题 I am trying to develop an Android application for a hospital. In this system there is a need to get the patient information stored in the database in the android phone into the desktop computer using NFC technology. Is there anyway where I could use a NFC USB Reading device (ACR122U NFC Smart Card Reader RFID Writer 5 Mifare USB) to transfer the data from the mobile phone to my desktop computer? The real scenario for this would be, in a hospital when a person wants to take some test results

Editing Functionality of Host Card Emulation in Android

坚强是说给别人听的谎言 提交于 2019-11-26 21:57:27
I'm currently in the process of developing a project for my University course wherein I will be hopefully editing the functionality of the HCE Feature of Android to allow me to set my own UID when emulating a card. Now, i've downloaded the AOSP source, and built a custom image with no edited code and installed that to my Nexus 7 (This includes downloading and including the Vendor specific hardware drivers), and i'm stuck on the next part. I physically cannot find the device code that governs the NFC features of Android, and i'm unsure how to go about a) Looking for it, and b) How I should be

How to card emulate with ACR122U-A9

帅比萌擦擦* 提交于 2019-11-26 18:29:50
问题 I have a ACR122U-A9, I want to card emulate with it. I ask who has done this point? Can you give me some suggestions? Now I have also other problems, when I put the white smartcard on this NFC reader, LED blinks only once. But when I put the phone on it, the LED always blinks until phone out. 回答1: The ACR122U contains a PN532 NFC controller chip. The PN532 supports host card emulation through its TgInitAsTarget command (see the PN532 user manual). In order to pass commands to the PN532, you

NFC ACR122 TgInitAsTarget, initiator releasing target

谁都会走 提交于 2019-11-26 17:08:54
问题 I'm trying to get my ACR122 (usb) device to emulate a passive NFC tag, but am having difficulty getting the communication to occur properly. I'm hoping someone can see what I'm doing wrong here and help point me in the correct direction. The response on this other question ACR122 - Card Emulation pointed to a document at http://code.google.com/p/nfcip-java/source/browse/trunk/nfcip-java/doc/ACR122_PN53x.txt but when we follow this to the letter it doesn't behave as expected. We're using an

Host-based Card Emulation with Fixed Card ID

三世轮回 提交于 2019-11-26 15:23:25
Android 4.4 introduced Host-based Card Emulation (HCE). As you know, all NFC cards come with a fixed card ID ( NfcAdapter.EXTRA_ID ). My office door access usually detects the NFC card ID for the authorization. After flashing my phone to KitKat, I tried to scan my phone with the access reader. But whenever the screen turns off and on again, I get a different card ID. I did try keeping the phone screen on, and registering the emulated card ID to the door access system. It managed to grant the access to open the door. But this won't work after the screen turns off and on again. Ever since KitKat