Use Felica Card
Overview
This section outlines the procedure for using Java API to interact with Felica cards, which differ from standard contactless CPU cards.
Steps for Java API Usage with Felica Cards
Get RFCardReaderDevice:
Initialize by obtaining an instance of the RFCardReaderDevice. This is the first step in establishing communication with the Felica card reader.
Open Device:
Execute the command to open the card reader device. This action establishes a connection between your Java application and the card reader.
Search for Card:
Conduct a search operation to detect the Felica card within the reader's range.
Communicate with the Card:
Once the Felica card is identified, proceed to communicate with it.
Note on APDU Commands for Felica Cards:
Felica cards use a unique APDU command structure. Typically, this includes N (2 bytes in little-endian format), CmdID (1 byte), followed by data.
Refer to the specific customer specifications for detailed information regarding the APDU commands for Felica cards.
Close Device:
Conclude the session by closing the device. This step is essential for security and proper device management.
Important Considerations
The communication process with Felica cards requires adherence to their specific APDU command structure.
Developers should consult detailed customer specifications for precise command formats and data handling.
Last updated