Hi Sir
While developing the BLE HID Mouse, we have found that the DEFAULT_ENABLE_UPDATE_REQUEST was set to FALSE as default and seems everything is working as expected.
However the BLE link connection would be lost between BLE Peripheral and Central, when the DEFAULT_ENABLE_UPDATE_REQUEST was configured as TRUE.
We have traced the code and found GAP_LINK_PARAM_UPDATE_EVENT was received without error. we also have verified and found this issue in other TI example code as well, like HIDEmuKbd and HeartRate.
we test this function on Window 8 and modify some parameter as below.
// Minimum connection interval (units of 1.25ms) if automatic parameter update request is enabled
#define DEFAULT_DESIRED_MIN_CONN_INTERVAL 6
// Maximum connection interval (units of 1.25ms) if automatic parameter update request is enabled
#define DEFAULT_DESIRED_MAX_CONN_INTERVAL 8
// Slave latency to use if automatic parameter update request is enabled
#define DEFAULT_DESIRED_SLAVE_LATENCY 0
// Supervision timeout value (units of 10ms) if automatic parameter update request is enabled
#define DEFAULT_DESIRED_CONN_TIMEOUT 1000
// Whether to enable automatic parameter update request when a connection is formed
#define DEFAULT_ENABLE_UPDATE_REQUEST TRUE
BRs
Matt