Introduction: PyS60: Remote (via Bluetooth) Python Console to Your Nokia Phone (Mac OSX 10.4 Tiger)

Connect from your Mac over bluetooth to a Python Console running on your Nokia S60 (Series 60) smartphone.

I did it on my Nokia E70, but it should work equally well for all S60v2 and S60v3 phones as well. (E50, E60, E61, E62, E70, E90, n70, n80, n95, 6820, 6822, etc)

Most easily read with instructables all steps on one page view

Credit for this process belongs to Erik Smartt
http://www.eriksmartt.com/blog/archives/55

Step 1: Install Python on Your Phone.

Go to the PyS60 Sourceforge Page and download the newest release of Python for your Nokia Phone. At the time of writing, for my Nokia E70 (Series 60 3rd Edition) that was PythonForS60_1_4_0_3rdEd.sis.

Also install the Python Script Shell (for my E70 the file is: PythonScriptShell_1_4_0_3rdEd.sis )

Step 2: Bluetooth Pair Your Phone

Pair your phone with your Mac (if you haven't done so already). If you can't do this, you're going to have trouble programming python me thinks ;)

On your mac, in the Bluetooth System Preferences pane, add your phone as a 'Favorite' so your phone can automatically connect.

On your phone, in the Bluetooth application, set your Mac as "Authorized" so your mac can automatically connect.

Step 3: Create the Bluetooth Serial Port

In the Bluetooth System Preferences pane, under the sharing tab:

Click "Add Serial Port Service"
Name it something you'll remember (like 'bt_console').
Change the 'Type' from Modem to 'RS-232'.

Step 4: Connect to the Serial Port in Terminal

Open the Terminal Application and run the following command:
screen /dev/tty.bt_console 

Changing bt_console if you named the serial port something different.
Leave this window open and switch to your phone for the next step.

Step 5: Open Python on the Phone

From your phone, launch the Python application.
If you do not see an icon for python, please return to Step 1 and make sure you've installed both Python and the Script Shell.

1. From the Python application, press the left soft key and select 'Bluetooth console'.
2. Select 'Other...'
3. Select your Mac from the list of computers to connect to.
4. Select 'bt_console' from the list of available ports.
5. Set it as the default (so next time you can save yourself some time).

Step 6: Back to the Mac (You're Done!)

You should now see the following in your terminal window on your mac.