On Tue, Aug 30, 2016 at 04:10:58PM +0100, Tim Hutt wrote: > .max_ce_len = 10, // Units: 0.625 ms; min: 0; max 0xFFFF (40.9s) > // I really have no idea what to put in min/max_ce_len. I thought a > connection event was sending a few packets, so should take a couple of > milliseconds. > // Why would you ever have a 40s one?
The legal min/max connection intervals are 7.5 ms and 4.0 s. Reference: Bluetooth Core Specification v4.2 Vol 6 Part B Sec 4.5.1 (PDF page 2619). Very long connection intervals and long supervision timeouts allow devices to remain connected while consuming extremely small amounts of power. I've used 4 second intervals with a temperature sensor running off a CR2032 for months.
