diff options
author | Maksim Yevmenkin <emax@FreeBSD.org> | 2004-08-05 16:32:41 +0000 |
---|---|---|
committer | Maksim Yevmenkin <emax@FreeBSD.org> | 2004-08-05 16:32:41 +0000 |
commit | 2aa65cf739bae6d8e2fbd167d97ef3c6f744766c (patch) | |
tree | 6ef9a102c06ce353d524074a6e33e485a88f1c21 /usr.sbin/bluetooth/hccontrol/link_policy.c | |
parent | 5cc00cfc6772779369c993013e21a10dc303dc7f (diff) | |
download | src-2aa65cf739bae6d8e2fbd167d97ef3c6f744766c.tar.gz src-2aa65cf739bae6d8e2fbd167d97ef3c6f744766c.zip |
- 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
Notes
Notes:
svn path=/head/; revision=133178
Diffstat (limited to 'usr.sbin/bluetooth/hccontrol/link_policy.c')
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/link_policy.c | 6 |
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 e00bac57a23c..67b32d5a0d61 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 }, { |