This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

S130 connection offen break

Hi,I use S130 V1.0 working as a master,and connect a device.My device adverting interval is 800ms, and gap_conn_params.min_conn_interval = MIN_CONN_INTERVAL;//MIN_CONN_INTERVAL=500ms ,gap_conn_params.max_conn_interval = MAX_CONN_INTERVAL;//MAX_CONN_INTERVAL=1000ms.The master scan param is : scan interval=1000ms ,scan window=500ms,and the master connection param is:MIN_CONNECTION_INTERVAL=25ms,MAX_CONNECTION_INTERVAL=937ms.When I use the following function err_code = sd_ble_gap_connect(m_sys_data_store.obd_addr.addr,m_scan_param,m_connection_param);,err_code = NRF_ERROR_INVALID_PARAM.If change the master connection param to MIN_CONNECTION_INTERVAL=7.5ms,MAX_CONNECTION_INTERVAL=30ms,the master can connect to the device ,but the connection offen breaks,the device notification data lost .How to solute the problem?

Related