iOS 8 BLE readRSSI delegate call back not firing.

Originator:rhaworth
Number:rdar://18476971 Date Originated:26-Sep-2014 09:27 PM
Status:Open Resolved:No
Product:iOS 8 API Product Version:8.0.x
Classification:Core Bluetooth Framework Reproducible:Yes
 
Summary:
There seems to be an issue in the CoreBluetooth framework that us causing all readRSSI() requests to never trigger the new iOS 8 delegate peripheral(peripheral: CBPeripheral!, didReadRSSI RSSI: NSNumber!, error: NSError!)

This issue only occurs once the application has successfully connected to this device once. Upon disconnection and reconnection the application never receives this callback again.

Steps to Reproduce:
1. connect to BLE device.
2. attempt to read the RSSI value with the method readRSSI()
3. disconnect from BLE device.
4. reconnect to BLE device.
5. attempt to read the RSSI value with the method readRSSI()

Expected Results:
Expected results is to recieve the delegate callback  peripheral(peripheral: CBPeripheral!, didReadRSSI RSSI: NSNumber!, error: NSError!) with either an updated RSSI value or an error.

Actual Results:
Actual results: the initial connection reads the RSSI value correctly, but ALL subsequent connections made are not capable of reading the RSSI value utilizing the same paths to request.

Version:
iPhone 6+ running iOS 8.0.2 (12A405), iPhone 5s running 8.0.0 (12A365), iPhone 4s running iOS 7.1.2 (11D257). 

Notes:
The BLE device I am using is my companies standard chip on an EM board, and has been tested to confirm no issue with the BLE device. This problem is 100% reproducible for myself, the iPhone 4s running 7.1.2 receives its iOS 7 delegate callback 100% of the time, but the issue persists between both the iPhone 5s and the iPhone 6+

Configuration:
iPhone 6+ running iOS 8.0.2 (12A405), iPhone 5s running 8.0.0 (12A365), iPhone 4s running iOS 7.1.2 (11D257).

Comments

Just want to say that I'm seeing the exact same thing on iOS 8.1.3.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!