cancelPeripheralConnection misbehavior?
cancelPeripheralConnection misbehavior?
- Subject: cancelPeripheralConnection misbehavior?
- From: Andras Kovi <email@hidden>
- Date: Sat, 03 Nov 2012 15:15:03 +0100
I observed that after I cancel a peripheral connection and set the peripheral reference to nil, the peripheral object is collected by ARC and a warning is shown that the peripheral was still in use (disconnecting if it was connected earlier).
So I have two questions:
1. Can I turn this warning off? If I cancel a peripheral connection, I don't care what happens to the peripheral object later.
2. If I have to be aware of the connecting and disconnecting states, then why isn't there a flag on CBPeripheral that shows it? Every application will have to reimplement this anyway.
Thanks,
Andras
_______________________________________________
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