MPBluetoothKit icon indicating copy to clipboard operation
MPBluetoothKit copied to clipboard

RSSI问题

Open ohswift opened this issue 8 years ago • 2 comments

建议didDiscoverPeripheral时,就把RSSI写入对应的MPPeripheral中,再去readRSSI麻烦。

ohswift avatar Apr 10 '16 03:04 ohswift

十分同意,我已经将MPPeripheral的RSSI属性改为可写,将RSSI赋到Peripheral数组的元素中了

swieer avatar Nov 08 '16 03:11 swieer

ios8以后,RSSI属性将弃用,用readRSSI代替,作者还是对的。 @deprecated Use {@link peripheral:didReadRSSI:error:} instead. @property(retain, readonly, nullable) NSNumber *RSSI NS_DEPRECATED(NA, NA, 5_0, 8_0);

swieer avatar Nov 09 '16 02:11 swieer