×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2004
    Location
    Rome (Italy)
    Posts
    24

    How to get pairing with GPS?

    I wrote this for connect to a GPS receiver but the midlet stops at the 2nd row of this code and in NCF I can see a row with command "PIN_Code_Request_Reply 0x0d". Does the GPS requiring a code for pairing? How do I can make this?
    Code:
    String url = "btspp://" + remoteDevice.getBluetoothAddress() + ":1";
    			StreamConnection connection = (StreamConnection) Connector.open(url,Connector.READ);
    			InputStreamReader reader = new InputStreamReader(connection.openInputStream());
    Tnx for help

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: How to get pairing with GPS?

    hi,
    gsp module like Nokia LW-D3 requires pairing (just "0000" key to enter),
    not sure about other modules,

    regards,
    Peter

  3. #3
    Registered User
    Join Date
    Nov 2004
    Location
    Rome (Italy)
    Posts
    24

    Re: How to get pairing with GPS?

    Yes my GPS (Nemerix) has pin '0000' too but how can I insert programmatically? I don't know why in my phone (Nokia 6630) this code works without inserting any code.

  4. #4
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: How to get pairing with GPS?

    hi,

    your device (6630) can be set as already paired and authorized device (in Bluetooth implementation)
    http://discussion.forum.nokia.com/fo...hlight=pairing

    regards,
    Peter

  5. #5
    Registered User
    Join Date
    Nov 2004
    Location
    Rome (Italy)
    Posts
    24

    Re: How to get pairing with GPS?

    Yes I know. In fact the problem appear only when I use NCF while emulating an USB adapter. On the phone application works perfectly. Does it exist a "GPS environment" that can I use with NCF for debug my applications?

Similar Threads

  1. Setting the passcode key while pairing with GPS receiver?
    By mayur_24 in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2009-08-08, 16:52
  2. Question Regarding GPS ?
    By nhorvath1 in forum General Development Questions
    Replies: 1
    Last Post: 2006-07-11, 20:18
  3. Replies: 6
    Last Post: 2005-12-19, 19:12
  4. GPS - Bluetooth connection problem
    By can_bal99 in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-08-22, 13:11
  5. Nokia12 GPS
    By marko.vucetic in forum Nokia M2M
    Replies: 2
    Last Post: 2004-05-30, 23:49

Posting Permissions

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