RSSIObserver
public protocol RSSIObserver : AnyObject
A protocol allowing conforming objects to monitor the RSSI changes of a connected peripheral.
-
Called whenever a peripheral’s RSSI value changes.
Declaration
Swift
func peripheral(_ peripheral: Peripheral, didReadRSSI RSSI: NSNumber, error: Error?)