From: Diego Liziero <liziero.diego@unimore.it>
To: "'BlueZ Mailing List'" <bluez-devel@lists.sourceforge.net>
Cc: Marcel Holtmann <marcel@holtmann.org>
Subject: [patch] hciattach: added other serial speeds and small help fix.
Date: Mon, 20 Sep 2004 17:45:53 +0200 [thread overview]
Message-ID: <1095695153.15993.40.camel@igno> (raw)
[-- 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");
}
next reply other threads:[~2004-09-20 15:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-20 15:45 Diego Liziero [this message]
2004-09-20 15:51 ` [Bluez-devel] Re: [patch] hciattach: added other serial speeds and small help fix Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1095695153.15993.40.camel@igno \
--to=liziero.diego@unimore.it \
--cc=bluez-devel@lists.sourceforge.net \
--cc=diego.liziero@unimore.it \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox