Description of setup/problem.
1 PCA10056 is defined as Central
1 PCA10056 defined as Peripheral.
I have used the “ble_app_uart_c” and “ble_app_uart” examples as starting point for my applications.
I have added functionality and removed functionalities from the examples. Everything works fine. On the peripheral and central I use the app_button library and have defined 18 buttons on the peripheral with no problems. On the Central unit I have until now used Button 1 on the PCA10056 board as button for initiating pairing, but when it comes to our custom central board, I cannot use any of the pins that are assigned to Button1 to Button 4 on the PCA10056.
Yesterday I defined another pin as pairing pin; pin 19 (P0.19) but could not detect any event when that button (connected to pin 19) was pushed. (I use a breadboard to connects buttons, LED, analogue and digital sensors). If I use one of the PCA10056 buttons I can detect an event if the button is pushed, even that I have removed boards.h/boards.c, bsp.c/h bsp.btn.ble.c, etc.
I have compared sdk.config on my peripheral unit with the central unit, I use the same app_button, etc, but cannot see why I can only use those pins defined as Button 1 to Button 4 on the board which are defined as central unit. If I flash a custom board with the same SW the push at the button connected to pin 19 is detected.
I assume there is something in the SDK that overwrite my settings, but I cannot figure out what it could be. Do you have any ide of what this may be due to?
Kind regards, Svein