-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feature: Add SRIX4K/SRIX512 NFC Tool #1983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Add SRIX4K/SRIX512 NFC Tool #1983
Conversation
This file implements the Arduino_PN532_SRIX library for I2C communication with the PN532 NFC/RFID breakout board. It includes various functions for initializing the device, sending commands, and reading/writing data to SRIX4K tags.
Implement SRIX4K/SRIX512 Reader/Writer Tool with various functionalities including reading, writing, saving, and loading data. Set up I2C communication and handle user interactions through a menu system.
This header file defines the SRIXTool class for reading and writing SRIX4K/SRIX512 tags.
Added SRIX Tool option to RFID menu if PN532 is set to I2C mode.
Added documentation link to README for SRIX tool.
Added documentation link to SRIX Tool header file
Added a development-focused section to the README and updated the installation instructions. Removed outdated installation details and added acknowledgments.
Removed development-specific to-do list and updated project description.
|
This is awesome! It can share the same base Adafruit_PN532 library functions (and we won't have duplicated functions, which leads to less heap and flash usage), by including it as a resource for this functionality, like: With it you can remove the duplicated functions from your library (because they look exactly the same), like: other option is Vendorize the whole Adafruit lib to the./lib folder and add your functions and changes |
|
@bmorcelli Done my best, tested and retested. when you approve i can continue to implement srix-tool in JS API.. some info: PN532 SRIX Library Refactoring ReportOverviewThis report documents the refactoring of the original Size Comparison
Key ChangesRemoved
Retained (Critical Dependencies)
Technical Improvements
Trade-offsβ
Advantages: Smaller footprint, cleaner code, supports multiple NFC instances, production-ready (no debug overhead) ValidationTested on ESP32-S3 with SRIX4K tags. Memory dumps confirmed byte-perfect reads (128 blocks, 0 errors). Refactored by @Senape3000 β’ Original by @lilz (GPLv3) |
π‘ Description
Complete implementation of SRIX4K/SRIX512 NFC tag reader/writer/cloner tool for Bruce Firmware.
β¨ Features
.srixfile formatπ Files Added
lib/PN532_SRIX/pn532_srix.cpp- Modified SRIX librarylib/PN532_SRIX/pn532_srix.h- SRIX library headersrc/modules/rfid/srix_tool.cpp- Main tool implementationsrc/modules/rfid/srix_tool.h- Tool header and state machineπ Files Modified
src/core/menu_items/RFIDMenu.cpp- Added SRIX Tool menu entryπ Hardware Support
π§ͺ Testing
π File Format
Filetype: Bruce SRIX Dump
UID: E007000012345678
Blocks: 128
Data size: 512
Data:
FFFFFFFF
00010203
...
[7F] DEADBEEF
π― Technical Details
π Documentation
Comprehensive technical documentation included in PR files.
SRIX_Technical_Overview.md
SRIX_Tool_README.md
π€ Author
Senape3000
π Acknowledgments