I cannot get readRSSI to ever call PTDBeanDelegate:beanDidUpdateRSSI. According to Apple, the current implementation's use of CBPeripheralDelegate:peripheralDidUpdateRSSI:error has been deprecated in favor of CBPeripheralDelegate:peripheral:didReadRSSI:error. Although only marked as deprecated, on an iPhone 6 with iOS 8.0.2 it never worked for me.
The solution was to copy the body of PTDBleDevice:peripheralDidUpdateRSSI:error to a new method to match the didReadRSSI signature, and PTDBean:readRSSI works as expected now.
It seems like this is something that could be fixed in the next version of the SDK.
I cannot get readRSSI to ever call PTDBeanDelegate:beanDidUpdateRSSI. According to Apple, the current implementation's use of CBPeripheralDelegate:peripheralDidUpdateRSSI:error has been deprecated in favor of CBPeripheralDelegate:peripheral:didReadRSSI:error. Although only marked as deprecated, on an iPhone 6 with iOS 8.0.2 it never worked for me.
The solution was to copy the body of PTDBleDevice:peripheralDidUpdateRSSI:error to a new method to match the didReadRSSI signature, and PTDBean:readRSSI works as expected now.
It seems like this is something that could be fixed in the next version of the SDK.
Thanks for your time.