The application you need is the WiFi WPS WPA Tester! You can check the AP connection with the WPS PIN with this application.
Pins are calculated with many algorithms:
And others are the default pins of many access points.
Then not all apps are compatible with this application.
The application requires original permission for devices with Android version <5.0 (LOLLIPOP)
For devices with Android> = 5.0 you can check the PINs with this application and you can connect, but you can’t see the WPA (or WEP) password without root permission.
Use this application only with your own AP so as not to go against the law.