Post

Replies

Boosts

Views

Activity

Invalid ISO7816 APDU detected
I'm creating an app using CoreNFC to communicate with a device. Initial communication works as intended, but the last response from the device fails after authentication is finished. When I respond with the last response in my .received(): try await cardAPDU.respond(response: responseAPDU) It goes through, but then .readerDeselected is triggered. Looking in the more detailed errors in console is see the following: -[_NFCardSession validateReceivedAPDU:]:236 Invalid ISO7816 APDU detected, (null) Note: The same behviour works as intended on Android, so the response should be fine from the device.
1
0
102
1w
-[_NFCardSession validateReceivedAPDU:]:236 Invalid ISO7816 APDU detected
I've started building an app that uses NFC to communicate towards a device. The initial communication is being triggered as intended, the last step of authentication is sent the connection seems to drop with the message: -[_NFCardSession validateReceivedAPDU:]:236 Invalid ISO7816 APDU detected, (null) The same response has been validated on an Android device and the process works fine there, but .readerDeselected is triggered instead of .received with cardAPDU. Any way to see which part of the validation that fails? Best regards
2
0
146
1w