Show QR code on an on-board display

maldus
Posts: 83
Joined: Wed Jun 06, 2018 1:41 pm

Show QR code on an on-board display

Postby maldus » Tue Mar 02, 2021 9:04 am

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?

ESP_Piyush
Posts: 309
Joined: Wed Feb 20, 2019 7:02 am

Re: Show QR code on an on-board display

Postby ESP_Piyush » Tue Mar 02, 2021 9:21 am

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.

maldus
Posts: 83
Joined: Wed Jun 06, 2018 1:41 pm

Re: Show QR code on an on-board display

Postby maldus » Wed Mar 03, 2021 11:53 am

Thank you for the clarification; I was able to display the QR code on my screen succesfully!

Who is online

Users browsing this forum: No registered users and 71 guests