Hi,
我用祝福peripheral solution. I need to set the BLE connection event duration to maximum window value.
In user_config.h file in my app, I see it as (which I suppose means that use smallest window possible?):
/// Minimum Connection Event Duration measured in ble double slots (1.25ms)
/// use the macro MS_TO_DOUBLESLOTS to convert from milliseconds (ms) to double slots
.ce_len_min = MS_TO_DOUBLESLOTS(0),
/// Maximum Connection Event Duration measured in ble double slots (1.25ms)
/// use the macro MS_TO_DOUBLESLOTS to convert from milliseconds (ms) to double slots
.ce_len_max = MS_TO_DOUBLESLOTS(0),
For maximum window coverage, do I directly set it to 0xFFFF, or any other value?
.ce_len_min = 0xFFFF,
.ce_len_max = 0xFFFF,
If not, what is the right way to do this?
Hi, dhrishi
The default value (0) means there's no limitation, the connection will continue as long as the slave wants to and the window is available. The option exists in order to allow people to limit it if they need.
BR,
Qinjin Yang
Thanks a lot for your reply. So, keeping both min and max as zero is the same as setting them to max value 0xFFFF. Is this what you mean?
Keep them as they are now (zeros) should be what you expected to do. Honestly I'm not sure what's going to happen if you set them to 0xFFFF