---
title: readRSSI()
framework: corebluetooth
role: symbol
role_heading: Instance Method
path: corebluetooth/cbperipheral/readrssi()
---

# readRSSI()

Retrieves the current RSSI value for the peripheral while connected to the central manager.

## Declaration

```swift
func readRSSI()
```

## Discussion

Discussion On macOS, when you call this method to retrieve the Received Signal Strength Indicator (RSSI) of the peripheral while connected to the central manager, the peripheral calls the peripheralDidUpdateRSSI(_:error:) method of its delegate object. If retrieving the RSSI value of the peripheral succeeds, you can access it through the peripheral’s rssi property. On iOS and tvOS, when you call this method to retrieve the RSSI of the peripheral while connected to the central manager, the peripheral calls the peripheral(_:didReadRSSI:error:) method of its delegate object, which includes the RSSI value as a parameter.

## See Also

### Accessing a Peripheral’s Signal Strength

- [rssi](corebluetooth/cbperipheral/rssi.md)
