Module Name: src
Committed By: plunky
Date: Fri Feb 3 13:23:37 UTC 2017
Modified Files:
src/share/man/man4: bluetooth.4
Log Message:
update for addition (a while ago) of features2 page
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/bluetooth.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/bluetooth.4
diff -u src/share/man/man4/bluetooth.4:1.18 src/share/man/man4/bluetooth.4:1.19
--- src/share/man/man4/bluetooth.4:1.18 Mon Nov 22 19:59:43 2010
+++ src/share/man/man4/bluetooth.4 Fri Feb 3 13:23:37 2017
@@ -1,4 +1,4 @@
-.\" $NetBSD: bluetooth.4,v 1.18 2010/11/22 19:59:43 plunky Exp $
+.\" $NetBSD: bluetooth.4,v 1.19 2017/02/03 13:23:37 plunky Exp $
.\"
.\" Copyright (c) 2006 Itronix Inc.
.\" All rights reserved.
@@ -324,7 +324,8 @@ struct btreq {
} btri;
struct {
uint8_t btrf_page0[HCI_FEATURES_SIZE]; /* basic */
- uint8_t btrf_page1[HCI_FEATURES_SIZE]; /* extended */
+ uint8_t btrf_page1[HCI_FEATURES_SIZE]; /* extended page 1 */
+ uint8_t btrf_page2[HCI_FEATURES_SIZE]; /* extended page 2 */
} btrf;
struct bt_stats btrs; /* unit stats */
} btru;
@@ -343,6 +344,7 @@ struct btreq {
#define btr_max_sco btru.btri.btri_max_sco
#define btr_features0 btru.btrf.btrf_page0
#define btr_features1 btru.btrf.btrf_page1
+#define btr_features2 btru.btrf.btrf_page2
#define btr_stats btru.btrs
/* btr_flags */
@@ -385,14 +387,16 @@ btreq structure including the name field
.It Dv SIOCNBTINFO
Next Bluetooth device Info.
If name field is empty, the first device will be returned.
-Otherwise, the next device will be returned.
+Otherwise, the next device will be returned until no more devices are found
+when the call will fail, with error
+.Er ENXIO .
Thus, you can cycle through all devices in the system.
.It Dv SIOCSBTFLAGS
Set Bluetooth device Flags.
Not all flags are settable.
.It Dv SIOCGBTFEAT
Get Bluetooth device Features.
-This returns the cached basic (page 0) and extended (page 1) features.
+This returns the cached basic (page 0) and extended (page 1 & 2) features.
.It Dv SIOCSBTPOLICY
Set Bluetooth device Link Policy.
Link Policy bits are defined in