link_control.c (131216) | link_control.c (133178) |
---|---|
1/* 2 * link_control.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_control.c,v 1.4 2003/08/18 19:19:54 max Exp $ | 1/* 2 * link_control.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_control.c,v 1.4 2003/08/18 19:19:54 max Exp $ |
29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/link_control.c 131216 2004-06-28 00:58:53Z emax $ | 29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/link_control.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 --- 788 unchanged lines hidden (view full) --- 826"\t<LAP> - xx:xx:xx; 9e:8b:33 (GIAC), 93:8b:00 (LDIAC)\n" \ 827"\t<inquiry_length> - dd; total length == dd * 1.28 sec\n" \ 828"\t<num_responses> - dd", 829&hci_inquiry 830}, 831{ 832"create_connection <BD_ADDR> <pkt> <rep_mode> <ps_mode> <clck_off> <role_sw>", 833"" \ | 30 */ 31 32#include <bluetooth.h> 33#include <errno.h> 34#include <stdio.h> 35#include <string.h> 36#include "hccontrol.h" 37 --- 788 unchanged lines hidden (view full) --- 826"\t<LAP> - xx:xx:xx; 9e:8b:33 (GIAC), 93:8b:00 (LDIAC)\n" \ 827"\t<inquiry_length> - dd; total length == dd * 1.28 sec\n" \ 828"\t<num_responses> - dd", 829&hci_inquiry 830}, 831{ 832"create_connection <BD_ADDR> <pkt> <rep_mode> <ps_mode> <clck_off> <role_sw>", 833"" \ |
834"\t<BD_ADDR> - remote unit address\n\n" \ | 834"\t<BD_ADDR> - xx:xx:xx:xx:xx:xx BD_ADDR or name\n\n" \ |
835"\t<pkt> - xxxx; packet type\n" \ 836"" \ 837"\t\tACL packets\n" \ 838"\t\t-----------\n" \ 839"\t\t0x0008 DM1\n" \ 840"\t\t0x0010 DH1\n" \ 841"\t\t0x0400 DM3\n" \ 842"\t\t0x0800 DH3\n" \ --- 81 unchanged lines hidden (view full) --- 924"\t\t-----------\n" \ 925"\t\t0x0020 HV1\n" \ 926"\t\t0x0040 HV2\n" \ 927"\t\t0x0080 HV3\n" \ 928"", 929&hci_change_connection_packet_type 930}, 931{ | 835"\t<pkt> - xxxx; packet type\n" \ 836"" \ 837"\t\tACL packets\n" \ 838"\t\t-----------\n" \ 839"\t\t0x0008 DM1\n" \ 840"\t\t0x0010 DH1\n" \ 841"\t\t0x0400 DM3\n" \ 842"\t\t0x0800 DH3\n" \ --- 81 unchanged lines hidden (view full) --- 924"\t\t-----------\n" \ 925"\t\t0x0020 HV1\n" \ 926"\t\t0x0040 HV2\n" \ 927"\t\t0x0080 HV3\n" \ 928"", 929&hci_change_connection_packet_type 930}, 931{ |
932"remote_name_request <bdaddr> <ps_rep_mode> <ps_mode> <clock_offset>", | 932"remote_name_request <BD_ADDR> <ps_rep_mode> <ps_mode> <clock_offset>", |
933"\nThe Remote_Name_Request command is used to obtain the user-friendly\n" \ 934"name of another Bluetooth unit.\n\n" \ | 933"\nThe Remote_Name_Request command is used to obtain the user-friendly\n" \ 934"name of another Bluetooth unit.\n\n" \ |
935"\t<bdaddr> - xx:xx:xx:xx:xx:xx remote unit BD_ADDR\n" \ | 935"\t<BD_ADDR> - xx:xx:xx:xx:xx:xx BD_ADDR or name\n" \ |
936"\t<ps_rep_mode> - dd; page scan repetition mode [0-2]\n" \ 937"\t<ps_mode> - dd; page scan mode [0-3]\n" \ 938"\t<clock_offset> - xxxx; clock offset [0 - 0xffff]", 939&hci_remote_name_request 940}, 941{ 942"read_remote_supported_features <connection_handle>", 943"\nThis command requests a list of the supported features for the remote\n" \ --- 23 unchanged lines hidden --- | 936"\t<ps_rep_mode> - dd; page scan repetition mode [0-2]\n" \ 937"\t<ps_mode> - dd; page scan mode [0-3]\n" \ 938"\t<clock_offset> - xxxx; clock offset [0 - 0xffff]", 939&hci_remote_name_request 940}, 941{ 942"read_remote_supported_features <connection_handle>", 943"\nThis command requests a list of the supported features for the remote\n" \ --- 23 unchanged lines hidden --- |