Wi-Fi Aware UpgradeAuthorization Failing

Hello!

I have an accessory, which is paired already with an iPhone, and am attempting to upgrade its SSID permission to Wi-Fi Aware. In ideal conditions, it works perfectly. However, if I dismiss the picker at the time of pin-code entry, I am unable to re-initialize an upgrade authorization picker.

Even though the authorization is not completed a WAPairedDeviceID is assigned to the object of 18446744073709551615.

Any subsequent attempts to start the picker up again spits out when treated as a failure serves: [ERROR] updateAuthorization error=Error Domain=ASErrorDomain Code=450 "No new updates detected from existing accessory descriptor."

Attempting with a mutated descriptor serves: [ERROR] updateAuthorization error=Error Domain=ASErrorDomain Code=450 "Accessory cannot be upgraded with given descriptor."

If I try using failAuthorization i get a 550 "Invalid State" error and furthermore if I try finishAuthorization to attempt to clear the descriptor/paired device ID it fails to clear it.

If I could be pointed to the intended behavior on how to handle this, or this can be acknowledged as a bug, that would be incredibly appreciated. Thank you!

Answered by DTS Engineer in 883959022

I think you should file a bug about this. It’s hard to be sure exactly what’s going on, but your description certainly sounds like there’s an issue on the Apple side of the fence.

Please post your bug number, just for the record.

I have some general advice about filing Wi-Fi bug reports in… ah… Filing a Wi-Fi Bug Report. In this case, however, I recommend that you also install the Accessory Setup Kit for iOS/iPadOS debug profile, available from our Bug Reporting > Profiles and Logs page.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I think you should file a bug about this. It’s hard to be sure exactly what’s going on, but your description certainly sounds like there’s an issue on the Apple side of the fence.

Please post your bug number, just for the record.

I have some general advice about filing Wi-Fi bug reports in… ah… Filing a Wi-Fi Bug Report. In this case, however, I recommend that you also install the Accessory Setup Kit for iOS/iPadOS debug profile, available from our Bug Reporting > Profiles and Logs page.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Wi-Fi Aware UpgradeAuthorization Failing
 
 
Q