public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] automatic change of link role?
@ 2004-06-23 12:52 Collin R. Mulliner
  2004-06-23 13:23 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Collin R. Mulliner @ 2004-06-23 12:52 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi List,

just a simple/stupid question. Do I have to change the link role
(master/slave) manually (by calling hci_switch_role) or does this happen
automatically if needed (the hci device is set to RSWITCH). I have a
program which will connect/disconnect to many different devices.


thanks ... Collin

-- 
Collin R. Mulliner <collin@betaversion.net>
BETAVERSiON Systems [www.betaversion.net]
info/pgp: finger collin@betaversion.net
RTFM: No just an acronym, it's the LAW!


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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

* Re: [Bluez-users] automatic change of link role?
  2004-06-23 12:52 [Bluez-users] automatic change of link role? Collin R. Mulliner
@ 2004-06-23 13:23 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-06-23 13:23 UTC (permalink / raw)
  To: Collin R. Mulliner; +Cc: BlueZ Mailing List

Hi Collin,

> just a simple/stupid question. Do I have to change the link role
> (master/slave) manually (by calling hci_switch_role) or does this happen
> automatically if needed (the hci device is set to RSWITCH). I have a
> program which will connect/disconnect to many different devices.

the link policy only allows role switch, it doesn't change the role. The
best way is to do it manually or set the link mode. The link mode can be
set for a device or also for a L2CAP listen socket.

Regards

Marcel




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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:[~2004-06-23 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-23 12:52 [Bluez-users] automatic change of link role? Collin R. Mulliner
2004-06-23 13:23 ` Marcel Holtmann

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