All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] hci_create_connection
@ 2006-01-27  8:18 Mahtab Hossain
  2006-01-27 10:12 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Mahtab Hossain @ 2006-01-27  8:18 UTC (permalink / raw)
  To: bluez-users

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

I know this has been discussed a lot of times in  this list and the conclusion was that, only use "hci_create_connection"  for debugging purpose.
  
  I created the connections with "hci_create_connection" and the  connection gets lost everytime after 40-50 seconds just like the  following email from this list (mine are BroadCom based Dongles):
  
  
"I am connecting a Armadillo CF card to a TDK PC card using "hcitool cc
 <BD_ADDR>".  The connection appears fine, but after a short period (40 sec
 or so) seems to drop off.  I am running a script to monitor the RSSI values.
 This worked fine with a 3Com card, but connection drops with the TDK.
 
 Any ideas why?
 
 Tim"
 
  I didn't see any follow-ups to this email. Any insights on why this  should happen. I know "hci_create_connection" makes link-level  connections without taking into account the transport level protocols  (like L2CAP) running on the host. But for the RSSI, TPL etc.  extraction, I need to create only link-level connection so  "hci_create_connection" would have been perfect choice for me without  that problem. Any explanation?
  If not successful, I have to work around it by creating higher transport level connections it seems.
  
  Thanks
  Mahtab
  

			
---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

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

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

* Re: [Bluez-users] hci_create_connection
  2006-01-27  8:18 [Bluez-users] hci_create_connection Mahtab Hossain
@ 2006-01-27 10:12 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-01-27 10:12 UTC (permalink / raw)
  To: bluez-users

Hi Mahtab,

> I know this has been discussed a lot of times in this list and the
> conclusion was that, only use "hci_create_connection" for debugging
> purpose.

then stick with it.

> I created the connections with "hci_create_connection" and the
> connection gets lost everytime after 40-50 seconds just like the
> following email from this list (mine are BroadCom based Dongles):
> 
> "I am connecting a Armadillo CF card to a TDK PC card using "hcitool cc
>  <BD_ADDR>".  The connection appears fine, but after a short period (40 sec
>  or so) seems to drop off.  I am running a script to monitor the RSSI values.
>  This worked fine with a 3Com card, but connection drops with the TDK.
>  
>  Any ideas why?

we should a device keep a not used ACL link open. This costs power. I
also don't think that this is a problem of your card. It is a problem of
your target device. In general BlueZ doesn't drop connections.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-01-27 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-27  8:18 [Bluez-users] hci_create_connection Mahtab Hossain
2006-01-27 10:12 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.