I am running core bluetooth in the background to scan for a device. It works fine, and pretty much stops when i QUIT the app manually. Apple docs state that the app can be woken up by the peripheral sometimes, and this may bring it from suspended state for about 10 seconds or so, do some operation and then go back to suspended.
For this to work, does the peripheral need to have already "connected" in order to wake up the app? Or can any new (undiscovered) peripheral wake up the app?