Serial read SSID/PASS for wifi connection (fail)

6v6gt:
Incidentally, the normal way of getting WLAN credentials into an ESP8266 is through a web browser, with the ESP8266 temporarily in "Access Point" mode and running a web server. Something like this makes it quite painless ESP8266 WiFi configuration manager library for Arduino IDE

Thx for the idea! Ill try it out.