So, I'm trying to work around the Ble Uart example, using the PCA10003 Board. The example uses one of the buttons as a "Wakeup" source, but during the bsp_init() call, the button is not really assigned to any event. I've also been looking at the Blinky example, and it seems like that buttons and gpio are handled in very different ways during the two examples.
My real question, is how is the Button really assigned as a wakeup source? Is it just the fact that it is set-up to be "scanned" by the bsp_buttons_enable() call?
In addition, should the two ways of dealing with buttons LEDs be kept separate, or can I use the same technique as the Blinky example to set up a button interrupt to transmit data?
It also seems strange to send data using printf, am I confused, or is printf the "proper" way of sending data to the bluetooth module?