nfc

What's wrong with HCI applet downloading on smart card?

余生长醉 提交于 2020-07-08 00:43:15
问题 I have an SWP supported smart card. I want to install an HCI applet (i.e. Host Controller Interface applet) to use over NFC in an NFC supported mobile phone. I have written a sample applet and compiled successfully, and now I'm ready to download and install this applet on my smart card (USIM). Unfortunately, when trying to download this applet on my sim, I get the following error: I'm using PyApduTool for this purpose. where am I wrong or am I missing something? Is there any prerequisites or

What's wrong with HCI applet downloading on smart card?

*爱你&永不变心* 提交于 2020-07-08 00:41:30
问题 I have an SWP supported smart card. I want to install an HCI applet (i.e. Host Controller Interface applet) to use over NFC in an NFC supported mobile phone. I have written a sample applet and compiled successfully, and now I'm ready to download and install this applet on my smart card (USIM). Unfortunately, when trying to download this applet on my sim, I get the following error: I'm using PyApduTool for this purpose. where am I wrong or am I missing something? Is there any prerequisites or

Do NFC tags have unique, read-only IDs?

岁酱吖の 提交于 2020-06-27 16:33:47
问题 I am trying to implement an authorization system based on general NFC tags. One of the concerns I want to address is tag cloning. I have read some literature ensuring tag authenticity by using a read-only tag ID written on the tags during manufacture. This ID is signed by the owner and written on the tag. This way, a cloned tag (which will have a different, tag-manufacturer assigned ID) can be detected by comparing tag IDs with the cloned signature. My question is, is it safe to assume that

Why “No NFC device found” with libnfc and PN532 SHIELD

此生再无相见时 提交于 2020-06-27 13:07:13
问题 I installed the libnfc on my ArchLinux and i would use it through my Adafruit PN532 arduino SHIELD. nfc-list returns me the message "No NFC device found". I have the following file in /etc/nfc/devices.d/pn532.conf that gives me nfc-list uses libnfc 1.7.1 error libnfc.driver.pn532_uart pn53x_check_communication error error libnfc.chip.pn53x Unexpected PN53x reply! nfc-list: ERROR: Unable to open NFC device: pn532_uart:/dev/ttyACM0 Any idea about how to fix that ? TY 回答1: First of all verify

Swift: NFCError Code=202 “Session is invalidated unexpectedly”

余生长醉 提交于 2020-06-14 07:22:26
问题 I'm trying to use NFC. I followed those steps: Enabled NFC in the AppID configuration Created a provisioning profile and installed it Added NFC capability to the target Added the privacy description in the plist file After this I imported CoreNFC and implemented those code: @available(iOS 11.0, *) extension EventPreviewViewController: NFCNDEFReaderSessionDelegate { func readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error) { let alert = UIAlertController

Swift: NFCError Code=202 “Session is invalidated unexpectedly”

試著忘記壹切 提交于 2020-06-14 07:20:31
问题 I'm trying to use NFC. I followed those steps: Enabled NFC in the AppID configuration Created a provisioning profile and installed it Added NFC capability to the target Added the privacy description in the plist file After this I imported CoreNFC and implemented those code: @available(iOS 11.0, *) extension EventPreviewViewController: NFCNDEFReaderSessionDelegate { func readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error) { let alert = UIAlertController

Swift: NFCError Code=202 “Session is invalidated unexpectedly”

核能气质少年 提交于 2020-06-14 07:20:19
问题 I'm trying to use NFC. I followed those steps: Enabled NFC in the AppID configuration Created a provisioning profile and installed it Added NFC capability to the target Added the privacy description in the plist file After this I imported CoreNFC and implemented those code: @available(iOS 11.0, *) extension EventPreviewViewController: NFCNDEFReaderSessionDelegate { func readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error) { let alert = UIAlertController

NFCAdpater.enableReaderMode(…) doesn't work consistently if booting in Kiosk mode activity

你。 提交于 2020-06-13 05:35:54
问题 I have an application which starts in Kiosk mode and should read and react on NFCTags. It's using enableReaderMode on the NFCAdapter in onResume to start reading them. Everything works fine if the app is e.g. (re-)started during development. However, if I reboot the device (and the activity gets started automatically) the activity is only sometimes put into the right mode, but often only plays the NFC system sound and my handleTag is not called. From what I logged, the NFCAdapter setup code I

NFCAdpater.enableReaderMode(…) doesn't work consistently if booting in Kiosk mode activity

南楼画角 提交于 2020-06-13 05:34:07
问题 I have an application which starts in Kiosk mode and should read and react on NFCTags. It's using enableReaderMode on the NFCAdapter in onResume to start reading them. Everything works fine if the app is e.g. (re-)started during development. However, if I reboot the device (and the activity gets started automatically) the activity is only sometimes put into the right mode, but often only plays the NFC system sound and my handleTag is not called. From what I logged, the NFCAdapter setup code I

Can we emulate NFC cards in iOS 13?

泪湿孤枕 提交于 2020-06-08 03:39:17
问题 Apple just announced new NFC Core API to public. Here is what they said. Core NFC With Core NFC framework, your apps can now support tag writing, including writing to NDEF formatted tags. The framework also provides supports for reading and writing tags using native protocols such as ISO 7816, MIFARE, ISO 15693, and FeliCa. For more information, see the Core NFC framework documentation. https://developer.apple.com/ios/whats-new/ So, now we have write and read API, and I read all documentation