AnsweredAssumed Answered

Sending ISO-7816 APDU to smartcard with NFC device

Question asked by Andrew Webb on Jan 13, 2020
Latest reply on Jan 28, 2020 by Andrew Webb

How to send an ISO 7816-4 APDU to a smartcard using a NXP NFC device in a Windows 10 UWP application?

 

I have a Windows.Network.Proximity.ProximityDevice object, and I think the method to use is PublishBinaryMethod.

ProximityDevice.PublishBinaryMessage Method (Windows.Networking.Proximity) - Windows UWP applications | Microsoft Docs 

 

The API is   long PublishBinaryMessage(String messageType, IBuffer message)

 

But I don't know what messageType string to use.  It might be "NDEF".  I'm guessing that the message is either the raw APDU or perhaps the APDU wrapped in a NDEF message.  But I'm not sure.

 

My Select AID APDU and response would be      00 a4 04 0c 0b a0 00 00 03 08 00 00 10 00 01 00 02  = 90 00

 

Any information about how to wrap an APDU into a NDEF message?

 

Is there is a sample application that writes the APDU command and gets the response somewhere?

 

Thanks in advance,  Andrew

(I do most of my smartcard programming with PC/SC on Windows.  But this NXP NearFieldProximity Provider device 

on a HP Elite laptop, and has a placement circle on the touch pad, does not have a PC/SC driver. )

Outcomes