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

long-push button not work when nrf52832 is advertising

Hi:

I'm using SDK V17 & encounter a problem.

in my project, the nRF52832 doesn't broadcast at all.

Once the button1(EVK btn1) is pressed and lasting 5 seconds, 

nRF52832 starts broadcasting.

----------------------------------

The issue is

Once press the button1 with 5 seconds,   the "void bsp_event_handler(bsp_event_t event)" is not invoked.

And check function "bsp_button_event_handler" bsp.c in  SDK_Files\components\libraries\bsp\,

the cases, "APP_BUTTON_PUSH" & "BSP_BUTTON_ACTION_LONG_PUSH" of button_action" are executed in turn,

and even checked the statement " m_registered_callback(event);" is executed,

but  "void bsp_event_handler(bsp_event_t event)" is not executed at this case.

Can somebody help? 

Parents Reply Children
No Data
Related