So the problem I'm having is the following: I'm trying to emulate the EV2 Card on Android devices using the HCE service by the Android. I have a PN532 (Adafruit) board and a firmware is already installed on it and it uses DESfire native command set. So, processApduCommand() is never called because the command received by the phone is not in APDU format (ISO 7816 - 4). So how much of the native DESfire command set can I implement using the APDU protocol? How can I proceed from here? Thank you all in advance.
Emulate Mifare EV2 Card with HCE
975 Views Asked by melihozcann At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in ARDUINO
- arduino find text in webpage
- Arduino serial works fine with Debian but hangs with Raspbian
- Need help getting value from html slider on yun to arduino value
- Arduino RPM Detection
- How do you do forward declarations in arduino code?
- ESP8266 and Arduino Interfacing
- Async HTTP Request and Arduino
- Arduino NearBus NearbusEther_v16.h: No such file or directory
- Arduino data type confusion. Have string, need const char?
- Connecting a USB serial device to the Arduino directly
- C++ how do i show ledstatus as on or off in the Client?
- Arduino RFID (Wiegand) Continuous reading
- Android Phone not sending data over TCP/ip
- nRF24 - data received but not whole message
- Trouble interfacing/communicating between Arduino Block and Intel Edison
Related Questions in NFC
- Android NFCA issues
- Access protection for NFC Tags
- Android makeReadOnly() throws IOException
- NFC Bluetooth handover - WITHOUT user confirmation
- Using external ACR1222L to get NDEF Messages w/ nfctools OR nxpnfclib
- node-hid not showing all USB devices
- How to convert a Chinese string to english for windows phone store apps[Javascript]
- How can I prevent (overwriting or format or cloning anything else) my NFC TAG?
- Android HCE issue
- onNewIntent() being called in onResume() multiple times
- When app receives NFC data it opens "New Tag collected"
- Android NFC passing single parameter when starting application
- How to mock a Android NFC Tag object for unit testing
- Short range communication (Bluetooth, NFC ?)
- NFC Write Sample
Related Questions in HCE
- Android HCE issue
- Is it possible to use the RFID-RC522 with ISO 14443-4/APDU-based smartcards protocol?
- Why is my HCE app not getting to my HCEservice?
- NFC ACR122U (reader/writer mode) and Nexus 5(HCE mode) example
- Card Emulation, RC522 and Nexus 4's NFC UID
- Get fixed ID of NFC chip in Android
- Test a HostApduService with Robolectric
- Card Emulation with Nexus S and ACS ACR122
- Is the Samsung Galaxy S4 compatible with CyanogenMod's smart card emulation (NFC)?
- Data Transfer from NFC app to PN532 reader
- Reading multiple NFC-tags in Android. IsoDep-tag wont read while screen is unlocked
- Android : How to change NFC protocol priority?
- NFC ACR122 TgInitAsTarget, initiator releasing target
- Get Static NFC Tag Id with HCE mode
- NFC HCE on Google Nexus 7 (2012) not working with ACR122 reader
Related Questions in PN532
- Shared SPI for SD card and NFC reader on ESP32
- PN532 sometimes not responding with ESP32
- PN532 NFC - Returning more than 256 bytes from inDataExchange call to Android HCE
- Is there any memory limit for NFC card emulation?
- Reading NFC UID from android phone with PN532 and ArduinoMega
- NFC Peer-to-peer between two PN532s using Python
- Get UID from NFC Card on ESP32
- PN532 not working as expected with I2C communication with ESP8266 NodeMCU v3
- Can the NXP PN532 work on UART at a 38400 baud rate?
- PN532 V3 + Arduino UNO + libnfc error (ERROR: Unable to open NFC device: pn532_uart:/dev/ttyUSB0:115200)
- Problem with detecting badge with PN532 and Raspberry Pi
- How can I send a simple String from an Android with React-Native device to a RaspberryPi using EXPLORE-NFC-WW
- Writing/Reading from/to SPI on GPIO Interrupt failed with OSError: [Errno 9] Bad file descriptor
- Emulate Mifare EV2 Card with HCE
- What makes an RFID give "Access Granted" to a card?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You won't be able to emulate a Mifare DESfire native command set, you will only be able to emulate the ISO 7816 - 4 commands and ISO/IEC 7816-4 wrapped native command set.
You need to change how the PN532 (Adafruit) board sends the commands by wrapping them in ISO 7816 - 4 commands first.
Wrapping example https://ridrix.wordpress.com/2009/09/19/mifare-desfire-communication-example/
Of course you need to do the AID select commands first to select the AID you are emulating with your HCE implementation.