Mirror get into blacklist on bluetooth phone

Hi All,

We are working on the mirror project that to show different content on the mirror based on mobile phone status. On iOS device, we found that sometimes we see error information. The problem only exists on iOS devices. The code is:

self.mirrorClient.display(sneakersBanner, onMirror: “mirrorID”)

: [CoreBluetooth] XPC connection invalid. And on the Console log, we can see the following information:

default 16:18:51.648145 -0400 SpringBoard Number of connectedDevices that may be blacklisted : 0
default 16:19:05.285208 -0400 bluetoothd Session “com.apple.sharingd-central-64-195” : needsRestrictedStateOperation = 0, overrideRestrictedState = 1 , blacklistMode = 0
default 16:19:13.855407 -0400 bluetoothd Session “newwifi-5-central-413-196” : needsRestrictedStateOperation = 0, overrideRestrictedState = 0 , blacklistMode = 0
default 16:19:14.861540 -0400 bluetoothd Session “newwifi-5-central-413-197” : needsRestrictedStateOperation = 0, overrideRestrictedState = 0 , blacklistMode = 0
default 16:19:14.924719 -0400 bluetoothd Session “newwifi-5-central-413-198” : needsRestrictedStateOperation = 0, overrideRestrictedState = 0 , blacklistMode = 0
default 16:19:15.037695 -0400 SpringBoard Adding device to connectedDevices that may be blacklisted
default 16:19:15.037816 -0400 SpringBoard Number of connectedDevices that may be blacklisted : 1

default 16:19:15.478493 -0400 SpringBoard Number of connectedDevices that may be blacklisted : 0

have you seen this before? Do you think this is an setting issue?
Best Regards,
Ying

Nobody truly seems to know what this mystical “XPC connection invalid” means, and from my own experience, most of the time it doesn’t seem to cause any problems. Are you experiencing any particular issues?

Hi heypiotr,
Thank you for your reply. For us, this message shows up every second until the content is displayed on the screen through mirror. We use the code of :
self.mirrorClient.display(content_poster, onMirror: mirror_identification)
Best Regards,
Ying

@yingwangbupt,

As we were also discussing about the issue on the private channel and you managed to fix that issue, could you share here what’s the solution of that problem?

Hi Arek,
We really didn’t do much, just restart mirror and the mobile device, clean and rebuild the Xcode, somehow the blacklist issue disappeared. The CoreBluetooth error is still there, and will repeat every second till the content shows up on mirror. On average the CoreBluetooth error lasts about 5 seconds.
Ying