All the SDK health device examples appear to have a rather complicated relation between the BSP buttons and the behavior of the device (advertising, connected, etc.) which means the BSP module must have intimate knowledge of these states somehow. Then it does all other kinds of things that I do not want it to do. In other words pressing button 1 does different things depending upon the state to the extent I get a BSP DISCONNECT EVENT!!!
All I want is to respond to a button press as I want to do it. I do NOT want the buttons to assume ahead of time that I am using button one to wake or sleep or disconnect if its a long push and I am connected, etc. I want a simple event that says I just pressed button one or button two etc. I have four buttons on my DK. What I do in response to those events is up to me. Being able to do that allows me to simulate what the actual device will do when I work with the real sensor on the production unit.
My guess is that I ditch the BSP button module and just use the app_button module, but it's probably not that simple. Any where I can get guidance?