nfc

How do I implement a nfc reader (ACR122) to an Electron project?

感情迁移 提交于 2020-01-02 10:36:06
问题 I have downloaded this library (https://github.com/pokusew/nfc-pcsc) and now i'm trying to run an Electron project in it, but is giving me everytime problems when i try to run it as an Electron project. So my question is: How can I implement this library on my Electron project and make it work not as node.js I tried to npm install --save electron@latest in the library and change on the json the script "example": "node -r @babel/register examples/read-write.js" to "example": "electron -r

How use security on Mifare Ultralight C (using android)?

爷,独闯天下 提交于 2020-01-02 06:57:06
问题 I am trying to develop an Android application that uses the features (specifically read protection) of the MF0ICU2 tags (Mifare Ultralight C). That tags are Mifare DESFire EV1 compatible. Into Android classes, MifareUltralightTag have only standard Read and Write capability, but with transceive method you could send raw command to Tag, for example 0x30 0xYY is a read page and it works. But how use raw command to use security capability on MF0ICU2 tags? Does anyone have experience with this

Android Host Card Emulation with Arduino

≡放荡痞女 提交于 2020-01-01 19:34:49
问题 I am trying to build a communication between my Nexus4 HCE and Arduino PN532 Chip. on The Serial Monitor of Arduino,I could see some data transaction happening. But on ANdorid side, I get CET4T: Unsupported Class byte (0x60) CET4T: Unsupported Class byte (0xA0) BrcmNfcNfa﹕ UICC[0x0] is not activated Below is my apduservice.xml <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" android:description="@string/servicedesc" android:apduServiceBanner="@drawable/ic_launcher

Android Host Card Emulation with Arduino

女生的网名这么多〃 提交于 2020-01-01 19:34:05
问题 I am trying to build a communication between my Nexus4 HCE and Arduino PN532 Chip. on The Serial Monitor of Arduino,I could see some data transaction happening. But on ANdorid side, I get CET4T: Unsupported Class byte (0x60) CET4T: Unsupported Class byte (0xA0) BrcmNfcNfa﹕ UICC[0x0] is not activated Below is my apduservice.xml <host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android" android:description="@string/servicedesc" android:apduServiceBanner="@drawable/ic_launcher

How to use ACR35 NFC Reader in Android

ぐ巨炮叔叔 提交于 2020-01-01 19:30:11
问题 I'm new in developing with ACR or NFC Reader, especially for Android. And recently I need to use an ACR35 and I've got the SDK and the example from this acs official website. And It works just fine as an example. And now I need to create an activity that will always be ready to check whether nfc card is tapped. But the problem is I don't know how to detect when the nfc card is tapped and I don't know what to do next, and I can't find the way out from the example as it detects nfc card when I

Android 4.4.2, PN532 NFC reader and NFC Card emulation

吃可爱长大的小学妹 提交于 2020-01-01 19:22:12
问题 I have developed a system that can read NFC tag using a reader with PN532 chip. It works ok. I can read Mifare Classic and Mifare Ultralight tag. Now I'd like to use a Nexus Tablet with Android 4.4.2 to emulate a tag. I have no experience with android development but I think it is possible. I have set NFC communication in the Nexus Tablet but I think I have to download or write some application to emulate a Tag and an NDEF communication. What is the easiest way? 回答1: That depends on what

What is the effective NFC read bitrate using APDU commands?

泄露秘密 提交于 2020-01-01 06:37:03
问题 I am currently sending and receiving an accumulated 1628 bytes using the Android IsoDep.trancieve() function spread over 35 APDU commands (select application, authenticate, read). The bytecount includes returned MAC checksums and result codes as returned by transcieve(). This communication takes 580ms. As these bytes are sent and received half duplex i calculate the effective bitrate to ~220kbit/s. The Android NFC stack supports 424kbit/s NFC communication, and according to This Wikipedia

What is the effective NFC read bitrate using APDU commands?

不打扰是莪最后的温柔 提交于 2020-01-01 06:36:03
问题 I am currently sending and receiving an accumulated 1628 bytes using the Android IsoDep.trancieve() function spread over 35 APDU commands (select application, authenticate, read). The bytecount includes returned MAC checksums and result codes as returned by transcieve(). This communication takes 580ms. As these bytes are sent and received half duplex i calculate the effective bitrate to ~220kbit/s. The Android NFC stack supports 424kbit/s NFC communication, and according to This Wikipedia

Determine card type from ATR

偶尔善良 提交于 2020-01-01 03:48:04
问题 Is it possible using ATR to determine whether I have ISO14443A or ISO14443B type card? If yes, how? 回答1: As mictter correctly explained, a real AT R only exists for ISO 7816 contact cards. I can follow the argumentation that the ISO 14443 equivalent could be the ATQA/ATQB as this is the first answer you get from tags after activation, though I would rather say that the equvalent of the ATR is a combination of ATQA + SAK + ATS (for Type A) and a combination of ATQB + Answer to ATTRIB (for Type

Type B NFC Chip in US Passport MRTD

試著忘記壹切 提交于 2020-01-01 03:45:09
问题 I am trying to read a US Passport, issued 2010. It has an NFC chip in it using type B modulation. Most countries use Type A so I am just trying Type B now for the first time. I am using an NXP PN532 NFC Controller. I am using the inCommunicateThru instruction rather than the inDataExchange since I need to manually control the timeouts and error handling to successfully talk to a type B chip on this model NFC controller. I had to implement parts of the ISO-14443-4 protocol myself, such as the