link_policy.c (128079) | link_policy.c (133178) |
---|---|
1/* 2 * link_policy.c 3 * 4 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * $Id: link_policy.c,v 1.3 2003/08/18 19:19:54 max Exp $ | 1/* 2 * link_policy.c 3 * 4 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * $Id: link_policy.c,v 1.3 2003/08/18 19:19:54 max Exp $ |
29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/link_policy.c 128079 2004-04-09 23:58:53Z emax $ | 29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/link_policy.c 133178 2004-08-05 16:32:41Z emax $ |
30 */ 31 32#include <bluetooth.h> 33#include <errno.h> 34#include <stdio.h> 35#include <string.h> 36#include "hccontrol.h" 37 --- 208 unchanged lines hidden (view full) --- 246"role_discovery <connection_handle>", 247"\nThe Role_Discovery command is used for a Bluetooth device to determine\n" \ 248"which role the device is performing for a particular Connection Handle.\n" \ 249"The connection handle must be a connection handle for an ACL connection.\n\n" \ 250"\t<connection_handle> - dddd; connection handle", 251&hci_role_discovery 252}, 253{ | 30 */ 31 32#include <bluetooth.h> 33#include <errno.h> 34#include <stdio.h> 35#include <string.h> 36#include "hccontrol.h" 37 --- 208 unchanged lines hidden (view full) --- 246"role_discovery <connection_handle>", 247"\nThe Role_Discovery command is used for a Bluetooth device to determine\n" \ 248"which role the device is performing for a particular Connection Handle.\n" \ 249"The connection handle must be a connection handle for an ACL connection.\n\n" \ 250"\t<connection_handle> - dddd; connection handle", 251&hci_role_discovery 252}, 253{ |
254"switch_role <bdaddr> <role>", | 254"switch_role <BD_ADDR> <role>", |
255"\nThe Switch_Role command is used for a Bluetooth device to switch the\n" \ 256"current role the device is performing for a particular connection with\n" \ 257"another specified Bluetooth device. The BD_ADDR command parameter indicates\n"\ 258"for which connection the role switch is to be performed. The Role indicates\n"\ 259"the requested new role that the local device performs. Note: the BD_ADDR\n" \ 260"command parameter must specify a Bluetooth device for which a connection\n" 261"already exists.\n\n" \ | 255"\nThe Switch_Role command is used for a Bluetooth device to switch the\n" \ 256"current role the device is performing for a particular connection with\n" \ 257"another specified Bluetooth device. The BD_ADDR command parameter indicates\n"\ 258"for which connection the role switch is to be performed. The Role indicates\n"\ 259"the requested new role that the local device performs. Note: the BD_ADDR\n" \ 260"command parameter must specify a Bluetooth device for which a connection\n" 261"already exists.\n\n" \ |
262"\t<bdaddr> - xx:xx:xx:xx:xx:xx; device bdaddr\n" \ 263"\t | 262"\t<BD_ADDR> - xx:xx:xx:xx:xx:xx BD_ADDR or name\n" \ 263"\t<role> - dd; role; 0 - Master, 1 - Slave", |
264&hci_switch_role 265}, 266{ 267"read_link_policy_settings <connection_handle>", 268"\nThis command will read the Link Policy setting for the specified connection\n"\ 269"handle. The link policy settings parameter determines the behavior of the\n" \ 270"local Link Manager when it receives a request from a remote device or it\n" \ 271"determines itself to change the master-slave role or to enter the hold,\n" \ --- 34 unchanged lines hidden --- | 264&hci_switch_role 265}, 266{ 267"read_link_policy_settings <connection_handle>", 268"\nThis command will read the Link Policy setting for the specified connection\n"\ 269"handle. The link policy settings parameter determines the behavior of the\n" \ 270"local Link Manager when it receives a request from a remote device or it\n" \ 271"determines itself to change the master-slave role or to enter the hold,\n" \ --- 34 unchanged lines hidden --- |