I was able to successfully connect iPhone and Mac using Bluetooth.
iPhone is central and Mac is peripheral. Once connected, both can communicate (iPhone subscribes to some features advertised by the Mac).
But after some (random?) Time, the iPhone Bluetooth icon is unavailable, and the iPhone no longer receives Bluetooth messages from the Mac.
Why? How can I make the last message?
EDIT: here is the error: advertised didDisconnectPeripheral:
Domain = CBErrorDomain Code = 6 "Connection time ended unexpectedly.
source
share