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?

Parents
  • FormerMember
    0 FormerMember

    When the central doesn't receive any notifications, which error code does the peripheral have on its side when it tries to transmit notifications?

    Note: For the peripheral to be able to transmit notifications, the central will first have to enable notifications by writing to the CCCD in the characteristic in question on the peripheral side.

Reply
  • FormerMember
    0 FormerMember

    When the central doesn't receive any notifications, which error code does the peripheral have on its side when it tries to transmit notifications?

    Note: For the peripheral to be able to transmit notifications, the central will first have to enable notifications by writing to the CCCD in the characteristic in question on the peripheral side.

Children
No Data
Related