I am trying to connect to an accessory's WiFi network using the below code and I always see the message "connection succeded" even if I provide an incorrect passphrase. I tried with different accessories and see the same behavior.
hotspotConfigurationManager.joinAccessoryHotspot(accessory, passphrase: passphrase) { error in
if let error = error {
print("connection failed: \(error.localizedDescription)")
} else {
print("connection succeeded")
}
}
Selecting any option will automatically load the page