From Internet Tablet Talk
This page is in heavy dev. Please contribute if you've got it working nicely!
You will need:
- A Nokia 770 with XTerm installed and the ability to be root
- A Windows PC
- A USB bluetooth stick or similar bluetooth antenna for the PC
Installing the bluetooth device on your Windows PC
1: For a USB stick this is easy: shove it in a free USB port and when Windows detects your hardware, give it the driver CD.
2: Click My Computer > Bluetooth Places, open up the services and ensure that the Network Access service is set to automatically start and that the bluetooth device is allowed to connect through this PC.
Pairing the 770 with the PC
1: On the 770, tap the phone icon and search for a new phone. It should find your PC's bluetooth device.
2: The 770 will give you a 4-digit PIN. Note it down and tap OK.
3: Your Windows PC will notice that the 770 is trying to communicate. You'll see a notification popup. Click it, and enter the PIN that the 770 gave you. Your devices will now pair.
Connecting the 770 and PC
(After RealNitro - thanks :) Ultimately this should be set to a script and assigned to an icon, which may require editing the sudoers file to allow certain commants (like hcitool) to be run using sudo instead of forcing you to be root)
1: On the 770, fire up XTerm and be root.
2: Enter hcitool scan. The 770 will scan the area for discoverable bluetooth devices and will report them thus:
Scanning...
00:01:02:03:04:05 My PC
The twelve-digit hex code is the Bluetooth Device Address (BD address). It's unique to the physical bluetooth device so you should be able to note and script this for automagical connection.
3: To establish a connection, enter hcitool cc 00:01:02:03:04:05.