---
title: "peripheralManager(_:didReceiveRead:)"
framework: corebluetooth
role: symbol
role_heading: Instance Method
path: "corebluetooth/cbperipheralmanagerdelegate/peripheralmanager(_:didreceiveread:)"
---

# peripheralManager(_:didReceiveRead:)

Tells the delegate that a local peripheral received an Attribute Protocol (ATT) read request for a characteristic with a dynamic value.

## Declaration

```swift
optional func peripheralManager(_ peripheral: CBPeripheralManager, didReceiveRead request: CBATTRequest)
```

## Parameters

- `peripheral`: The peripheral manager that received the request.
- `request`: A doc://com.apple.corebluetooth/documentation/CoreBluetooth/CBATTRequest object that represents a request to read a characteristic’s value.

## Discussion

Discussion When you receive this callback, call the respond(to:withResult:) method of the CBPeripheralManager class exactly once to respond to the read request.

## See Also

### Receiving Read and Write Requests

- [peripheralManager(_:didReceiveWrite:)](corebluetooth/cbperipheralmanagerdelegate/peripheralmanager(_:didreceivewrite:).md)
