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

Using blinky and hid at the same time.

Hello!

I want to develop such a functional: nrf52840 receives a line from my application that it saves to memory, and then, when I click on the button, it returns this line as a keyboard (hid device).

Therefore, I decided to start small by combining the examples ble_app_blinki and ble_app_hids_keyboard. Of course, they should have different uuid. But these attempts lead to the fact that the controller simply does not start.

Is there a ready-made example or tutorial to do this? This and this do not help. Thanks for attention!

Parents
  • Hi,

    You write that "the controller simply does not start". There is always something happening. Can you elaborate? Have you attempted to debug to see what happens? The most typical reason for such an observed behavior is that an error check has been hit. Is that the case? If you have not already, please make sure to test a debug build (just select Debug from the build configuration dropdown if building in SES) and enable logging. Then you should get a printout in the log indicating the file, line number, and error code if an error has been detected.

    There is no ready-made example that combines ble_app_blinky and ble_app_hids_keyboard that I am aware of, but you may find Merging two BLE examples together useful.

Reply
  • Hi,

    You write that "the controller simply does not start". There is always something happening. Can you elaborate? Have you attempted to debug to see what happens? The most typical reason for such an observed behavior is that an error check has been hit. Is that the case? If you have not already, please make sure to test a debug build (just select Debug from the build configuration dropdown if building in SES) and enable logging. Then you should get a printout in the log indicating the file, line number, and error code if an error has been detected.

    There is no ready-made example that combines ble_app_blinky and ble_app_hids_keyboard that I am aware of, but you may find Merging two BLE examples together useful.

Children
Related