Open 1996xjm opened 3 years ago
First, confirm that your PID (productkey) and UUID are correct. You can learn the steps to get the above parameters from this tutorial.
Then you can learn how to fill the url from this statement which in "tuya-iot-link-sdk-embedded-c\examples\switch_demo_non_qrcode":
TY_LOGI("https://smartapp.tuya.com/s/p?p=%s&uuid=%s&v=2.0", productkey, uuid);
Finally, you can use any QR code generator to convert the url into a QR code. Just a suggestion, you can use Chrome's built-in URL to QR code function to do this:
this url can not generate a static QR code