summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/hccontrol/hccontrol.h
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2006-05-22 17:58:09 +0000
committermarkus <markus@FreeBSD.org>2006-05-22 17:58:09 +0000
commit583587debb36a5d8742e2c0878d7f05293ef8000 (patch)
treec78652a387f02ed912650bf02a36cec2dd3dbe97 /usr.sbin/bluetooth/hccontrol/hccontrol.h
parent83d28e2330e303ab86bb548bc7d4dc0fa8ae3c2b (diff)
downloadFreeBSD-src-583587debb36a5d8742e2c0878d7f05293ef8000.zip
FreeBSD-src-583587debb36a5d8742e2c0878d7f05293ef8000.tar.gz
- Add HCI node autodetection. As a consequence of this, make the '-n'
parameter optional. - Add Read_Node_List command which prints a list of available HCI nodes, their Netgraph IDs and connected hooks Reviewed by: emax Approved by: emax MFC after: 1 week
Diffstat (limited to 'usr.sbin/bluetooth/hccontrol/hccontrol.h')
-rw-r--r--usr.sbin/bluetooth/hccontrol/hccontrol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/hccontrol.h b/usr.sbin/bluetooth/hccontrol/hccontrol.h
index 466414f..d471982 100644
--- a/usr.sbin/bluetooth/hccontrol/hccontrol.h
+++ b/usr.sbin/bluetooth/hccontrol/hccontrol.h
@@ -37,6 +37,8 @@
#define FAILED 2 /* error was reported */
#define USAGE 3 /* invalid parameters */
+#define MAX_NODE_NUM 16 /* max number of nodes */
+
struct hci_command {
char const *command;
char const *description;
OpenPOWER on IntegriCloud