Disconnecting from a peripheral
Disconnecting from a peripheral
- Subject: Disconnecting from a peripheral
- From: Kaelin Colclasure <email@hidden>
- Date: Wed, 25 Jul 2012 11:05:13 -0700
Greetings,
As I am exploring the CoreBluetooth API, I am not finding any method for disconnecting from a peripheral. The CBCentralManagerDelegate protocol has a -centralManager:didDisconnectPeripheral:error: method, but how do I initiate a disconnect from the central application?
I did try -cancelPeripheralConnection: on an established connection, but as far as I was able to see my test peripheral (a TI CC2540DK_EM Peripheral dev board) still thought the connection was active. (Only when I terminated the central application did it go back to advertising.)
-- Kaelin
_______________________________________________
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