Skip to content
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

PN5180ISO15693::getInventoryMultiple() causes stack overflow if any card in range has a UID that ends in x0 #2

Open
mjmeans opened this issue Nov 1, 2024 · 0 comments

Comments

@mjmeans
Copy link
Owner

mjmeans commented Nov 1, 2024

I was seeing hangs and an eventual stack overflow randomly when testing this function. After testing several dozen tags in various stacks.

All the tags I have tested have UIDs that start with the same 3 bytes. Most have the same 4th byte. Out of 3 dozen or so tags only 3 cause the problem if they are within range of the sensor. And all of the tags that cause the issue have UIDs ending in 0.

The hang also happens when a tag with a UID ending 0 is the only tag in range of the sensor.

My suspicion is that this is caused by a bug in the implementation of the collision avoidance algorithm.

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

No branches or pull requests

1 participant