Skip to contentSkip to conversation

problem with a speed

Bluez-devel zubiwat 2 participants 3 messages Apr 26, 2004 – Apr 27, 2004 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

zubiwat

author
#0 lore raw

I have a question what could be the cause of slow transfers through RFCOMM. I have rfcomm channel and I try to send a file but with a baud rate 115200 it is very slow comparing to those transfers through modem or sth like this with the same baud rate. Why it is like this. I tried to change MTU while configuration process but it didn't work.Where can I change this speed to make it faster?

Regards

Maciej

#1 lore raw
Quoted 2 lines · zubiwat

I have a question what could be the cause of slow transfers through RFCOMM. I have rfcomm channel and I try to send a file but with a baud rate 115200 it is very slow comparing to those transfers through modem or sth like this with the same baud rate. Why it is like this. I tried to change MTU while configuration process but it didn't work.Where can I change this speed to make it faster?

What is on the other end: a linux box, or a mobile phone?

Signature · 14 lines
Paulo Marques - www.grupopie.com
"In a world without walls and fences who needs windows and gates?"



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

A message that is not in the archive (sent off-list or not yet received): 008d01c42bd5$cbeea6a0$fcca010a@firedrake

#3 lore raw
Quoted 2 lines · zubiwat

These are two PC's - one with a Linux and RS232 dongle. The other one with a windows and USB dongle.

Here's your problem. An RS232 dongle only goes up to 115200 baud. Over this bandwidth it has to encapsulate all H4 protocol. Under that protocol it still uses xmodem or ymodem (or whatever you're using) to send the actual data, so in the end you probably will only get around 8 kbytes/s.

You will probably lose a lot of bandwidth in flow control too.

Quoted 4 lines

When I'm trying to send a file it takes a while. It's very slow. What is responsible for the speed of connection in bluetooth. BT is capable of more than 115200 so what is wrong? Is the configuration of RFCOMM connection - "modems" ?

BT is capable of more than 115200 on the air. If you have a serial dongle, there is no way to push more bits than the serial port can handle.

Quoted 2 lines

I can't figure out what is wrong.

Use 2 USB dongles.

Signature · 14 lines
Paulo Marques - www.grupopie.com
"In a world without walls and fences who needs windows and gates?"



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel