nfc

“Tag connection lost” error when reading a Mifare Ultralight NFC tag on iOS 13

我的梦境 提交于 2020-08-10 19:04:17
问题 I'm trying to read a page of a Mifare Ultralight tag (more specifically EnOcean PTM 215B) using NFCMifareTag.sendMifareCommand method after it has been discovered and connected onto. The problem is that all commands I've tried to send cause a "Tag connection lost" error which is quite odd as I've just successfully connected to it. The (simplified) code looks like: // tag has been determined to be of type NFCMifareTag earlier session.connect(to: tag) { (error: Error?) in if (error != nil) {

ISO15693 (NfcV) / Tag-it HF-I commands throw tag lost exception

。_饼干妹妹 提交于 2020-07-18 08:32:46
问题 When I try to transceive commands for NFC-V Tag-it HF-I Plus Inlay tag I get a TagLostException for most of the commands. From the links I have gone through this exception may be caused by incorrect commands. How can I create correct ISO15693 command byte[] for Nfc V Tag-it HF-I Plus Inlay? The datasheet shows the supported commands but how can I create correct commands to read NFC-V tags? The commands in the document are: The tag that I'm trying to read is: Code: Tag tag = intent

NFC tag emulation for Android virtual device (AVD)

蓝咒 提交于 2020-07-15 02:42:24
问题 Is there any way to develop NFC tag reading/writing applications without an NFC enabled phone? Is there a way to create an AVD which has NFC enabled? I have searched and found Open NFC exists, but I cannot find much information about it now. Is it already obsolete? Is there any other way to achieve it? 回答1: Google never implemented support for NFC in the AVD. So there is no official support for NFC in the Android device emulator. Back in the early days of NFC on Android, Inside Secure

NFC tag emulation for Android virtual device (AVD)

孤人 提交于 2020-07-15 02:42:20
问题 Is there any way to develop NFC tag reading/writing applications without an NFC enabled phone? Is there a way to create an AVD which has NFC enabled? I have searched and found Open NFC exists, but I cannot find much information about it now. Is it already obsolete? Is there any other way to achieve it? 回答1: Google never implemented support for NFC in the AVD. So there is no official support for NFC in the Android device emulator. Back in the early days of NFC on Android, Inside Secure