I spent several hours trying to debug the reason wifi the QRcode command was suddenly generating an unreadable QRcode, when I modified some text on it.
My working QRcode string, is the following:
Code: Select all
WIFI:S:Cudy3BFC;T:WPA;P:33333333;H:false
Text:|campolux|Cudy|33333333|WPA|192.168.10.173
The mobile photo app reads it fine and ask sto connect to the wifi, as it should. Also My app work fine with this. The reason for the two lines is that the first allows to connect to the WiFI and the second passes to LC some information. As I said, it works fine.
If I change the the text of the second line ("Cudy" > "Cudy3BFC"):
Code: Select all
WIFI:S:Cudy3BFC;T:WPA;P:33333333;H:false
Text:|campolux|Cudy3BFC|33333333|WPA|192.168.10.173
Nothing happens when trying to read the QRcode, with the photo app or with the LC code.
Can someone explain me this?
Should I encode the second text line? Base64Encode? else?
Thanks for any help (and if you know, an explanation)
Trevix