×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    130

    BT connection to RFID reader

    I am trying to connect to BT RFID reader using JSR 82

    String myServerUrl="btspp://" + device.getBluetoothAddress()+":5;encrypt=false;authenticate=true";

    StreamConnectionNotifier notifier =(StreamConnectionNotifier) Connector.open(myServerUrl);

    It gives me the following exception SecurityException: Permission Denied.

    Is anybody knows something about it?

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    130

    Re: BT connection to RFID reader

    Ok. I did connected Nokia 6131 NFC to RFID reader and discovered service, but if I try to open connection it throws me exception:

    javax.bluetooth master /slave role switch not supported


    Service url discovered is:

    btspp://000780803xxx:1;authenticate=false;encrypt=false;master=true

    StreamConnection conn = (StreamConnection) Connector.open(myServerUrl);



    And if I put

    btspp://000780803xxx:1;authenticate=false;encrypt=false;master=false

    it gave me Permission denied exception.
    Last edited by Alex_Polt; 2008-09-04 at 08:27.

Similar Threads

  1. Connection times out after 10 requests...
    By QSIPhone in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2007-04-09, 17:29
  2. connection to serial port
    By marluzch in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-11-20, 19:47
  3. MMS Interruption during GPRS connection hangs the device?
    By alexhong in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2004-08-31, 18:47
  4. MMS Interruption during GPRS connection hangs the device?
    By alexhong in forum Mobile Java General
    Replies: 0
    Last Post: 2004-08-31, 18:45
  5. Replies: 5
    Last Post: 2003-02-07, 11:25

Posting Permissions

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