after the advertising timeout occurs the board goes into sleep mode and then immediately runs from the top of the main function. I know that a pin state change can wake up the device. Is there any other way that the device can wake up that I should be looking for?