Read data from EEPROM problem

I don't really understand what you are trying to do, the smartConfig will already store SSID and password in EEPROM, you don't need to do that manually.