Device does not disconnect properly
Device does not disconnect properly
- Subject: Device does not disconnect properly
- From: Jimmy Adler <email@hidden>
- Date: Wed, 03 Oct 2012 10:39:59 +0200
Hi,
I am trying to read out some values from a BLE device and then disconnect from it.
After I'm done reading I call:
[centralManager cancelPeripheralConnection:peripheral];
and I get the callback:
didDisconnectPeripheral
In the callback I check:
[peripheral isConnected] and it comes back as 0.
However, the device appears to still be connected, when looking in the settings app under bluetooth. It takes and additional 30 seconds or so before the device is actually released, and I belive that this is due to the device closing the connection, since it has a timeout of about that long if no transmissions are made, it will go to sleep.
Is there any other way to do the diconnect?
Br,
Jimmy
_______________________________________________
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