Deleted Added
full compact
status.c (107120) status.c (108533)
1/*
2 * status.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: status.c,v 1.2 2002/09/06 18:52:41 max Exp $
1/*
2 * status.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: status.c,v 1.2 2002/09/06 18:52:41 max Exp $
29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/status.c 107120 2002-11-20 23:01:59Z julian $
29 * $FreeBSD: head/usr.sbin/bluetooth/hccontrol/status.c 108533 2003-01-01 18:49:04Z schweikh $
30 */
31
32#include <sys/types.h>
33#include <sys/endian.h>
34#include <errno.h>
35#include <ng_hci.h>
36#include <stdio.h>
37#include "hccontrol.h"

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

226"\n\n" \
227"\t<connection_handle> - dddd; ACL connection handle\n",
228&hci_get_link_quality
229},
230{
231"read_rssi <connection_handle>",
232"\nThis command will read the value for the difference between the\n" \
233"measured Received Signal Strength Indication (RSSI) and the limits of\n" \
30 */
31
32#include <sys/types.h>
33#include <sys/endian.h>
34#include <errno.h>
35#include <ng_hci.h>
36#include <stdio.h>
37#include "hccontrol.h"

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

226"\n\n" \
227"\t<connection_handle> - dddd; ACL connection handle\n",
228&hci_get_link_quality
229},
230{
231"read_rssi <connection_handle>",
232"\nThis command will read the value for the difference between the\n" \
233"measured Received Signal Strength Indication (RSSI) and the limits of\n" \
234"the Golden Receive Power Range for a ACL connection handle to another\n" \
234"the Golden Receive Power Range for an ACL connection handle to another\n" \
235"Bluetooth device. Any positive RSSI value returned by the Host Controller\n" \
236"indicates how many dB the RSSI is above the upper limit, any negative\n" \
237"value indicates how many dB the RSSI is below the lower limit. The value\n" \
238"zero indicates that the RSSI is inside the Golden Receive Power Range.\n\n" \
239"\t<connection_handle> - dddd; ACL connection handle\n",
240&hci_read_rssi
241},
242{
243NULL,
244}};
245
235"Bluetooth device. Any positive RSSI value returned by the Host Controller\n" \
236"indicates how many dB the RSSI is above the upper limit, any negative\n" \
237"value indicates how many dB the RSSI is below the lower limit. The value\n" \
238"zero indicates that the RSSI is inside the Golden Receive Power Range.\n\n" \
239"\t<connection_handle> - dddd; ACL connection handle\n",
240&hci_read_rssi
241},
242{
243NULL,
244}};
245