• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Connect immediately with peripheral in standby mode(Background mode)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Connect immediately with peripheral in standby mode(Background mode)


  • Subject: Re: Connect immediately with peripheral in standby mode(Background mode)
  • From: Andras Kovi <email@hidden>
  • Date: Sat, 06 Apr 2013 20:37:02 +0200

In background mode the scanning speed is reduced significantly, on average 55 times slower. With 20ms the discovery time should be around 1s. With 300ms it would be 16.5s. With your current setting the 1 minute time range is totally plausible. You need to lower the advertisement interval to get better figures.

The other thing you may try is connection in the background. Keep your peripheral off for most of the time and turn it on when needed. My experience is that the connection is much faster than scanning. Of course, you need to evaluate the power budget for such a setup and it will highly depend on fine tuning.

Regards,
Andras

On 2013.04.06., at 19:24, Jack Phan <email@hidden> wrote:

With 1294ms advertising interval in your peripheral, so your central in scanning mode should be able to discover and connect in this range 1294ms.
There is a free app for BLE, you could use it to check your peripheral.
https://itunes.apple.com/us/app/lightblue/id557428110?mt=8&ign-mpt=uo=4

Hope it helps.

Jack


On Sat, Apr 6, 2013 at 3:57 AM, Rushabh <email@hidden> wrote:
We are working with Bluetooth accessary that will always be on and advertise packets if application is not connected with device.

As per Apple's Bluetooth Design Guidelines

Bluetooth accessory should use the recommended advertising interval of 20 ms for at least 30 seconds.

As our accessary will keep alway on if we use 20 ms then it is taking too much power.

So we are using 1294 ms advertising interval. But with this interval our application is taking almost 10 to 45 seconds to connect with peripheral in stand by mode.

Is there any solution to connect peripheral immediately when application is in standby mode and come in a range.

Thanks,
Rushabh
 _______________________________________________
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

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
References: 
 >Connect immediately with peripheral in standby mode(Background mode) (From: Rushabh <email@hidden>)
 >Re: Connect immediately with peripheral in standby mode(Background mode) (From: Jack Phan <email@hidden>)

  • Prev by Date: Re: Connect immediately with peripheral in standby mode(Background mode)
  • Next by Date: Re: Connect immediately with peripheral in standby mode(Background mode)
  • Previous by thread: Re: Connect immediately with peripheral in standby mode(Background mode)
  • Next by thread: Re: Connect immediately with peripheral in standby mode(Background mode)
  • Index(es):
    • Date
    • Thread