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

Buttons on the ble_app_uart example

Hi,

I am working with the ble_app_uart (central and peripheral) example and they already run fine. Now I discovered that some button actions are already defined on the example (BSP_EVENTS) but if I press the buttons nothing happens to the status of my devices.

From what I understood, the button 1 if pressed for more than one second should disconnect the BLE connection between my devices, am I right? I tried to add some more events (BSP_EVENT_KEY_1, BSP_EVENT_KEY_2, etc) but they don't affect my device.

From what I said before I'm having problems using the buttons, when I press them nothing happens. Only if I press button 4 the program goes to the BSP handler. Did anyone had the same error and discovered an answer to it?

I'm working with one nRF51-DK and one nRF51-Dongle (both S130 and SDK11), one with ble_app_uart and another with ble_app_uart_c examples.

I searched for some questions about this, but couldn't find any information about this. Thanks for the help

Related