[ENGLISH] KMobileTools and Bluetooth Phones

iManc's picture

Installation of the tools necessary to use Bluetooth phones with KMobileTools.


In the lastest 2.4.x and 2.6.x kernels Bluetooth support is already included, so we don't have to patch anything.
You only need to install some packages.

From the website www.bluez.org, Downloads section, get all the avaliable archives and install them in this order:


bluez-libs-2.9.tar.gz

bluez-utils-2.9.tar.gz

bluez-pin-0.23.tar.gz

bluez-firmware-1.0.tar.gz

bluez-hcidump-1.10.tar.gz

bluez-hciemu-1.0.tar.gz

in the usual way:


./configure

make

(this as root) make install



or you can go to http://www.bluez.org/packages.html to find some precompiled deb e rpm packages.
Now we need to launch two little daemons:



hcid

sdpd

>


When connecting our USB Bluetooth key, or any other adapter, check dmesg output to verify if your device is recognized.

The next step is to view your phone address.
Open bluetooth connection on your phone and type on your terminal:



hcitool scan

>


after a bit you'll read something similar to:


00:0E:07:CF:C2:C9 iManc T630



The first string is the phone address (depending from your model), the second is his name.

Now we need to create a device /dev/rfcomm0 that will associate with that address.
With:



mknod /dev/rfcomm0 c 216 0



create /dev/rfcomm0 if it's not present, and with:



rfcomm bind 0 1


associate it with your phone address..

To use qtmobiletools you should now only link /dev/mobile to /dev/rfcomm0:



ln -s /dev/rfcomm0 /dev/mobile



Or you can overwrite /dev/mobile if it exists with:



ln -sf /dev/rfcomm0 /dev/mobile


That's all, now your BlueTooth phone and KMobileTools can communicate!

howto

Hi!
IMHO this description is still too complicated

kmobiletools needs a wizzard which does the config-procedure as root (like k3b setup) if ever this should be usable by normal users.

nevertheless do not forget (link) the "pairing" procedure for bloutooth devices.

idealy the call to kmobiletools should be done as RMB in
bluetooth:/ --> sdp:/ --> respectively

this is a log of my siemens S65 serial chat.

Bluetooth Serial Chat
Connected to 00:01:E3:41:53:3D on channel 1.
+CIEV: 2,2
at
at OK
+CIEV: 2,3
+CIEV: 2,2
+CIEV: 2,3
+CIEV: 2,2
AT S7=45 S0=0 V1 X4 &c1 E0
+CIEV: 2,3
AT S7=45 S0=0 V1 X4 &c1 E0 OK

+CIEV: 2,2
+CIEV: 2,3
AT+CMGF=0
OK
AT+CSCS="8859-1"
ERROR
AT+CSCS="GSM"
AT+CSCS="GSM" OK
aT+CGMI;+CGMM;+CGMR;+CGSN
SIEMENS S65 12,"OFFICIAL","20040812T182642-2200","22:40:04","19.08.04","kzdb4#main_1.0_V119.6 ","M_c65plat_MP_main_1.0","klf_zidb4" 353910003374405 OK
>>>AT+CBC;+CSQ
+CBC: 0,40 +CSQ: 16,99 ERROR
AT+CBC;+CSQ
+CBC: 0,40 +CSQ: 17,99 ERROR
AT+CPMS="MT"
+CPMS: 10,110,0,10,0,10 OK
ATD+431
NO CARRIER
+CIEV: 8,101
+CIEV: 2,3

btw bluetooth handsfree works - can make calls

so obviously I was not able to configure the rfcomm correctly.

cu
ferdinand