a-voronov / garmin-qr-code

Garmin watch QR Code Builder and Viewer app. Everything is calculated entirely on device. Not intended for production use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Garmin Watch QR Code Viewer

I've built this project to check out Garmin SDK and Monkey C language. I also wanted to see how far I can go calculating stuff entirely on the device. I didn't find any app on the CIQ store that would be able to generate qr image without extra hassle and talking to the server (now I see why). So I created this app, which generates qr code out of alphanumeric string, caches it and displays it on the screen.

Turned out, it's really inconvenient to perform such complicated task even for a code with a single symbol in it, as it takes a lot of resources. So I had to split qr code builder into chunks that could be continued on every (50ms) timer callback.

I used pyqrcode to copy builder algorithms. And I used Barcode-Wallet approach to rendering qr code with a font.

At the moment, qr code input string can be hardcoded inside QRCodeSettings.demoCode(), because it seems that I can't enter it if from the CIQ phone app if the watch app is installed manually and not from the store. But it can be changed in the simulator.

processing main menu error

In the end, I'm using it to store my EU vaccination passport in case I don't have my phone with me :)

About

Garmin watch QR Code Builder and Viewer app. Everything is calculated entirely on device. Not intended for production use.

License:MIT License


Languages

Language:Nix 100.0%