Re: Catching CBPeripheralManager disconnect
Arvydas, that is intended, as multiple apps on another iPhone may be connected with your peripheral app. Therefore, it is not possible for the iPhone to know when a specific client connects / disconnects, and it is also the reason why you cannot disconnect a link from the peripheral side. You will have to achieve that with an own method. In my case, I'm using periodic reads as a keep-alive mechanism. When the read does not occur regularly, the connection is considered timed out and the GUI accordingly updated. Etan On 18.02.2013, at 19:28, Arvydas Sidorenko <asido4@gmail.com> wrote:
I noticed that there are no delegate reporting when central disconnects on demand or on poor signal and no samples I have seen deals with that. Any ideas how this can be achieved on current iOS version? _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/kissling%40oberon.ch
This email sent to kissling@oberon.ch
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Etan Kissling