Thank you for the response. A constant bluetooth scan is necessary, that is what the application is designed to do - constantly detect nearby bluetooth devices. If your concern is battery drain well we have purchased numerous external power packs which will be able to power this for days. If there is another concern I am not aware with a constant scan please do share.
A single scan does not cause a drop, no. The application I designed calls startDiscovery() every time the discovery is finished (unless manually stopped) to keep it constant. To verify my suspicion that bluetooth discovery was causing the drops I connected the devices via WiFi Direct, navigated to Android's bluetooth settings on the device and manually tapped "Scan" every time it finished. Sure enough one of the connections dropped off after about 8 consecutive scans. I am using a Samsung Galaxy Tab 2 10.1 as the WiFi Direct group owner, and 2 Samsung Galaxy Tab 2 7.0 tabs which should send data to the group owner. The 7.0 devices are running the scans. On Tuesday, February 26, 2013 11:47:58 AM UTC-5, Matt M wrote: > > Hello, > > I made an application (for work, not for public use) that constantly runs > a bluetooth scan to detect any nearby devices. The next phase of the > application was to connect a few android devices together so that could > share the data they receive, to do this we purchased 3 Samsung Tabs to > connect them via WiFi Direct. > > The problem is the WiFi Direct connections ALWAYS drop when my application > is running (specifically running the bluetooth scan). When I do not run the > bluetooth scan the WiFi Direct connections have not disconnected. > > Does anyone have any information that could help me here? Am I just out of > luck and a bluetooth scan will always cause a WiFi Direct disconnect? > > Thank you, > > Matt. > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

