Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2010

    PyS60 and btsocket

    I'm currently using an N97 and am attempting to get a simple bluetooth scanning application to run. I've got Python2.0.0 installed on the phone and the script shell is signed.
    The code I am using is this:

    import btsocket as socket
    address, services = socket.bt_obex_discover()
    print "Chosen device:", address, services

    When I run it on the phone I get the following error:

    address, services = socket.bt_obex_discover()
    error: (13, 'Permission denied')

    I've looked all over and have been unable to find a solution, has anyone else experienced this issue? Knows how to fix it?

    Thanks in advance, any help is much appreciated.

  2. #2
    Super Contributor
    Join Date
    Mar 2005

    Re: PyS60 and btsocket

    do you run this as a file script or as a command in the shell?

  3. #3
    Registered User
    Join Date
    Feb 2010

    Re: PyS60 and btsocket

    This is a PyS60 bug: https://garage.maemo.org/tracker/ind...=854&atid=3201

    I have the same problem on Nokia E52, but on Nokia N73 bt_discover working.

Similar Threads

  1. btsocket, RFCOM
    By amatrig in forum Symbian
    Replies: 0
    Last Post: 2010-08-29, 18:02
  2. btsocket and AT commands
    By kuba746 in forum Symbian
    Replies: 0
    Last Post: 2010-02-02, 20:08
  3. Replies: 0
    Last Post: 2009-11-30, 14:33
  4. btsocket problem pys60 1.9.6
    By finnsmama in forum Symbian
    Replies: 2
    Last Post: 2009-07-20, 19:48
  5. Replies: 4
    Last Post: 2009-06-10, 19:18

Posting Permissions

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