×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    3

    Bluetooth PushRegistry on 6680

    Hi,

    I implements PushRegistry for Bluetooth connection using Nokia 6680.
    The midlet starts, but does not received any data (that is acceptAndOpen() does not returns).

    The JAD file contains the following lines:

    MIDlet-1: M-CliniQ,/Bird_image.png,BTECG.MainApp
    MIDlet-Permissions: javax.microedition.io.PushRegistry,javax.microedition.io.Connector.bluetooth.server,javax.microedition.io.Connector.bluetooth.client

    The relevant source code fragments are:

    public final static String btUrl = "btspp://localhost:1101";

    if (PushRegistry.getMIDlet(btUrl) == null)
    PushRegistry.registerConnection(btUrl, getClass().getName(), "*");

    StreamConnectionNotifier notifier = (StreamConnectionNotifier) Connector.open(btUrl);
    StreamConnection streamConnection = notifier.acceptAndOpen();

    Any idea or suggestion will be appreciated.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    What is wrong with this thread? Please answer there…

Similar Threads

  1. No BlueTooth Serial Profile on Nokia 6680 !
    By dajeff69 in forum Mobile Java General
    Replies: 20
    Last Post: 2007-04-27, 10:30
  2. Simultaneous Bluetooth connections on 6680
    By drazvan in forum Bluetooth Technology
    Replies: 2
    Last Post: 2006-04-09, 11:17
  3. Bluetooth server not visible on 6680
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 16
    Last Post: 2005-10-15, 17:59
  4. Bluetooth PushRegistry (6230)
    By rapajic in forum Bluetooth Technology
    Replies: 8
    Last Post: 2005-09-02, 06:45
  5. Nokia 7650 support Bluetooth audo?
    By ovjo12 in forum Bluetooth Technology
    Replies: 5
    Last Post: 2003-07-17, 18:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×