---
title: "IOBluetoothNSStringFromDeviceAddress(_:)"
framework: IOBluetooth
role: symbol
role_heading: Function
path: "iobluetooth/iobluetoothnsstringfromdeviceaddress(_:)"
---

# IOBluetoothNSStringFromDeviceAddress(_:)

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

## Declaration

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

## Parameters

- `deviceAddress`: A valid bluetooth device structure.

## Return Value

Return Value Returns the created address string.

## Discussion

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

## See Also

### Miscellaneous

- [IOBluetoothFindNumberOfRegistryEntriesOfClassName(_:)](iobluetooth/iobluetoothfindnumberofregistryentriesofclassname(_:).md)
- [IOBluetoothGetUniqueFileNameAndPath(_:_:)](iobluetooth/iobluetoothgetuniquefilenameandpath(_:_:).md)
- [IOBluetoothIsFileAppleDesignatedPIMData(_:)](iobluetooth/iobluetoothisfileappledesignatedpimdata(_:).md)
- [IOBluetoothNSStringToDeviceAddress(_:_:)](iobluetooth/iobluetoothnsstringtodeviceaddress(_:_:).md)
- [IOBluetoothNumberOfAvailableHIDDevices()](iobluetooth/iobluetoothnumberofavailablehiddevices().md)
- [IOBluetoothNumberOfKeyboardHIDDevices()](iobluetooth/iobluetoothnumberofkeyboardhiddevices().md)
- [IOBluetoothNumberOfPointingHIDDevices()](iobluetooth/iobluetoothnumberofpointinghiddevices().md)
- [IOBluetoothNumberOfTabletHIDDevices()](iobluetooth/iobluetoothnumberoftablethiddevices().md)
