Page 1 of 1

Show QR code on an on-board display

Posted: Tue Mar 02, 2021 9:04 am
by maldus
Hello everyone,
We are considering adding RainMaker to a device which incorporates a 3.5'' color display. Would it be possible to show the proof-of-possession QR code that is printed on the terminal on said display? Is there an API to get the information encoded on the QR code so that we can recreate our own on demand?

Re: Show QR code on an on-board display

Posted: Tue Mar 02, 2021 9:21 am
by ESP_Piyush
There is not clean way to fetch the QR code payload, but since the provisioning and QR code logic is part of common example components and not core RainMaker functionality, for your own examples, you may add a call directly at this line.

You may also choose any other logic to build the QR code, the specifications for which, you may find here.

Re: Show QR code on an on-board display

Posted: Wed Mar 03, 2021 11:53 am
by maldus
Thank you for the clarification; I was able to display the QR code on my screen succesfully!