<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NearbyInteraction",
  "identifier" : "/documentation/NearbyInteraction/NIError/accessoryPeerDeviceUnavailable",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Nearby Interaction"
    ],
    "preciseIdentifier" : "s:SC11NIErrorCodeLeV30accessoryPeerDeviceUnavailableSoAAVvpZ"
  },
  "title" : "accessoryPeerDeviceUnavailable"
}
-->

# accessoryPeerDeviceUnavailable

An error that indicates the peer Bluetooth accessory isn’t connected or paired.

```
static var accessoryPeerDeviceUnavailable: NIError.Code { get }
```

## Discussion

For more on the backgrounding requirements of accessory interaction, see [`NINearbyAccessoryConfiguration`](/documentation/NearbyInteraction/NINearbyAccessoryConfiguration).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)