Closed androuino closed 1 year ago
Hi Androuino,
Could you please be more specific about the problem you are experiencing?
Hi, I hope I was able to get a response in a timely manner but anyway, I was trying to use your library but I couldn't find the example to write something to an NFC tag. Do you have somehow an example of how to write bytes to an NFC card? Thanks.
Hi, The Keyple library is currently oriented towards ISO14443-4 cards, in particular Calyspo cards through the Calypso extension but also with any other ISO Type 4 card with the generic extension. Depending on the type of card you want to use, you will need to know the set of commands available for this card. Maybe you are thinking of Mifare or NFC Tag cards, in this case you will have to look for the proprietary APDU commands provided by the PC/SC reader manufacturer and use the generic extension to send the appropriate commands. What type of card and reader do you want to use? Regards.
Hello, Thank you for the response. I actually using NFC Tag cards now and I have also the APDU commands for the cards. I would like to ask on how I can send those commands and be able to write or read the cards?
Thanks.
Hello,
Have you read this https://keyple.org/learn/user-guide/standalone-application/?
This example shows how to make a basic card selection and send an APDU to the selected card: https://github.com/eclipse/keyple-java-example/blob/main/Example_Service/src/main/java/org/eclipse/keyple/core/service/example/UseCase1_BasicSelection/Main_BasicSelection_Pcsc.java I would start from here to validate the feasibility and progressively add the features needed for the final application (such as reader event observation, etc.). It should work with a contactless EMV banking card. In this example, the card must be in the RF field of the reader before the program starts.
Keep us informed of your progress!
Regards.
Thanks, @jeanpierrefortune, the information that you gave is very helpful, I'll carefully study the examples and will keep you posted on my development.
Thank you very much.
Hi,
Greate library btw. However, could you help me on how to implement the read and write to an NFC smart card reader?
My implementation of your library is like the below example
then my PluginOberser.kt class example is here
and my ReaderObserver.kt is