Can you maintain connection while sleeping?

4 posts / 0 new
Last post
bigfoot_skinner
Offline
Last seen:5年11个月前
加入:2015-01-20 20:09
Can you maintain connection while sleeping?

I am working on a project with the goal of keeping the "awake" time as short as possible (I only have a 15 ms window to work with after wakeup). Using the template_fh project, I got the BT chip to wakeup, advertise, connect, send data, and go back to extended sleep. This process takes way too long, and I'm wondering if there is a way to maintain a connection with a central device while in extended sleep mode. (I figure this should shorten my awake time, as I won't have to reconnect upon wakeup) Is this possible? If so, how do you enable this in the software?

Keywords:
TR_Dialog
Offline
Last seen:2 weeks 17 hours ago
工作人员
加入:2014-06-30 23:52
Hi,

Hi,

You can use the connection update function to request a larger connection interval and slave latency to the central. This will allow you to keep the connection with central with longer periods of sleep time. Note that it is upto the central to decide on these two parameters.

Thanks,

TR_DIALOG

prasanth.velliy...
Offline
Last seen:1year 8 months ago
加入:2016-02-18 12:18
Hi Dialog

Hi Dialog

As you have mentioned in the above post
" connection update function to request a larger connection interval and slave latency to the central. This will allow you to keep the connection with central with longer periods of sleep time "

is this only for extended sleep mode or for all sleep modes ??

MT_dialog
Offline
Last seen:1day 29 min ago
工作人员
加入:2015-06-08 11:34
Hi prasanth.velliyangiri,

Hi prasanth.velliyangiri,

The connection update parameters request is defined by the BLE specification, its not a 580 standard, it is supported in all sleeping modes, even in no sleep mode at all.

Thanks MT_dialog