summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-09-20 15:51:15 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-09-20 15:51:15 +0000
commitca8d9c9f9ac9b20b33bde4c1407ce80f44b814ec (patch)
tree5486a99c80a71712fdee5822659d3b955178b920
parentd33a1214b4299aad065df79686b6b1ecb17c5af1 (diff)
Mention flow|noflow in help text and other speeds
-rw-r--r--tools/hciattach.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c
index b3f40b3a..a22a0b1d 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -84,12 +84,18 @@ static int uart_speed(int s)
return B230400;
case 460800:
return B460800;
+ case 500000:
+ return B500000;
+ case 576000:
+ return B576000;
case 921600:
return B921600;
case 1000000:
return B1000000;
case 1152000:
return B1152000;
+ case 1500000:
+ return B1500000;
default:
return B57600;
}
@@ -932,7 +938,7 @@ static void usage(void)
{
printf("hciattach - HCI UART driver initialization utility\n");
printf("Usage:\n");
- printf("\thciattach [-n] [-p] [-b] [-t timeout] [-s initial_speed] <tty> <type | id> [speed] [flow]\n");
+ printf("\thciattach [-n] [-p] [-b] [-t timeout] [-s initial_speed] <tty> <type | id> [speed] [flow|noflow]\n");
printf("\thciattach -l\n");
}