Deleted Added
full compact
host_controller_baseband.c (131216) host_controller_baseband.c (133178)
1/*
2 * host_controller_baseband.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: host_controller_baseband.c,v 1.4 2003/08/18 19:19:53 max Exp $
1/*
2 * host_controller_baseband.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: host_controller_baseband.c,v 1.4 2003/08/18 19:19:53 max Exp $
29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c 131216 2004-06-28 00:58:53Z emax $
29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/host_controller_baseband.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

--- 1470 unchanged lines hidden (view full) ---

1508"write_pin_type <pin_type>",
1509"\nThe Write_PIN_Type command is used for the Host to write to the Host\n" \
1510"Controller whether the Host supports variable PIN codes or only a fixed PIN\n"\
1511"code.\n\n" \
1512"\t<pin_type> - dd; 0 - Variable; 1 - Fixed",
1513&hci_write_pin_type
1514},
1515{
30 */
31
32#include <bluetooth.h>
33#include <errno.h>
34#include <stdio.h>
35#include <string.h>
36#include "hccontrol.h"
37

--- 1470 unchanged lines hidden (view full) ---

1508"write_pin_type <pin_type>",
1509"\nThe Write_PIN_Type command is used for the Host to write to the Host\n" \
1510"Controller whether the Host supports variable PIN codes or only a fixed PIN\n"\
1511"code.\n\n" \
1512"\t<pin_type> - dd; 0 - Variable; 1 - Fixed",
1513&hci_write_pin_type
1514},
1515{
1516"read_stored_link_key [<bdaddr>]",
1516"read_stored_link_key [<BD_ADDR>]",
1517"\nThe Read_Stored_Link_Key command provides the ability to read one or\n" \
1518"more link keys stored in the Bluetooth Host Controller. The Bluetooth Host\n" \
1519"Controller can store a limited number of link keys for other Bluetooth\n" \
1520"devices.\n\n" \
1517"\nThe Read_Stored_Link_Key command provides the ability to read one or\n" \
1518"more link keys stored in the Bluetooth Host Controller. The Bluetooth Host\n" \
1519"Controller can store a limited number of link keys for other Bluetooth\n" \
1520"devices.\n\n" \
1521"\t<bdaddr> - xx:xx:xx:xx:xx:xx BD_ADDR",
1521"\t<BD_ADDR> - xx:xx:xx:xx:xx:xx BD_ADDR or name",
1522&hci_read_stored_link_key
1523},
1524{
1522&hci_read_stored_link_key
1523},
1524{
1525"write_stored_link_key <bdaddr> <key>",
1525"write_stored_link_key <BD_ADDR> <key>",
1526"\nThe Write_Stored_Link_Key command provides the ability to write one\n" \
1527"or more link keys to be stored in the Bluetooth Host Controller. The\n" \
1528"Bluetooth Host Controller can store a limited number of link keys for other\n"\
1529"Bluetooth devices. If no additional space is available in the Bluetooth\n"\
1530"Host Controller then no additional link keys will be stored.\n\n" \
1526"\nThe Write_Stored_Link_Key command provides the ability to write one\n" \
1527"or more link keys to be stored in the Bluetooth Host Controller. The\n" \
1528"Bluetooth Host Controller can store a limited number of link keys for other\n"\
1529"Bluetooth devices. If no additional space is available in the Bluetooth\n"\
1530"Host Controller then no additional link keys will be stored.\n\n" \
1531"\t<bdaddr> - xx:xx:xx:xx:xx:xx BD_ADDR\n" \
1532"\t - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx up to 16 bytes link key",
1531"\t<BD_ADDR> - xx:xx:xx:xx:xx:xx BD_ADDR or name\n" \
1532"\t<key> - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx up to 16 bytes link key",
1533&hci_write_stored_link_key
1534},
1535{
1533&hci_write_stored_link_key
1534},
1535{
1536"delete_stored_link_key [<bdaddr>]",
1536"delete_stored_link_key [<BD_ADDR>]",
1537"\nThe Delete_Stored_Link_Key command provides the ability to remove one\n" \
1538"or more of the link keys stored in the Bluetooth Host Controller. The\n" \
1539"Bluetooth Host Controller can store a limited number of link keys for other\n"\
1540"Bluetooth devices.\n\n" \
1537"\nThe Delete_Stored_Link_Key command provides the ability to remove one\n" \
1538"or more of the link keys stored in the Bluetooth Host Controller. The\n" \
1539"Bluetooth Host Controller can store a limited number of link keys for other\n"\
1540"Bluetooth devices.\n\n" \
1541"\t<bdaddr> - xx:xx:xx:xx:xx:xx BD_ADDR",
1541"\t<BD_ADDR> - xx:xx:xx:xx:xx:xx BD_ADDR or name",
1542&hci_delete_stored_link_key
1543},
1544{
1545"change_local_name <name>",
1546"\nThe Change_Local_Name command provides the ability to modify the user\n" \
1547"friendly name for the Bluetooth unit.\n\n" \
1548"\t<name> - string",
1549&hci_change_local_name

--- 328 unchanged lines hidden ---
1542&hci_delete_stored_link_key
1543},
1544{
1545"change_local_name <name>",
1546"\nThe Change_Local_Name command provides the ability to modify the user\n" \
1547"friendly name for the Bluetooth unit.\n\n" \
1548"\t<name> - string",
1549&hci_change_local_name

--- 328 unchanged lines hidden ---