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

Central remote host disconnect using S130 under 12.2.0 SDK.

Hi,

I am using the S130 central pairing to just one peripherial at a time.  Upon power up after hard/soft reset, the central connects to my peripherial just fine, transfer data correctly using custom characteristics, and the central executes the following disconnect command after completing data transfer task.

sd_ble_gap_disconnect(m_ble_sds_c.conn_handle,
                                            BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);

The disconnect procedure works correctly and the peripheral is released, swtiches back to advertising normaly and can be attached to a different host/central.

However, the central the executed the sd_ble_gap_disconnect() can no longer connect to the peripheral.  Whitelist is not used.

Any idea as to what I am missing?

Thanks!

  • Hello,

    However, the central the executed the sd_ble_gap_disconnect() can no longer connect to the peripheral. 

     What do you mean? The central can't scan? Does it see the advertisements? is it not allowed to connect?

    Also, are you sure that you are using S130? Or maybe you used the wrong tag?

    nRF51 or nRF52832? And S130 or S132?

    Best regards,

    Edvin

Related