Skip to contentSkip to conversation

connect T610 to PC problem

Bluez-users Ka Kin Cheung 2 participants 2 messages Mar 23, 2005 – Apr 8, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi Fredy!

Quoted 15 lines

Ka Kin Cheung escribio':

Quoted 6 lines

Hi all!
I can connect T610 from PC successfully! The key point is: you have to set the same channel of SDP and rfcomm, and set the class in hciconfig as 0x200404 i.e. headset. Then after typing "rfcomm listen 0 ", the phone can connect to Pc successfully.

Quoted 8 lines

But then, I face a new problem. When I put the socket programming part in my main program, after I successfully connect T610 to the PC, it showed "dev/rfcomm0: no such device". Why is that? Then I looked at rfcomm/main.c, and put the cmd_listen part in my main program, but after that, when I tried to connect T610 to PC, the T610 always showed "Bluetooth connection failed". Why is that?

Quoted 3 lines

It is becouse you have a lm master, i only have :

lm accept;

But I checked /etc/bluetooth/hcid.conf, and I just found lm acept. Then I changed the line into lm accept, master, and then reboot PC, but the problem still exists.

Quoted 1 line

and y can add the pc to movil from movil

What do you mean about this sentence?

Thank you very much.
Michael

---------------------------------
Yahoo! 工具列 - 內置防止彈出視窗工能!

#1 lore raw

El mi=C3=A9, 23-03-2005 a las 09:11 +0800, Ka Kin Cheung escribi=C3=B3:

Quoted 1 line

Hi Fredy!

Hi , sorry the dealy, y have some problems whit my mail

Quoted 17 lines

=20

Quoted 15 lines

Ka Kin Cheung escribio':

Quoted 6 lines

Hi all!
I can connect T610 from PC successfully! The key point is: you have to set the same channel of SDP and rfcomm, and set the class in hciconfig as 0x200404 i.e. headset. Then after typing "rfcomm listen 0 ", the phone can connect to Pc successfully.

Quoted 8 lines

But then, I face a new problem. When I put the socket programming part in my main program, after I successfully connect T610 to the PC, it showed "dev/rfcomm0: no such device". Why is that? Then I looked at rfcomm/main.c, and put the cmd_listen part in my main program, but after that, when I tried to connect T610 to PC, the T610 always showed "Bluetooth connection failed". Why is that?

Quoted 1 line

It is becouse you have a lm master, i only have :

Quoted 8 lines

=20

Quoted 1 line

lm accept;

But I checked /etc/bluetooth/hcid.conf, and I just f ound lm acept. Then I changed the line into lm accept, master, and then reboot PC, but the problem still exists.
=20

Quoted 1 line

and y can add the pc to movil from movil

What do you mean about this sentence?

Sorry my bad english, i'm spanish speaker, a example for understand:
In the phone:
Connect -> bluethooth -> My Devices //remove your pc
Connect -> bluethooth -> My Devices -> add your pc //if can't see **

if Bluetooth connection failed put only lm accept;=20

Quoted 8 lines

=20
Thank you very much.
Michael
=20
=20
=20
______________________________________________________________________
Yahoo! =E5=B7=A5=E5=85=B7=E5=88=97 - =E5=85=A7=E7=BD=AE=E9=98=B2=E6=AD=A2=

=E5=BD=88=E5=87=BA=E8=A6=96=E7=AA=97=E5=B7=A5=E8=83=BD=EF=BC=81

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users