Brian Benavides
Brian Benavides

Reputation: 5

iPhone 8/X BLE Advertising Failed

We have an iOS peripheral mode app that has been in use since iOS 10. We are now starting to see issues when the app is used on iPhone 8 or X.

The failure we see is that the app does not Advertise even though the peripheralManager.startAdvertising(nil) function call completes successfully (no errors thrown)

When viewing the logs through the console application I see the following entries that seem troubling...

error 14:29:20.743060 -0500 bluetoothd LE Advertising already in progress (handle:0 state:2). (status=65535)  
error 14:29:20.743103 -0500 bluetoothd LE Advertising already in progress (handle:0 state:2). (status=65535)  
error 14:29:20.743529 -0500 bluetoothd LE_StartAdvertising failed with status BM3 STATUS 118 currentAdvHandle=0 gMultiAdvCompleteCb=0x00000001025CEE84 numOfInstances=2  
error 14:29:20.743574 -0500 bluetoothd LE_StartAdvertising failed with status BM3 STATUS 118 currentAdvHandle=0 gMultiAdvCompleteCb=0x00000001025CEE84 numOfInstances=2  
error 14:29:20.744222 -0500 bluetoothd Failed to start advertising with result 118  
error 14:29:20.744274 -0500 bluetoothd Failed to start advertising with result 118  

We have not changed any code in our app and it seems to function properly with older device up to iPhone 7 Plus. The problem can be alleviated by cylcing Bluetooth in Settings (not Control Center) or restarting the device. However, the issue will come back and it is unpredictable.

Has anyone else experience this problem or have any insight into what may be going on?

Thanks

Upvotes: 0

Views: 306

Answers (0)

Related Questions