hciattach: added other serial speeds and small help fix.
PATCH 1/1 hciattach: added other serial speeds and small help fix.
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.
tools/hciattach.c +7 -1
@@ -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" ); }
Hi Diego,
Quoted 7 lines
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).
applied. Thanks.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel