Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to continiously search for bluetooth devices?

 
Zandis Murāns
Ranch Hand
Posts: 174
Java Java ME Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic