Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User AndriusA's Avatar
    Join Date
    Jun 2009
    Posts
    26
    Hello,

    Does anyone know how to make lightblue work on pys60 1.9.x? Tried it on 1.9.4 and 1.9.6, three different phones (all nokia 6210 navigators) and without any success. It installs sucessfully, doesn't give any errors, is listed among installed applications, but when trying to import lightblue, doesn't find the module:

    >>> import lightblue
    Traceback (most recent call last):
    File "<console>", line 1, in <module>
    File "c:\resource\python25\python25.zip\site.py", line 109, in platsec_import
    raise ImportError("No module named " + name)
    ImportError: No module named lightblue

    Any suggestions/alternative packages? Thanks.

    AndriusA

  2. #2
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    Hi,

    You have to port it to get it to work with PyS60 1.9.x. General instructions are in src\PyS60_1_9_x_README.txt from pys60-1.9.6_src.zip that you can download from maemo garage.

    Or you can use the bt_discover function from the btsocket module (details in the documentation).

  3. #3
    Registered User AndriusA's Avatar
    Join Date
    Jun 2009
    Posts
    26
    Thanks.

    Is it possible to use bt_discover without user interaction? Didn't find anything about that in the documentation..

    AndriusA

  4. #4
    Nokia Developer Moderator bogdan.galiceanu's Avatar
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471
    I don't think so. The user has to pick the device from the list of devices found. At least that's how I think it works.

Similar Threads

  1. How to improve the efficiency and veracity of Bluetooth devices discovering
    By kernelhao in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-02-27, 16:50
  2. Bluetooth scanning for devices
    By drvdijk in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2008-03-20, 10:57
  3. Bluetooth ServiceDescovery only discover 1 of 2 phones
    By lampz in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2008-03-03, 12:55
  4. Finding real bluetooth devices on emulator
    By mckswk in forum Bluetooth Technology
    Replies: 1
    Last Post: 2007-02-06, 16:18
  5. problem in transfer data with Bluetooth in real devices
    By tortoisevn in forum Bluetooth Technology
    Replies: 1
    Last Post: 2006-11-07, 11:35

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