Scanning and serving via Bluecove

S

sezgin.carman

Hi,

I am using Bluecove for scanning for bluetooth devices:

locDevice = LocalDevice.getLocalDevice();
agent = locDevice.getDiscoveryAgent();
agent.startInquiry( DiscoveryAgent.GIAC, new Listener() );

That works.
I am also serving a SPP connection on the same computer:

StreamConnectionNotifier server = (StreamConnectionNotifier) Connector
.open("btspp://localhost:"
+ uuid
+ ";name="
+ name
+ ";authorize=false;authenticate=false;encrypt=false");
server.acceptAndOpen()

Works also fine.
My problem is: While I am scanning, I cannot establish connections to
my server. There is no problem, if I first connect. Then it is possible
to exchange data with the server and disconnect while scanning.
Where is the problem?
Am I doing something wrong?
Does Bluecove not support this?
Does Microsoft Bluetooth Stack not support this?
Does Bluetooth not support this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top