nfc

Initial handshake between NFC controller and POS reader

青春壹個敷衍的年華 提交于 2019-12-06 13:26:53
I have few questions when the reader initiates the transaction with NFC emulated payment application using HCE Does the reader send the PPSE command as with the regular contactless card infrastructure? Does the host controller respond to PPSE command with the list of AID's from the registered AIDs listed in the routing table? So after the reader selects the AID, the host controller directs to the right HCE service? Please correct my understanding on the above concept. An EMV payment card terminal will not distinguish plastic cards, secure element based cards or HCE emulated cards. In all cases

NFC Tag as authentication tool

孤人 提交于 2019-12-06 12:36:57
Can I use NFC tag as authentication tool, for example when the tag is tapped, it opens a url, connects to a remote database and checks if that is the original Tag and returns true or false. The information and the url will be public so anyone can tap the tag, but if someone copy its content to another tag, then it connects to the database it will return false. So actually that would be a public tag but with an unique identificator that can't be copied. Hope it makes sense, im new to the NFC tags but i find them quite exciting. An NFC tag (as defined by the NFC Forum's Tag Operation

Reading NFC Tag using JAVA Smart Card API not working on MAC OS

纵饮孤独 提交于 2019-12-06 12:08:54
问题 I am developing an application to read a NFC Tag UID from NFC Reader (ACR122U-A9) device. I used JAVA and javax.smartcardio API to detect the NFC Reader and Reading NFC Tag. The functionality of the application is to display notification when the NFC Reader device is connect or disconnect from PC. Then if the device is connected and NFC Tag is presented then display the notification that NFC Tag is presented. I tried to find the Event based api to implement above functionality but I cannot

NFC card emulation with closed reader application

无人久伴 提交于 2019-12-06 11:59:31
I have two apps on two Android devices, similar to CardEmulation and CardReader from the samples for NFC. I want to send data from the host card emulation app running on one Android device to the reader application running on the second Android device. This works when both apps are open in foreground. But if I close the reader application, I can no longer send data to it. Instead, when the two phones are held together, they activate Beam transmission. However, I would like to have the reader phone automatically start the reader app when the two phones are held together. So question is: Can I

NPAPI plugin support or similar for reading smartcards

╄→尐↘猪︶ㄣ 提交于 2019-12-06 11:48:46
问题 Now that Chrome and FireFox (FF to a lesser but still relevant extent) are removing support for NPAPI (basically Java) and Edge (formerly Spartan won't have it, what are the alternatives? I appreciate there is no one-size-fits all replacement and as of yet I am struggling to find something which would suffice. It will need to connect to a NFC reader attached via USB, with the ability of reading and writing to smartcards. I have found various options such as Native Client but this is Google

Disable Android Beam for selected activities

北战南征 提交于 2019-12-06 11:19:36
I'm working with NFC on Android, specifically with Android Beam. My question is: is it possible to disable Android Beam support for an activity? This is what some system applications do, such as messaging: if another phone is put close, my phone vibrates but the "Touch to beam" screen doesn't appear and the other phone doesn't receive anything. EDIT: Calling: NfcAdapter.setNdefPushMessage(NdefMessage message, Activity activity, Activity... activities) in onResume() with a null message should do the trick (the doc says: "Pass a null NDEF message to disable foreground NDEF push in the specified

Android IsoDep command chaining failure

孤人 提交于 2019-12-06 10:13:19
I am making a NFC application that use ISO-DEP (ISO 14443-4) as TagTechnology. I try to execute a authentication with a DESFire EV1. The authentication work well if the chaining of the command is without pause. But if for exemple, I make something that take time (like the Thread.Sleep after NATIVE_AUTHENTICATION_COMMAND_P1) I got an error 0x911C ("Command code not supported") during the authentication command part 2 from the card. Normaly the error come when the authentication has been canceled. Like if the card got another command during the authentication procedure that have nothing about it

Checking NFC feature on Android Device

隐身守侯 提交于 2019-12-06 09:55:18
This is in response to question Step #1: Put this in your manifest: <uses-feature android:name="android.hardware.nfc" android:required="false" /> Step #2: Call hasSystemFeature(PackageManager.FEATURE_NFC) on PackageManager to see if NFC is available on the current device i set the API level to 8,Step 1 is ok, but when I write hasSystemFeature(PackageManager.FEATURE_NFC) it says Feature_NFC doesnot resolve to a field, Feature_WIFI FEATURE_BLUETOOTH FEATURE_CAMERA are the options there. I have visited Android developer Site ,but they didn't mention the API level. Another question is Can I test

NFC读写器调试总结20191203

守給你的承諾、 提交于 2019-12-06 09:44:31
以下为NFC读写器调试经验总结: 1、读写器部分,从TX1/TX2输出的13.56MHZ信号主要由L0/C0构成低通滤波器,用于滤除13.56MHZ的高次谐波,取值L0=1UH,C0=47PF时候,谐振频率大概在25.7MHZ左右; 确定好L0和C0之后,调试C1的值,由L0/C0/C1构成T型匹配网络。需要把谐振频率调制在13.56MHZ左右,同时记录负载阻抗和输入阻抗对应关系;(这里输入阻抗为IC输出阻抗,输出阻抗为天线加线缆); 2、天线部分,主要由线圈、串联电阻、并联电容、串联电容、连接线缆组成。 来源: https://www.cnblogs.com/icaowu/p/11974689.html

Testing an app by faking NFC tag scan

扶醉桌前 提交于 2019-12-06 09:33:46
I am new to Android, working on Near Field Communication for reading data from NFC tags. Neither I have NFC supported Android mobile nor NFC tags to test the application I created. I found the below two posts which says about faking NFC tag scans by triggering an Intent. Possibility for Fake NFC(Near Field Communication) Launch Need To Fake an NFC Tag Being Scanned In Android I changed my code according to the first post, where on click of a button I am triggering the required Intent in the 1st activity. Whereas I have created one more activity capable of handling that same intent. The reading