updated config() methods in WiFi library