summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/hccontrol/link_policy.c
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2004-08-05 16:32:41 +0000
committeremax <emax@FreeBSD.org>2004-08-05 16:32:41 +0000
commitc114a6212c8d37d1e410305436dd847a4270ca3b (patch)
tree6ef9a102c06ce353d524074a6e33e485a88f1c21 /usr.sbin/bluetooth/hccontrol/link_policy.c
parent73d1afd6fde41cc69bc50752883e40b6fd763b5c (diff)
downloadFreeBSD-src-c114a6212c8d37d1e410305436dd847a4270ca3b.zip
FreeBSD-src-c114a6212c8d37d1e410305436dd847a4270ca3b.tar.gz
- One can use both BD_ADDR or name to specify address of the Bluetooth device.
Update man pages to document this fact. - Update usage messages - Change u_intXXX to uintXXX
Diffstat (limited to 'usr.sbin/bluetooth/hccontrol/link_policy.c')
-rw-r--r--usr.sbin/bluetooth/hccontrol/link_policy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/link_policy.c b/usr.sbin/bluetooth/hccontrol/link_policy.c
index e00bac5..67b32d5 100644
--- a/usr.sbin/bluetooth/hccontrol/link_policy.c
+++ b/usr.sbin/bluetooth/hccontrol/link_policy.c
@@ -251,7 +251,7 @@ struct hci_command link_policy_commands[] = {
&hci_role_discovery
},
{
-"switch_role <bdaddr> <role>",
+"switch_role <BD_ADDR> <role>",
"\nThe Switch_Role command is used for a Bluetooth device to switch the\n" \
"current role the device is performing for a particular connection with\n" \
"another specified Bluetooth device. The BD_ADDR command parameter indicates\n"\
@@ -259,8 +259,8 @@ struct hci_command link_policy_commands[] = {
"the requested new role that the local device performs. Note: the BD_ADDR\n" \
"command parameter must specify a Bluetooth device for which a connection\n"
"already exists.\n\n" \
-"\t<bdaddr> - xx:xx:xx:xx:xx:xx; device bdaddr\n" \
-"\t<role> - dd; role; 0 - Master, 1 - Slave",
+"\t<BD_ADDR> - xx:xx:xx:xx:xx:xx BD_ADDR or name\n" \
+"\t<role> - dd; role; 0 - Master, 1 - Slave",
&hci_switch_role
},
{
OpenPOWER on IntegriCloud