Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 update for addition (a while ago) of features...
details: https://anonhg.NetBSD.org/src/rev/3b62a8b8df09
branches: trunk
changeset: 351135:3b62a8b8df09
user: plunky <plunky%NetBSD.org@localhost>
date: Fri Feb 03 13:23:37 2017 +0000
description:
update for addition (a while ago) of features2 page
diffstat:
share/man/man4/bluetooth.4 | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r 2f841aab075e -r 3b62a8b8df09 share/man/man4/bluetooth.4
--- a/share/man/man4/bluetooth.4 Fri Feb 03 13:08:08 2017 +0000
+++ b/share/man/man4/bluetooth.4 Fri Feb 03 13:23:37 2017 +0000
@@ -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 @@
} 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 @@
#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 @@
.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
Home |
Main Index |
Thread Index |
Old Index