* [patch] hciattach: added other serial speeds and small help fix.
@ 2004-09-20 15:45 Diego Liziero
2004-09-20 15:51 ` [Bluez-devel] " Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Diego Liziero @ 2004-09-20 15:45 UTC (permalink / raw)
To: 'BlueZ Mailing List'; +Cc: Marcel Holtmann
[-- Attachment #1: Type: text/plain, Size: 285 bytes --]
I spent a couple of hours before understanding that to disable
flow control in H4 modules I needed to put the word "noflow" instead
of just omitting the word "flow" :)
That's why I propose this help change.
Added also other speeds (tested with a csr based module).
Regards,
Diego.
[-- Attachment #2: patch-bluez-utils-2.10-hciattach --]
[-- Type: text/plain, Size: 837 bytes --]
--- bluez-utils-2.10/tools/hciattach.c 2004-07-25 19:09:23.000000000 +0200
+++ bluez-utils-2.10-new/tools/hciattach.c 2004-09-20 17:00:09.000000000 +0200
@@ -84,12 +84,18 @@
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 @@
{
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");
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-20 15:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-20 15:45 [patch] hciattach: added other serial speeds and small help fix Diego Liziero
2004-09-20 15:51 ` [Bluez-devel] " Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox