I am using “WiFi.setCredentials” to set credentials in P1. By same wifi credentials most of time it set credential but sometimes it’s not.
I am passing wifi credentials using our custom mobile app which send command to P1 via bluetooth so credentials given from mobile app to P1 is correct always. If any case sensitive/wrong psw issue then app give indication to user so credentials is always correct.
Also one question, What is return value of “WiFi.setCredentials”?