Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-users] connect T610 to PC problem
@ 2005-03-22 15:03 Ka Kin Cheung
  2005-03-22 20:08 ` Fredy P.
  0 siblings, 1 reply; 4+ messages in thread
From: Ka Kin Cheung @ 2005-03-22 15:03 UTC (permalink / raw)
  To: bluez-users

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
<channel>", the phone can connect to Pc successfully.
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?
Please give any suggestion about it. If neccessary,
any user can ask me to send my programs to you to have
a look. Thank you very much for your kindness.
Michael 

_______________________________________________________________________
Yahoo! 工具列 - 內置防止彈出視窗工能!
http://toolbar.yahoo.com.hk


-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [Bluez-users] connect T610 to PC problem
@ 2005-03-23  1:11 Ka Kin Cheung
  2005-04-08 12:23 ` Fredy P
  0 siblings, 1 reply; 4+ messages in thread
From: Ka Kin Cheung @ 2005-03-23  1:11 UTC (permalink / raw)
  To: bluez-users

[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]

Hi Fredy!

>Ka Kin Cheung escribio':
>> 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.
>> 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?
>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.

>and y can add the pc to movil from movil
What do you mean about this sentence?
 
Thank you very much.
Michael



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

[-- Attachment #2: Type: text/html, Size: 1398 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-08 12:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 15:03 [Bluez-users] connect T610 to PC problem Ka Kin Cheung
2005-03-22 20:08 ` Fredy P.
  -- strict thread matches above, loose matches on Subject: below --
2005-03-23  1:11 Ka Kin Cheung
2005-04-08 12:23 ` Fredy P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox