public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Connection with a phone stays open after closing RFCOMM channel
@ 2005-02-27 13:25 Victor Shcherbatyuk
  2005-02-28  8:07 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Victor Shcherbatyuk @ 2005-02-27 13:25 UTC (permalink / raw)
  To: bluez-devel; +Cc: victor

Hi Marcel!

I have the following prob.:

My prog. listens on a RFCOMM chan. (adv. as HF channel via SDP) of  a 
laptop, when I 
connect from my phone to the laptop the chan. is opened, I send some 
commands to configure the phone and when finished, close the chan. The 
problem is that L2CAP connection stays open, from the output of hcidump I 
see that laptop sends DISC request on dlci 6 and receives UA, but then 
according to protocol it should also then send DISC for dlci 0, and then 
terminate L2CAP -- it does not happen...
If I do the same, but initiating connection from laptop - it works fine...
I'm sure there is no other RFCOMM chan. opened.

I have latest lib. and utils, 2.6.10 kernel not pached. The phone is 
SE630.

Thanks in advance.

Kind regards,
          Victor Shcherbatyuk.
 -- 
P.S. btw, phone detects that RFCOMM chan. is closed and changes HF icon to 
general connected icon...



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

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

* Re: [Bluez-devel] Connection with a phone stays open after closing RFCOMM channel
  2005-02-27 13:25 [Bluez-devel] Connection with a phone stays open after closing RFCOMM channel Victor Shcherbatyuk
@ 2005-02-28  8:07 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-02-28  8:07 UTC (permalink / raw)
  To: BlueZ Mailing List; +Cc: victor

Hi Victor,

> My prog. listens on a RFCOMM chan. (adv. as HF channel via SDP) of  a 
> laptop, when I 
> connect from my phone to the laptop the chan. is opened, I send some 
> commands to configure the phone and when finished, close the chan. The 
> problem is that L2CAP connection stays open, from the output of hcidump I 
> see that laptop sends DISC request on dlci 6 and receives UA, but then 
> according to protocol it should also then send DISC for dlci 0, and then 
> terminate L2CAP -- it does not happen...
> If I do the same, but initiating connection from laptop - it works fine...
> I'm sure there is no other RFCOMM chan. opened.

sounds like a bug in the phone. Send in the "hcidump -X -V" for it.

Regards

Marcel




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

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

end of thread, other threads:[~2005-02-28  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-27 13:25 [Bluez-devel] Connection with a phone stays open after closing RFCOMM channel Victor Shcherbatyuk
2005-02-28  8:07 ` Marcel Holtmann

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