* [Bluez-users] higher rate than 115 kbits/s with an uart channel
@ 2006-11-21 23:00 Michel Leconte
2006-11-22 7:02 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Michel Leconte @ 2006-11-21 23:00 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1.1: Type: text/plain, Size: 973 bytes --]
Hi all,
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.
thanks for any suggestion or idea.
Regards.
Michel
[-- Attachment #1.2: Type: text/html, Size: 2154 bytes --]
[-- Attachment #2: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] higher rate than 115 kbits/s with an uart channel
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
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-11-22 7:02 UTC (permalink / raw)
To: BlueZ users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-22 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.