I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this
I am using nRF52832 board to un provision the device using the button from the hardware.how to configure this
In samplehal.c they handled it only for rtt not for the button from the board.
Hi,
Have you tried to test with the light switch server example ?
Have you looked at the hal_buttons_init() function ?
Hi,
I tested with that didnt worked with button pressed externally.
Is this sample server example works for the dongle?as it has only one button i.e reset button
if yes,please explain how it is possible to un provision tthe dongle with the buttons
If you have different hardware you need to match the button GPIO pin with the pin configured in the BUTTON_LIST define. If you have a look inside hal_buttons_init() you will find NRF_GPIO->PIN_CNF[] is called to define the buttons configuration. And GPIOTE_IRQHandler() is to handle when there is a button press.