Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User tfm's Avatar
    Join Date
    Jul 2006
    Posts
    23
    Well through another J2SE bluetooth app I figured out the URL for my Nokia 6600.

    Now I'm trying to open a connection with the cellphone through the following code but the cell phone is asking for a PIN. What pin should I give or how can I set PIN on the J2SE app.

    Here is the code:

    public void send()
    {
    String url = "btspp://000E6DE87294:2;authenticate=false;master=false;encrypt=false";
    try
    {
    StreamConnection strCon = (StreamConnection)Connector.open(url);
    }
    catch(Exception e)
    {
    e.printStackTrace();
    }
    }

  2. #2
    Super Contributor jimgilmour1's Avatar
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600
    Hi Welcome to bluetooth.

    Now I'm trying to open a connection with the cellphone through the following code but the cell phone is asking for a PIN. What pin should I give or how can I set PIN on the J2SE app.

    The reason you are being asked for a pin is because you have not paired the the device. The normal pin for headset and others is "0000", four zeros.

    This has to be given from on both sides of the link, no matter what number you decide to use.

    Good Luck
    Jim

Similar Threads

  1. Retrieving Cell IDs: serving cell, strongest cell
    By dornbusc in forum Symbian C++
    Replies: 3
    Last Post: 2009-06-09, 16:25
  2. cell id and location area code
    By vvsnaresh in forum Symbian C++
    Replies: 5
    Last Post: 2009-01-04, 12:55
  3. I have some question about Cell ID and Cell Name
    By clickzika in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2008-12-03, 14:46
  4. Need help Yucca!! on Grid cell formatting
    By xxyyzz in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-11-17, 06:23
  5. Cell name
    By aaron1 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-09-01, 10:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved