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

    My bad, I forgot that this is a known issue:

    The system OFF sleep mode is not supported in debug mode (since entering system OFF would disconnect the debug interface), so if you try to enter system OFF through the SoftDevice when you are in debug mode it will return this error. 

    If you build the release build and flash the board it should run fine without the debugger, and should not crash when entering sleep. 

    Can you give this a go?

    Best regards
    Torbjørn

Children
No Data
Related