RE: Connection Interval parameter on iOS.
Keep an eye on which thread or queue the NSTimer is scheduled on. If you run your Bluetooth code on another queue than the main queue, there is a big chance the timer will not be executed. GCD worker threads don't use NSRunLoop which is necessary to run a NSTimer. Joakim -----Original Message----- From: bluetooth-dev-bounces+jfernstad=stratos.com@lists.apple.com [mailto:bluetooth-dev-bounces+jfernstad=stratos.com@lists.apple.com] On Behalf Of Charles Y. Choi Sent: Wednesday, October 02, 2013 10:51 AM To: bluetooth-dev@lists.apple.com Bluetooth Subject: Re: Connection Interval parameter on iOS. Srikanth - No, there is no support for connection interval timeouts in CoreBluetooth. That said, it's straightforward enough to implement a watchdog timer. The link below illustrates how to go about doing this. https://github.com/kickingvegas/YmsCoreBluetooth/blob/master/YmsCoreBluetoot... Charles On Oct 2, 2013, at 7:15 AM, srikanth.bonthapally@wipro.com wrote:
Is there any iOS corebluetooth function to set the connection interval timeout.
_______________________________________________ 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/jfernstad%40stratos.co... This email sent to jfernstad@stratos.com _______________________________________________ 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)
-
Joakim Fernstad