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 didReadRSSI(from peripheral: PeripheralIdentifier, RSSI: NSNumber, error: Error?)Parameters
fromthe peripheral that read the RSSI value.
RSSIthe RSSI value as a
NSNumber.errorthe error if the RSSI read failed.
View on GitHub
RSSIObserver Protocol Reference