Connecting your Windows Mobile 2005 device via Bluetooth using Bluetooth
From SynCE-Wiki
SynCE - Bluetooth
Please note that this information is quite Linux-specific.
1. Install BlueZ. The needed modules are at least:
bluez-libs bluez-utils bluez-sdp bluez-pan
Hint: You may have to create your /dev/rfcomm* devices manually like this:
for i in `seq 0 255`; do mknod -m 666 /dev/rfcomm$i c 216 $i done
2. Modify the device class in /etc/bluetooth/hcid.conf. Suitable values:
0xbe0104 - Workstation 0xbe0108 - Server 0xbe010c - Laptop
See https://www.bluetooth.org/foundry/assignnumb/document/baseband for more.
3. Create a special PPP peer file called /etc/ppp/peers/dun
nodefaultroute noauth local 192.168.131.102:192.168.131.201 ms-dns 192.168.131.102 linkname synce-device
4. Try the /usr/bin/bluepin program to see that it works. If not, replace it with this hack. Adjust PIN as needed.
#!/bin/sh echo "PIN:1234"
5. Start dund so that it advertises an Activesync service :
If you have a device that is running Windows CE 2 or 3 then the following should work :
dund --listen --msdun call dun sdptool add SP
If you have a device that is running Windows Mobile then the following will work
dund --listen --activesync --msdun call dun
NOTE : the --activesync flag is only available in bluez with version > 2.25
6. In the Bluetooth Manager on the PDA, go to the "Device Information" page for the PC, check the "ActiveSync partner" checkbox. (If this checkbox is disabled you forgot to modify /etc/bluetooth/hcid.conf or you need to use the other dund command above.)
7. Make sure you have started vdccm as your normal user (not root).
8. You should now be able to use the "Start ActiveSync" menu entry found when you tap the Bluetooth Manager icon on the Today screen.
9. You can have something like this in /etc/rc.local or similar file to prepare your computer for Bluetooth connection from boot. This is for RedHat 9 and Fedora Core 1/2:
/sbin/service bluetooth restart /usr/bin/dund --listen --msdun call dun /usr/bin/sdptool add SP /usr/bin/sudo -u david /usr/bin/dccm // with wm5 you have to use odccm
(The Bluetooth service is restarted because that made everything work much better for me on my Thinkpad T30... don't know why.)
10. Please note that the synce-serial-config and synce-serial-start scripts are never used with Bluetooth connections!
If this information is not enough, please see if Daniele Nicolodi's HOWTO is helpful.
It is also possible to connect over Bluetooth Personal Area Network (PAN) by following the instructions by Joe Ammond in the mail titled "Bluetooth serial vs. Bluetooth network ActiveSync"
(both links seems to be bad -- wimpunk)
