Wi‑Fi Aware Support and PIN Pairing Behavior in AccessorySetupKit

1、I want to use AccessorySetupKit for Wi-Fi Aware pairing and connection, but on iOS 26.5, it prompts that this device does not support Wi-Fi Aware. However, it works normally after upgrading to iOS 27. I would like to confirm whether using Wi-Fi Aware with AccessorySetupKit requires iOS 27 or later?

2、When using AccessorySetupKit to perform PIN code pairing with an accessory via Wi-Fi Aware, is the PIN code only required for the first pairing, and not needed for subsequent connections? Does this PIN code have an expiration time?

Answered by DTS Engineer in 896804022

Hmmm, the combo of Wi-Fi Aware and AccessorySetupKit rings some bells. Have you seen this thread: Error Domain=ASErrorDomain Code=450 "Current device is not Wi-Fi Aware capable."


Earlier, you wrote:

Does this PIN code have an expiration time?

and I replied:

Not that I’ve seen.

I was hedging my bets there a little, so I ran this past the Wi-Fi Aware team and they confirmed that these pairings persist indefinitely.

Share and Enjoy

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

but on iOS 26.5, it prompts that this device does not support Wi-Fi Aware.

What prompts? Your app? Or the system?

is the PIN code only required for the first pairing … ?

Yes.

Does this PIN code have an expiration time?

Not that I’ve seen.

Share and Enjoy

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

I downloaded the app from https://developer.apple.com/documentation/accessorysetupkit/setting-up-and-authorizing-a-bluetooth-accessory, modified the code to add Wi-Fi Aware support, and ran it on an iPhone 15 with iOS 26.5. The log shows the error message: "Failed to show picker due to: The operation couldn’t be completed. Current device is not Wi-Fi Aware capable."

Hmmm, the combo of Wi-Fi Aware and AccessorySetupKit rings some bells. Have you seen this thread: Error Domain=ASErrorDomain Code=450 "Current device is not Wi-Fi Aware capable."


Earlier, you wrote:

Does this PIN code have an expiration time?

and I replied:

Not that I’ve seen.

I was hedging my bets there a little, so I ran this past the Wi-Fi Aware team and they confirmed that these pairings persist indefinitely.

Share and Enjoy

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

Wi‑Fi Aware Support and PIN Pairing Behavior in AccessorySetupKit
 
 
Q