chirag
Posts: 8
Joined: Wed Jul 16, 2008 10:03 am
Location: India

multithread in bluetools CE

Sat Sep 13, 2008 1:25 pm

I have developed multithreaded application which uses bluetools for .net Compact Framwork.

My application continously searches the bluetooth devices and send a file to it.

I works fine when it founds only one bluetooth device and sends file successfully. But when it founds two or more bluetooth devices it starts two threads having two objects of ObexPushObject and sends file to both devices simulteniously but ends with error.

I am using ".net cf 1.1 for developement" and pocket pc with "windows ce 3.0.0" operating system. what is wrong with it?

waiting for your reply
thanks.

Jonas
Posts: 2319
Joined: Mon Jan 09, 2006 2:20 pm
Location: Sweden

RE: multithread in bluetools CE

Sat Sep 13, 2008 4:49 pm

You have to give me a little more information than "ends with error". What error are you experiencing?

If you are generally loosing the connections, and this is a device with a Widcomm stack two connections
it might simply be too much for it. Widcomm stacks are painfully bad implemented by Broadcomm so one
connection at the time might very well be all it can handle.

Regards,
Jonas

Return to “BlueTools”