Plug unplug to initiate scanning function


We are developing an app based on the sample SDK. In order to get the app to work consecutively you have to either unplug and replug the sensor in order to wake it up, or to back out of the app via the home button and then get back into the app, at this point the scanning app starts fine and is able to scan.

Any help would be much appreciated.

Thank you.