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

pc-ble-driver - Connection Request Failed, reason 4

Hi, I am trying to connect 4 devices with the pc-ble-driver. Therefore I modified the heartrate example.

3 Devices are connecting fine - on the 4th connection request I get: Connection Request Failed, reason 4 => No Memory for operation

In ble_stack_init() ble_enable_params.gap_enable_params.central_conn_count is set to 4.

If I try to connect 4 devices with nRFConnect 2.1.0 instead - all is working fine!

What is the difference here?

Also I am still facing the question: Which optimisations in FW or on pc-ble-driver side can I perform for maximum throughput with pc-ble-driver to 4 central(only) connections?

regards

Frederik

Parents
  • Oh im sorry, there was some missing information about MAX_PEER_COUNT - I modified the example to use MAX_PEER_COUNT to be also used by ble_enable_params.gap_enable_params.central_conn_count as mentioned above.

    So it's still the error described in the post:

    - ble_enable_params.gap_enable_params.central_conn_count = 4 doesn't work for 4 devices.
    - ble_enable_params.gap_enable_params.central_conn_count = 5 doesn't work for 4 devices
    - ble_enable_params.gap_enable_params.central_conn_count = 6 works for 4 devices 
    

    It's the parameter passed to sd_ble_enable()

Reply
  • Oh im sorry, there was some missing information about MAX_PEER_COUNT - I modified the example to use MAX_PEER_COUNT to be also used by ble_enable_params.gap_enable_params.central_conn_count as mentioned above.

    So it's still the error described in the post:

    - ble_enable_params.gap_enable_params.central_conn_count = 4 doesn't work for 4 devices.
    - ble_enable_params.gap_enable_params.central_conn_count = 5 doesn't work for 4 devices
    - ble_enable_params.gap_enable_params.central_conn_count = 6 works for 4 devices 
    

    It's the parameter passed to sd_ble_enable()

Children
No Data
Related