WriteSync / WriteAsync
WriteSync / WriteAsync
- Subject: WriteSync / WriteAsync
- From: Moritz Gmelin <email@hidden>
- Date: Wed, 9 May 2007 23:09:59 +0200
Hi,
So far, I was using the WriteSync method in my application to send
data over an RFComm channel. I just wanted to make sure the stuff was
really sent before I moved on. Now I just discovered, that when
sending data through an external BT-Dongle (instead of the integrated
BT-Dongle). The WriteSync Method was blocking for quite some time.
Where the WriteAsync method was not.
Using a Blocksize of 400 Bytes I could transfer 16kb/sec (using obex)
with writeSync through the internal BT hardware and about 1.6kb/sec
wih an external (class 1 BT2.0+EDR) dongle. Using WriteAsync,
internal and external both went at 16-20kb/sec. The remote and was
always a Nokia e61 phone.
1. Why Is WriteSync so much slower on an external dongle ?
2. Is Write Async as safe as write sync ? Event when not implementing
the callback methods ?
Regards
Moritz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden