---
title: nameAsString()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/iobluetoothhostcontroller/nameasstring()
---

# nameAsString()

Gets the “friendly” name of HCI controller.

## Declaration

```swift
func nameAsString() -> String!
```

## Return Value

Return Value Returns NSString with the device name, nil if there is not one or it cannot be read.
