Mar 16

Bluetooth PAN on Openmoko

Last night I could finally finish the 0.8 release of SettingsGUI. The touch based application for Openmoko does now feature a configuration interface for Bluetooth Personal Area Networks. After setting up such a Network (touching the “Connect” button on both ends) I could get two Neo1973 phones to communicate with each other.

SettingsGUI will use the last byte of the 6 bytes long Bluetooth Address as fourth number in its IP Address. That way most devices will reach each other without any further configuration.


The new Bluetooth Panel in SettingsGUI

Thanks to Professor Dr. RĂ¼diger Weis who privately financed the second Neo1973 as our university does not seem to be able to equip students with GSM capable hardware.

In the picture you can see the two Neo1973 (GTA01) with SettingsGUI running. Also I could successfully test a configure where the default gateway points to my Laptop, so that ip-forwarding would work. That way you can surf the Web using Bluetooth on Openmoko. Bluetooth 2.0 can reach a transfer speed of about 2 MBit/s which is about as fast as DSL, so it is fun to use.

Since last week SettingsGUI and the three other tools I wrote for Openmoko are part of the Moko Underground movement at neo1973-germany.de where they finally found a SVN home.

I would be happy about any kind of feedback regarding SettingsGUI.

2 comments

2 Comments so far

  1. gego July 11th, 2008 11:37

    gr8!
    i got my Freerunner some dayes ago, and i insaled your app, it does not work, i can only see a “black” screen[ no content in the window] and i get errors in the terminal..

    settings –display 0:0
    0.1: 0.128309965134
    0.2: 0.8006939888
    0.3: 2.15333604813
    1: 2.15705800056
    2: 2.24207687378
    Traceback (most recent call last):
    File “/usr/lib/python2.5/site-packages/settingsgui/SettingsGUI.py”, line 107, in create_UI
    self.add_notebook_page(AudioPanel(), “moko-speaker”)
    File “/usr/lib/python2.5/site-packages/settingsgui/AudioPanel.py”, line 35, in __init__
    self.create_notebook_page()
    File “/usr/lib/python2.5/site-packages/settingsgui/AudioPanel.py”, line 143, in create_notebook_page
    init_volume = self.get_volume(channel[1])
    File “/usr/lib/python2.5/site-packages/settingsgui/AudioPanel.py”, line 99, in get_volume
    return int(amix_out.split(’=')[1])
    ValueError: invalid literal for int() with base 10: ‘on\n’
    Waiting for all processes to quit…

  2. kriss July 11th, 2008 11:51

    Thanks for your comment. I don’t have a Freerunner yet.
    So SettingsGUI is not tested there.

    You can uncomment Line 98 and 99 in AudioPanel.py to ignore the current audio setting. This should fix your problem for now.

    As soon as my Freerunner arrives I’ll fix that bug in SVN and drop you a message

Leave a comment