Skip to content

nfc_tag_14a_event_callback(): Fixes wrong reported length when sniffing#449

Open
DidierA wants to merge 3 commits into
RfidResearchGroup:mainfrom
DidierA:hfsniff-fix
Open

nfc_tag_14a_event_callback(): Fixes wrong reported length when sniffing#449
DidierA wants to merge 3 commits into
RfidResearchGroup:mainfrom
DidierA:hfsniff-fix

Conversation

@DidierA

@DidierA DidierA commented Jun 18, 2026

Copy link
Copy Markdown

In nfc_tag_14a_event_callback(), when sniffing, a computation was made to tell which number of parity bits is in the array, and provide the number of bits to m_tx_sniff_cb(). However this is not necessary, since amt already contains the number of bits, and the computation is wrong: it extracts the 3 least significant bits of amt to get how many parity bits there are, but there can be more than 7 parity bits.

This fixes issue #444 .

@github-actions

Copy link
Copy Markdown

You are welcome to add an entry to the CHANGELOG.md as well

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown

Built artifacts for commit 3cba53c

Firmware

Client

@DidierA DidierA changed the title nfc_tag_14a_event_callback(): Fixes wrong buffer length when sniffing nfc_tag_14a_event_callback(): Fixes wrong reported length when sniffing Jun 18, 2026
@DidierA DidierA mentioned this pull request Jun 18, 2026
@nieldk

nieldk commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

For the reviewers mostly.

Just a comment , my pr #445 standalone-relay independently reworked this sniff path with the szFrameBits/9 approach.

Conflicts might arise.

please merge this BEFORE #445!
Then I will align

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants