Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Scanning and serving via Bluecove

Reply
Thread Tools

Scanning and serving via Bluecove

 
 
sezgin.carman@gmx.de
Guest
Posts: n/a
 
      04-30-2006
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?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pushing object to mobile phone using BlueCove ryuujin Java 0 11-14-2007 04:31 PM
Accessing WMI Service and Scanning Subnets via an Applet DartmanX Java 1 04-07-2006 08:45 PM
Serving windows media and real audio streams as MP3 cgokey Java 0 12-30-2005 05:56 PM
serving and downloading pdf's OT? Jeff Thies HTML 4 01-30-2004 12:33 AM
Fax via ISDN-Card, and scanning with multifunctional device upro Perl Misc 1 09-05-2003 08:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57