From 583587debb36a5d8742e2c0878d7f05293ef8000 Mon Sep 17 00:00:00 2001 From: markus Date: Mon, 22 May 2006 17:58:09 +0000 Subject: - 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 --- usr.sbin/bluetooth/hccontrol/hccontrol.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.sbin/bluetooth/hccontrol/hccontrol.h') 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; -- cgit v1.1