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

PN532 - don't read extra page and fix size #1565

Merged
merged 1 commit into from Mar 11, 2021
Merged

Conversation

ssieb
Copy link
Member

@ssieb ssieb commented Feb 25, 2021

Description: The mifare part tried to read one page too many which can throw an error. Also, there were extra bytes included in the returned data.

Related issue (if applicable): fixes

Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#

Checklist:

  • The code change is tested and works locally.
  • Tests have been added to verify that the new code works (under tests/ folder).

If user exposed functionality or configuration variables are added/changed:

@probot-esphome
Copy link

Hey there @OttoWinter, @jesserockz, mind taking a look at this pull request as its been labeled with an integration (pn532) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)

@jesserockz jesserockz added this to Ready for Review in ESPHome Dev Feb 26, 2021
@jesserockz jesserockz moved this from Ready for Review to In Review in ESPHome Dev Feb 26, 2021
@jesserockz jesserockz removed the request for review from OttoWinter February 26, 2021 04:10
@jesserockz jesserockz changed the title don't read extra page and fix size PN532 - don't read extra page and fix size Mar 11, 2021
@jesserockz jesserockz merged commit c9ee513 into esphome:dev Mar 11, 2021
taquitos pushed a commit to taquitos/esphome that referenced this pull request Mar 14, 2021
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This was referenced Mar 22, 2021
@jesserockz jesserockz moved this from In Review to Done in ESPHome Dev May 18, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants