<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetooth",
  "identifier" : "/documentation/IOBluetooth/IOBluetoothNSStringFromDeviceAddress(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "IOBluetooth"
    ],
    "preciseIdentifier" : "c:@F@IOBluetoothNSStringFromDeviceAddress"
  },
  "title" : "IOBluetoothNSStringFromDeviceAddress(_:)"
}
-->

# IOBluetoothNSStringFromDeviceAddress(_:)

Convenience routine to take a device address structure and create an NSString.

```
func IOBluetoothNSStringFromDeviceAddress(_ deviceAddress: UnsafePointer<BluetoothDeviceAddress>!) -> String!
```

## Parameters

`deviceAddress`

A valid bluetooth device structure.

## Return Value

Returns the created address string.

## Discussion

The resultant string will be in this format: “00-11-22-33-44-55”

---

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)