Hi
I am unable to configure the nrf52840 dongle in client mode in light switch mesh example. I have changed the simple_hal.h to include the dongle board as
/** Boards with user buttons */
#define BUTTON_BOARD (defined(BOARD_PCA10059) ||defined(BOARD_PCA10040) || defined(BOARD_PCA10028) || defined(BOARD_PCA10056) || defined(BOARD_PCA10100)) //lint -e491 // Suppress "non-standard use of 'defined' preprocessor operator"
But got no success in controlling the button. I tried debugging the code through leds when i press the button it is not even going inside button handler as well.
Is there any example which can help or what changes i need to do in the code. I have followed Bjørn Kvaale thread for changing the led configurations to run the server in dongle->
#if defined(BOARD_PCA10059)
#define LED_START LED_1
#define LED_STOP LED_4
but didn't got anything regarding the sw1 button for client.
Thanks in Advance
Anuprit