Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java Micro Edition and the fly likes how to continiously search for bluetooth devices? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "how to continiously search for bluetooth devices?" Watch "how to continiously search for bluetooth devices?" New topic
Author

how to continiously search for bluetooth devices?

Zandis Murāns
Ranch Hand

Joined: Aug 18, 2009
Posts: 174

The main idea is to startInqury() and in the inquryCompleted() do startInqury() again. In practic - if I do so, I am getting BluetoothStateException "The previous device discovery is running". Why does this happens? By logic - in inquryCompleted() that device discovery should be ended, true? How do I check if discovery is still active or not? JSR082 API docs ir very poor with information.
 
jQuery in Action, 2nd edition
 
subject: how to continiously search for bluetooth devices?
 
Similar Threads
Problem in Device Descovery via Bluetooth
Multicast on Offline Windows 2000 - Impossible?
Bluetooth project.....device and service discovery
communication between pc and mobile
bluetooth application