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

Reverse byte order of ATQA calculated by ListenToIsoCard14443TypeA #2005

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

jdbruner
Copy link
Contributor

@jdbruner jdbruner commented Jan 8, 2023

Fixes #2004

The two bytes of the ATQA need to be treated as a little-endian integer.

Microsoft Reviewers: Open in CodeFlow

…ssue 2004)

The two bytes of the ATQA need to be treated as a little-endian integer.
@ghost ghost added the area-device-bindings Device Bindings for audio, sensor, motor, and display hardware that can used with System.Device.Gpio label Jan 8, 2023
@jdbruner jdbruner changed the title Reverse byte order of ATQA calculated by ListenToIsoCard14443TypeA (i… Reverse byte order of ATQA calculated by ListenToIsoCard14443TypeA Jan 8, 2023
Copy link
Member

@Ellerbach Ellerbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. With which card have you tested it?

@jdbruner
Copy link
Contributor Author

jdbruner commented Jan 9, 2023 via email

@Ellerbach Ellerbach merged commit 5eb2d35 into dotnet:main Jan 9, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-device-bindings Device Bindings for audio, sensor, motor, and display hardware that can used with System.Device.Gpio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mfrc522.ListenToCardIso14443TypeA returns incorrect ATQA
2 participants