Return-Path: Message-ID: <20050323011147.34760.qmail@web60904.mail.yahoo.com> From: Ka Kin Cheung Subject: Re: [Bluez-users] connect T610 to PC problem To: bluez-users@lists.sourceforge.net In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1068803032-1111540307=:34055" Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 23 Mar 2005 09:11:47 +0800 (CST) --0-1068803032-1111540307=:34055 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit 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! ?u???C - ???m?????u?X?????u???I --0-1068803032-1111540307=:34055 Content-Type: text/html; charset=big5 Content-Transfer-Encoding: 8bit
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 f ound 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! ?u???C - ???m?????u?X?????u???I
--0-1068803032-1111540307=:34055-- ------------------------------------------------------- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users