This repository has been archived by the owner on May 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 420
For my project #4
Open
pachoain
wants to merge
98
commits into
xiongyihui:dev
Choose a base branch
from
Seeed-Studio:master
base: dev
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
renamed Ndef library to NDEF
[PN532 library]Add HSU driver.
Signed-off-by: Armin Wieser <armin.wieser@gmail.com>
Signed-off-by: Armin Wieser <armin.wieser@gmail.com>
added Tag emulation
Signed-off-by: Armin Wieser <armin.wieser@gmail.com>
added write support for tag emulation, cleanup tagemulation class
Added a working example for Android Host Card Emulation
Adding Write Support For Mifare Ultralight Tags
Add an option to inlist a card with readPassiveTargetID method
this modification makes P2P working on Nexus 5 Android 5.1.
…d SNEP message's major version is different".
Bug fix: Cannot read SNEP data from Android, always got: "The received S...
I added 4Bytes to the default command of `tgInitAsTarget`. These bytes form the MIUX in TLV format. Type: 0x02 Length: 0x02 MIUX: MIUX = MIU - 128 in 11Bit (0x03 0x08) == 1024 Issue: #28
Since platforms like Arduino only have 2K of RAM it is wiser to use a smaller MIU. 256Bytes should be good since it is also the maximum size for a command to the PN532.
PN532.cpp: Transmits MIUX on connect for LLCP
add delay for Android to response
I'm not 100% why but the older code here only works with older Android phones. I tried looking the the libnfc code used in the Android services but it was super complicated. I'm guessing that the newer code does more validation checks. Anyways, this works on all my old phones: Samsung Nexus 4 Galaxy S3 Galaxy S4 HTC M8 One running WP10 Nexus 5x I'm going to be testing more phones this weekend but this is a very good start. The 5x wouldn't even get past the `tgInitAsTarget` before this fix.
Fixing emulation so it emulates 1443-4A card to work with newer phones
The M0 SPI library does not support SPI_CLOCK_DIV8 macro, similar to the Due SPI library, so the clock divider must be set manually.
Merging Support for Arduino M0/M0 Pro
If you run "mifareclassic_formatndef" or "mifareclassic_updatendef" examples with an url longer than 22 character, before this commit your program would enter the if loop between line 638 and line 642, which cause NDEF reader not even able to recognize the formatted card. Also indexing in line 652 and 653 was not correct either. I use memory dump example to debug this bug, you can verify it before you change.
Zee Livermorium patch - fix bug - if url length > 22, URI would be wrong
…t end forever. On snep.h in NDEF library, default timeout value is 0 in function write on snep.h.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Thank you for sharing it !