forked from ATrappmann/PN5180-Library
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Merge upstream changes #4
Open
alastaira
wants to merge
90
commits into
playfultechnology:master
Choose a base branch
from
tueddy:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add documentation add example
multi protocol demo
new commandTimeout 50 ms for transceiveCommand. saw wdt (watch dog timer) reset/hanging if several cards in fields (card collision) simplify PN5180ISO14443::isCardPresent()
…vacyMode, disablePrivacyMode to avoid confusion with LOCK PASSWORD command (9.5.3.4)
add doc for PN5180 C3 add writeEEprom function
add documentation for PN5180-C3 update LPCD example for ESP-32
Iso14443 support
new prepareLPCD() in library
* Revert previous changes, SPI class was copied and caused problems * Speedup reading (shorter delays) in reset/transceive commands * better initialization for ISO-14443 cards, see https://www.nxp.com.cn/docs/en/application-note/AN12650.pdf
add documentation for ICODE SLIX2
avoid endless loop in reset()
better check for valid UID more debug messages
RF-Off: wait for RF field to shut down
- wait RF-field to ramp-up - wait for wait-transmit state
UID-length = 7 -> check for 2.part is valid
replace errno, which is often a macro
This reverts commit ba7b81a.
DSFID pointer increment must not be skipped when when not in DEBUG or the memory page since this results in decoding errors for the rest of the buffer. For example the number of memory pages and page size in bytes is wrong when the DSFID *p++ is not executed.
This reverts commit 5de5b8b.
I checked this with an ESP32-S3. The example projects: PN5180-ISO14443, PN5180-Library, PN5180-LowPowerCardDetection, PN5180-MultipleBlock, PN5180-ReadMulltipleUID, PN5180-ReadUID all compile ok. The example project PN5180-LPCD-ESP32-deep-sleep fails to compile with <'WAKEUP_PIN_MASK' was not declared in this scope>.
Create .gitattributes. This will make sure Windows will use the Linux line endings when using Guthub Desktop.
Add ability to use custom pins in begin with -1 as defaults so it doesn't break any other code that expects to call begin() without parameters.
A bit more useful debug macros that help to see call sequence.
See comments in Debug.h for usage of the new debug macros.
Better debug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.