I have an application where I want the customer to be able to read the QR code for provisioning from the build-in display.
To that end I need to access the PROV_xxxxxx number to recreate the QR code.
Does anyone know where I can find this prov code? I started digging through the source code, but it is snaking to all sorts of routines an I sort of lost track. It would be a tremendous help is anyone could point me to the right direction
Thanks
Access to PROV_ code
Re: Access to PROV_ code
Best option would be to register for the APP_NETWORK_EVENT_QR_DISPLAY event under the APP_NETWORK_EVENT event group. You will get the QR code payload in the event_data. You can find samples of event handling in the switch example. Let me know if the event handling is not clear to you.
-
ronbreukers
- Posts: 19
- Joined: Tue Dec 14, 2021 2:45 pm
Re: Access to PROV_ code
Thank you very much ESP_Piyush for the very quick answer I will study your suggestion. If, after really studied it, I still have questions, I will come back.
-
ronbreukers
- Posts: 19
- Joined: Tue Dec 14, 2021 2:45 pm
Re: Access to PROV_ code
Thank you ESP_Piyush. It worked flawlessly! Your suggestions saved me many hours of searching!
I have another question I hope you may help me with, but since the subject is different I will open another thread.
I have another question I hope you may help me with, but since the subject is different I will open another thread.
Who is online
Users browsing this forum: No registered users and 1 guest
