Python Bluetooth Console
Some information i stole from MIT
From: http://org.csail.mit.edu/mode/index.php/BT_console_on_Windows
The "Programming with Python 1.0" document discusses an indispensable tool for interactive Python development, an interactive console over Bluetooth. Unfortunately, BT is such a fickle technology that setting things up are not straightforward. The symptoms were:
with Hyperterminal, couldn't even figure out how to connect to a BT port
when starting bt_console.py, after discovery the script crashes as it cannot connect
This is what needed to be done (Windows 2000, IBM Integrated Bluetooth II, IBM Thinkpad X31).
Open Control Panel -> Bluetooth Configuration
Make sure other BT devices can discover this computer (under Accessibility tab)
In Local Services, check whether there is Bluetooth Serial Port.
If there isn't one, click Add Serial Device, select both Startup Automatically and Secure Connection and choose port (in my case I used COM port 5)
If the settings were not as described above, change them from Properties
Open Hyperterminal (Programs -> Accessories -> Communications -> HyperTerminal)
Give a new connection its name (I used bt), press OK, Connect Using the right port (mine is, as said above, COM 5), select connection speed (115200 seems to work)
In your handset, open Python, run script bt_console.py (of course BT must be on on both handset and PC), select the PC
Hit enter on Hyperterminal, you should get the Python prompt.
I didn't, which was due to there already being a serial BT connection between the phone and PC. This was due to the PC suite of Nokia 6600, which showed in its Connection Properties (small icon on the toolbar that looks like two end connectors of computer cable) that BT was connected in COM 5. After disabling that (from the Connection Properties window), the Hyperterminal worked.
© Copyright David Ayman Shamma: ayman shamma•gmail com