---
title: "remoteNameRequest(_:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: "iobluetooth/iobluetoothdevice/remotenamerequest(_:)"
---

# remoteNameRequest(_:)

Issues a remote name request to the target device.

## Declaration

```swift
func remoteNameRequest(_ target: Any!) -> IOReturn
```

## Parameters

- `target`: The target to message when the remote name request is complete

## Return Value

Return Value Returns kIOReturnSuccess if the remote name request was successfully issued (and if synchronous, if the request completed successfully).

## Discussion

Discussion If a target is specified, the request is asynchronous and on completion of the request, the method (void)remoteNameRequestComplete:(IOBluetoothDevice *)device status:(IOReturn)status; will be called on the specified target. If no target is specified, the request is made synchronously and won’t return until the request is complete. This call with operate with the default page timeout value. If a different page timeout value is desired, the method -remoteNameRequest:withPageTimeout: should be used instead.
