CoreBluetooth -peripheral:didDiscoverServices: does not get called

Originator:martijn
Number:rdar://20499679 Date Originated:10-Apr-2015 10:20 AM
Status:Open Resolved:No
Product:iOS Product Version:8.3
Classification:Serious Bug Reproducible:Sometimes
 
Summary:
From customer logs we noticed that our app called -[CBPeripheral discoverServices:] on a connected peripheral a few times over the course of a couple minutes, but the -peripheral:didDiscoverServices: delegate method did not get called any more. Only a reboot of the iOS device "fixes" the issue (there did not appear to be a need to reboot the accessory device).

Steps to Reproduce:
We have not found a way yet to reproduce the issue.

Expected Results:
After calling -discoverServices: on a CBPeripheral, the -peripheral:didDiscoverServices: should always get called eventually either when successfully completing the discovery or when failing (possibly due to a timeout for the whole process).

Actual Results:
The -peripheral:didDiscoverServices: delegate method did not get called at all.

Version:
iOS 8.3

Notes:


Configuration:
iPhone7,2 (N61AP)

Attachments:
'readme.txt' and 'com.getpebble.pebbletime.enterprise 2015-04-10 04-53.log' were successfully uploaded.

Comments


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!