ble_app_hids_keyboard will not run if SEC_PARAM_BOND = 0

Hi Nordic Team,

We have no problem with using ble_app_hids_keyboard app,

However, in some use cases, we would like the application to run as "Just Works" to access other characteristics, say battery voltage characteristics for example. And well in some cases depending on the connected client HID can work without bonding too.

 Testing this just with nrf52 DVK,   When SEC_PARAM_BOND  = 0, the firmware faults.

In debug, runs to the last call in Main.c peer_manager_init();

Appears to be in the peer manager  pm_init(void)?

Any thoughs on how we can get this to run?

Regards,

Eric

Parents
  • Hi

    What SDK version are you using specifically? Have you made any other changes to the ble_app_hids_keyboard example, and are you able to see any error code if you use logging to see what happens in the application?

    If you set SEC_PARAM_BOND to 0 the device won't be able to do bonding at all, and I assume you still try to do bonding somewhere in your application, which will then not be supported. Please check out the Peer Manager usage chapter to see how the peer manager is used in various scenarios.

    Best regards,

    Simon

Reply
  • Hi

    What SDK version are you using specifically? Have you made any other changes to the ble_app_hids_keyboard example, and are you able to see any error code if you use logging to see what happens in the application?

    If you set SEC_PARAM_BOND to 0 the device won't be able to do bonding at all, and I assume you still try to do bonding somewhere in your application, which will then not be supported. Please check out the Peer Manager usage chapter to see how the peer manager is used in various scenarios.

    Best regards,

    Simon

Children
No Data
Related