Re: long service/characteristic discovery times in BLE
Re: long service/characteristic discovery times in BLE
- Subject: Re: long service/characteristic discovery times in BLE
- From: Joakim Linde <email@hidden>
- Date: Fri, 17 Feb 2012 00:35:30 -0800
Hi Bob,
You can speed up the service and characteristic discovery process by decreasing the connection interval. The Peripheral ca request a shorter connection interval (20 ms for instance)l to speed up the process. After the process is complete, the Peripheral switches to a longer connection interval to save power.
Thanks, Joakim
On Feb 10, 2012, at 2:03 PM, Bob Frankel wrote:
hi,
benchmarks reveal that i can connect to my BLE peripheral in
well under .5 secs (time from connectPeripheral to
didConnectPeripheral), but then subsequent discovery of services
and characteristics takes over 4 secs.... in my case, i have
*one* service; and its takes over 2 secs to discover it (even if
i explicitly specifiy its UUID in discoverServices).... my
profile has 25 characteristics, which likewise take over 2 secs
to discover.... [i've found that the discovery time is
definitely proportional to the number of characteristics in the
profile; and we happen to have lots of these]
is there any thing i can do accelerate this??? is it possible
to "persist" a peripheral, once i've discovered its
services/characteristics so i don't have to repeat this step
upon each (re-)connection??? the user-experience suffers,
despite that fact that BLE connect is very fast indeed....
thanks,
bob.
|
_______________________________________________
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