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

Radiosonde QR code fixes #2021

Merged
merged 4 commits into from
Mar 21, 2024
Merged

Conversation

NotherNgineer
Copy link
Contributor

@NotherNgineer NotherNgineer commented Mar 21, 2024

  1. Fixed QR code issue when lat or lon was 0 degrees. QR code URI was missing the 0 digit to the left of decimal point. Now uses our standard function for float-to-string conversion, which doesn't have that problem.

  2. Fixed QR code to display the most recent packet's lat/lon coordinates (versus the previous packet's coordinates).

  3. Changed the "See QR" and "See on map" buttons to show the lat/lon location indicated on the screen. This is usually the same as the coordinates from the last packet, but the user might have changed them manually since the last packet was received. Now a QR code can be generated for any user-specified coordinates.

  4. Now using 4 pixels, versus 1 pixel, for every black dot in the "small" (type 10) location QR code for easier scanning (less of a challenge to focus). Tested on Android & iPhone.

  5. Deprecate support for the "large" (type 2 low resolution) QR code, which did not work (since i-dunno-when) per testing on iPhone & Android, and is no longer needed since the "small" QR code is now 4X larger. Saves 2KB of ROM space.

Test firmware available here: https://discord.com/channels/719669764804444213/722101917135798312/1220402124714676254

Copy link
Member

@gullradriel gullradriel left a comment

Choose a reason for hiding this comment

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

GTG

@NotherNgineer NotherNgineer changed the title Increase size of small Radiosonde location QR Code Fixed Radiosonde QR code for iPhone and increase size Mar 21, 2024
@NotherNgineer NotherNgineer marked this pull request as draft March 21, 2024 14:50
@NotherNgineer NotherNgineer changed the title Fixed Radiosonde QR code for iPhone and increase size Radiosonde QR code fixes Mar 21, 2024
@NotherNgineer NotherNgineer marked this pull request as ready for review March 21, 2024 15:10
@NotherNgineer NotherNgineer merged commit 692644d into portapack-mayhem:next Mar 21, 2024
3 checks passed
@NotherNgineer NotherNgineer deleted the qr-code branch March 23, 2024 21:04
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