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

Multi link BLE HID connection

Hello, I make multii-link peripheral device with 3 BLE HID connections. I extend heap and stack to 16kb and set properties RAM_START=0x20004000 RAM_SIZE=0x3c000. As the base project I take ble_app_hids_keyboard from examples.

1.When I try to connect this device to PC its connect and its fail with Error_code 0x3204 when void identities_set(pm_peer_id_list_skip_t skip) function is calling.

2. Device is fail when it go to sleep mode with Error_code 0x2006

What is the reason of this errors and how to fix them?

My mcu is nrf52840.

Best regards Anatolii

Parents Reply
  • Hi

    1. It is probably easiest if you stop advertising after establishing a new connection, and then wait until the call to pm_device_identities_list_set() happens, and then restart advertising again. 

    2. There could be many reasons for this. What is the disconnect reason reporter in the disconnected event?

    3. Can you show me the code you use to enter sleep?

    Best regards
    Torbjørn

Children
Related