×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    26

    Bluetooth search without list?

    Hello all,

    Is it possible to make a device search for Bluetooth devices without showing the list of devices to choose from? I tried this:
    Code:
    import socket
    sock = socket.socket(socket.AF_BT,socket.SOCK_STREAM)
    addr,services = socket.bt_discover()
    print "Discovered: %s, %s@ (addr,services)
    Thank you

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Bluetooth search without list?

    Quote Originally Posted by eng_electric View Post
    Hello all,

    Is it possible to make a device search for Bluetooth devices without showing the list of devices to choose from? I tried this:
    Code:
    import socket
    sock = socket.socket(socket.AF_BT,socket.SOCK_STREAM)
    addr,services = socket.bt_discover()
    print "Discovered: %s, %s@ (addr,services)
    Thank you
    hello eng_electric

    AFAIK that is not yet possible in PyS60. And sorry if i am missing something.

    Regards
    Gaba88

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    26

    Re: Bluetooth search without list?

    Oh that's a shame .
    Is there a document or reference that i can use that tells it is not possible to make a search without the list having to pop out? And where can i find Programming with Python for S60 Platform?

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Bluetooth search without list?

    Quote Originally Posted by eng_electric View Post
    Oh that's a shame .
    Is there a document or reference that i can use that tells it is not possible to make a search without the list having to pop out?
    Actually there is nothing mentioned in the docs about how to search without the list.

    Quote Originally Posted by eng_electric View Post
    And where can i find Programming with Python for S60 Platform?
    what do you mean this are you asking for the documentation. Then you need to download this

    Hope this helps

    Regards
    Gaba88

  5. #5
    Registered User
    Join Date
    Jul 2009
    Posts
    26

    Re: Bluetooth search without list?

    I'm reading the document PyS60 Library Reference 1.4.0, and inside the list of reference they have:

    [6] Programming with Python for S60 Platform, available at http://www.forum.nokia.com/
    That's another reference document right? Because I have seen them refer to it many times e.x: For an example on using this module, see [6].

    Question:
    When using
    Code:
    import socket
    sock = socket.socket(socket.AF_BT,socket.SOCK_STREAM)
    addr,services = socket.bt_discover()
    print "Discovered: %s, %s@ (addr,services)
    Can I print all the services and addresses that it finds without having to press and select each device?
    Last edited by eng_electric; 2009-07-30 at 14:17.

Similar Threads

  1. How To Make The S60 Emulator See My USB Bluetooth Dongle ?
    By Mo7ammed_01 in forum Bluetooth Technology
    Replies: 9
    Last Post: 2009-07-17, 02:33
  2. Search Box Problem in Double Large Stylle List Box
    By Asif Nazir in forum Symbian User Interface
    Replies: 7
    Last Post: 2009-06-16, 11:48
  3. Replies: 2
    Last Post: 2008-12-17, 05:20
  4. Bluetooth Device Search
    By gmetal in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-10-24, 05:27

Posting Permissions

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