I have a Waveshare PN532 NFC hat for Raspberry Pi and I'm trying to develop an Android app using Flutter. The app also utilizes Android HCE with this Dart plugin. I need the app to send some data when the device is near the NFC reader, I used the await NfcHce.addApduResponse(6, [0,1,2,3,4,5]); function provided by the plugin to send some data (the array) when the app receives an APDU command on port 6. Now I'm trying to send the custom APDU command using the PN532 reader. According to the plugin documentation, the APDU command should look like this 00A4040607A000DADADADADA. I'm not sure how to use the python PN532 library to send the custom command. Any ideas on how to achieve this?
Send a custom NFC APDU command to a HCE device with PN532 python
122 Views Asked by DavidCZ2051 At
0
There are 0 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in FLUTTER
- Flutter + Dart: Editing name of a tab shows up a black screen
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- Way to get CustomPainter to track face in Camera Flutter MLKit
- flutter Null check error: did not show file and line number
- Creating multiple instances of a class with different initializing values in Flutter
- I want to paste stickers into to my TextField and to show the stickers beside the emojis
- Flutter plugin development android src not opening after opening example
- Module not found when building flutter app for IOS
- How to make barrier area interactive in flutter modal bottom sheet
- Can an RPC result be included in a Supabase select function in Flutter for Data Modeling?
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- Flutter web app on Windows -how to support mouse drag for horizontal and vertical scrolling as well as using mouse wheel
- I wrote this time displaying FLUTTER app, How can I improve it?
- Appwrite and / or Spring Boot Backend
- Flutter two_dimensional_scrollables Web app Chrome - cannot get horizontal scroll to work?
Related Questions in NFC
- Possible to use NFC for iPad
- Cannot find name 'NDEFReader'
- Get AID from Debit/Credit Card using NFC
- read files on MIFARE DESFire EV2 NFC card with transceive and react-native-nfc-manager
- ESP32 Baud Rate
- NTag216 [Write] command unexpected response code
- How do I read the UID of a tag (e.g. Mifare Classic) using the ACR122U Reader and PCSC library in VB.net
- Android app on Samsung incorrectly reads MiFare card via NFC
- NTag424 DNA ReadData[CommMode.Full] returns 7E
- NFC permission required: Neither user 10711 nor current process has android.permission.NFC
- M24LR16E Drivers not being read with NFC on iOS
- CoreNFC and using the OPTION FLAG
- CoreNFC writing to iCode Slix2 tag doesn't seem stable
- Why can I not import nfc_manager repo as a dependency into my flutter app?
- Is it possible to emulate nfc tag via adb tools?
Related Questions in MIFARE
- read files on MIFARE DESFire EV2 NFC card with transceive and react-native-nfc-manager
- Android app on Samsung incorrectly reads MiFare card via NFC
- Can't read payload from ndef
- How to encode or write information into MIFARE DESFIRe ev2 that would act as id card with microtransaction functionality
- Using TapLinx SDK for Java, NOT Android, for reading MIFARE DESFire contactless smart cards
- How to read Mifare Cards with Different Keys?
- Problems with authentication and read/write to "MIFARE Plus S" cards using WinSCard library and ACR1283L device in C++
- Send a custom NFC APDU command to a HCE device with PN532 python
- Error: System.Windows.Markup.XamlParseException
- How to write and read int value in ultralight NTAG
- Reading/Writing the raw data of the MIFARE DESFire EV2 cards connected from ACR1252U
- Reading data from Mifare Ultralight NFC Tag
- Write to NXP NTAG215 protected
- Where are the NFC PC/SC commands documented?
- How can I read data from other sectors in the ACR122U Mifare?
Related Questions in PN532
- Writing NDEF message with PN532
- Cannot read NDEF file using Android HCE and PN532 nfc
- PN532 module connected to Raspberry Pi could not be use by Python script after some time
- Send a custom NFC APDU command to a HCE device with PN532 python
- PN532 sometimes not responding with ESP32
- Shared SPI for SD card and NFC reader on ESP32
- ePassport reading with elechouse PN532 v4
- PN532 NFC module works on Arduino, but doesn't on VSCode with PlatformIO
- Error inserting UID : 1698 (28000): Access denied for user 'roor'@'localhost'
- PN532 RFID reader with Raspberry pi Pico C SDK does not return ACK bit
- PN532 Module Not Working in SPI Mode with Arduino UNO
- RFID: PN532 with Mifare Plus SE
- pn532 on Rpi4 SPI reading NFC NDEF message from mobile phone emulating type 4 card
- Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. - esp32 & PN532
- PN532 not working as expected with I2C communication with ESP8266 NodeMCU v3
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?