This warning means that a CBPeripheral is being deallocated, even though it is currently connected. If you don’t need the device connected anymore, you can cancel the peripheral connection before deallocating the object to get rid of the warning.
- Craig On Nov 23, 2016, at 6:59 AM, Nick Brook < email@hidden> wrote:
Apologies, that is not the same API misuse. I should read better. I made this which should help you debug.
On 23 Nov 2016, at 14:55, Janis Innuss < email@hidden> wrote: Hi,
I am trying to connect to peripheral. Usually it works perfect, but now sometimes weird error shows up. When I am connected it straight away disconnects and shows me this: "[CoreBluetooth] API MISUSE: Forcing disconnection of unused peripheral. Did you forget to cancel the connection?"
Maybe somebody has experience where could be the problem here. Thanks.
Janis
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|