Scanning and serving via Bluecove

Discussion in 'Java' started by sezgin.carman@gmx.de, Apr 30, 2006.

  1. Guest

    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?
     
    , Apr 30, 2006
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anthony Papillion II

    Perl, Email, and Scanning

    Anthony Papillion II, Nov 11, 2004, in forum: Perl
    Replies:
    1
    Views:
    555
    Gunnar Hjalmarsson
    Nov 11, 2004
  2. cgokey
    Replies:
    0
    Views:
    430
    cgokey
    Dec 30, 2005
  3. DartmanX
    Replies:
    1
    Views:
    2,509
    Roedy Green
    Apr 7, 2006
  4. Jeff Thies

    serving and downloading pdf's OT?

    Jeff Thies, Jan 29, 2004, in forum: HTML
    Replies:
    4
    Views:
    1,298
    Jeff Thies
    Jan 30, 2004
  5. ryuujin
    Replies:
    0
    Views:
    589
    ryuujin
    Nov 14, 2007
  6. Srinidhi

    Serving dynamic images and files

    Srinidhi, Apr 30, 2009, in forum: ASP .Net
    Replies:
    0
    Views:
    477
    Srinidhi
    Apr 30, 2009
  7. upro
    Replies:
    1
    Views:
    207
  8. Replies:
    1
    Views:
    183
Loading...