From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] higher rate than 115 kbits/s with an uart channel
Date: Wed, 22 Nov 2006 08:02:24 +0100 [thread overview]
Message-ID: <1164178944.23477.26.camel@localhost> (raw)
In-Reply-To: <004f01c70dc0$dd7d3240$44a54256@claudia>
Hi Michael,
do you mind sending ASCII emails only. I hate the crappy Microsoft
Windows HTML stuff. This is a Linux mailing ;)
> I work with a Bluetooth Kit of Semtech-Xemics which is connected
>
> to a laptop with a Serial/USB adapter (supporting a max rate of 500
> kbits/s).
>
> I have a specific command to setup the uart channel of the Kit.
>
> At Bluez side, I setup the uart rate with the command :
>
> "hciattach /dev/ttyUSB0 any 230400" (for 230,4 kbits/s)
>
> as I would like to work with a higher rate than 115 kbits/s.
>
> But, at this rate, I couldn't control or setup the kit.
>
> The "hciconfig -a" gives :
>
> hci0: Type: UART
>
> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
>
> DOWN
>
> RX bytes:10 acl:0 sco:0 events:0 errors:10
>
> TX bytes:4 acl:0 sco:0 commands:1 errors:0
>
> at Rx side, all the packets are with errors.
>
> What do I miss ?
>
> Do I have to setup the uart channel rate somewhere else in bluez ?
>
> The "hciconfig hci0 up" gives :
>
> Can't init device hci0: Connection timed out (110)
>
> For information, at 115 kbits/s, all is fine.
You must make sure that your device boots up with the higher baud rate
or you have to write a init routine for hciattach to change it. Check
the manual for your developer kit.
Regards
Marcel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2006-11-22 7:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-21 23:00 [Bluez-users] higher rate than 115 kbits/s with an uart channel Michel Leconte
2006-11-22 7:02 ` Marcel Holtmann [this message]
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=1164178944.23477.26.camel@localhost \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.