hello everybody,
with the basic function blynk.edgent when I try to connect the Nodemcu device to a WIFI network with SSDI containing a non-ASCII character (the “à” in my case) it seems that the nodemcu cannot connect to the network because the character is not read correctly; In fact, in the log of nodmcu I see a “?” instead of the espcted “à”.
using other ssdi with other ASCII character, it works fine.
What version of the Blynk library are you using, and is the Edgent example sketch taken from the latest library version, or is it a file that was saved from an earlier version of the library?
What version of the ESP core do you have installed?
it works, i just tested it, but to be honest, i have other devices with hard-coded this SSID into the sketch and they works from long time.
Connecting to ****à-Wi-fi
.......
WiFi connected
IP address:
192.168.137.68
connecting to djxmmx.net:17
sending data to server
receiving from remote server
"Someone's not dead, until they're completely dead..."
- Munro Kelly (Congo)
Okay, but your example doesn’t show you connecting to the Blynk server, it shows you connecting to something else, so presumably that WiFi connection was established using a WiFi.begin() command, not a Blynk.begin() command.
I’m trying to eliminate variables and track-down what is and isn’t working from a Blynk library point of view.
I suspect that the problem is connected with the way in which Blynk.Edgent stores the credentials in EEPROM and retrieves them again, and that extended ASCII characters (one with a code >127) are somehow being lost in this conversion process.
But, it’s impossible to know if that’s the case without knowing if a non-Edgent Blynk example with the hard-coded SSID works as expected.
@vshymanskyy any ideas why these extended ASCII characters in the SSID name are producing problems in Edgent?
I suspect it’s an issue with the way that the SSID value is being manipulated before being stored in EEPROM and then extracted again to be used for the connection, but nothing leaps out at me as being the obvious cause.