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

fix processing of \r when importing binary seedqr #213

Merged
merged 2 commits into from
Aug 20, 2022

Conversation

stepansnigirev
Copy link
Collaborator

Close #211
Until now we assumed that all messages from the host are text-based and end with \r - QR scanner is adding \r at the end of the data, so we were using it to split data coming from the scanner when multiple QR codes are scanned one after another.

This approach doesn't work when we start working with binary data. SeedQR integration is the first time we are handling QR codes in binary form.

This PR adds a possibility to tell the scanner that we are not expecting animated QR codes and ask for raw data coming from the scanner without pre-processing.

@netlify
Copy link

netlify bot commented Aug 13, 2022

Deploy Preview for specter-diy-docs failed.

Name Link
🔨 Latest commit 634a6ea
🔍 Latest deploy log https://app.netlify.com/sites/specter-diy-docs/deploys/6300f15a413f8800089a0274

@stepansnigirev stepansnigirev merged commit 6f89f70 into cryptoadvance:master Aug 20, 2022
@stepansnigirev stepansnigirev deleted the fix-seedqr branch August 20, 2022 14:37
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.

Compact SeedQR sometimes fails
1 participant