Add TCP and UDP connection to PN532 and PN532Killer #34
+952
−1,032
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and refactors to the PN532 CLI tool, focusing on enhanced connection handling (supporting serial, TCP, and UDP), better user feedback, improved raw frame sending, and code cleanup. The changes also include the removal of some legacy or redundant commands and improved robustness for Mifare Classic/Ultralight operations.
Connection handling and CLI improvements:
HWConnect
, along with clearer feedback when connecting and additional usage examples. [1] [2]Raw frame and command sending enhancements:
Mifare and tag operations:
HfMfuRdbl
,HfMfuWrbl
).Code cleanup and refactoring:
eRead
for Mifare Classic and Ultralight, several LF and NTAG commands, and associated logic, streamlining the codebase. [1] [2]Robustness and network support:
Let me know if you need a walkthrough of any specific section or the rationale behind any of the refactors!