Instance Property

rssi

The Received Signal Strength Indicator (RSSI), in decibels, of the peripheral.

Declaration

var rssi: NSNumber? { get }

Discussion

Returns a number, in decibels, that indicates the RSSI of the peripheral while connected to the central manager. You can use a connected peripheral’s RSSI property to determine the peripheral’s proximity. The default value of this property is nil; the first successful call to readRSSI() sets its value.

See Also

Accessing a Peripheral’s Signal Strength

func readRSSI()

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