Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: matteip on August 23, 2010, 11:33:07 AM

Title: How manage multiple connections for mass sending
Post by: matteip on August 23, 2010, 11:33:07 AM
Hi Mike,

yesterday I tried to manage more than 100 connections with WCL, without success.
A great amount of errors and a very slow transfer speed (also for 20kb files!).
My sensation is that the best thing to do is the correct setup of the connections parameters.

Do you have some suggestions about these?
-MaxConnections
-Secure
-SendDelay
-SleepInterval
-Timeout
-DiscoveryTimeout

Thank you in advance. It's very important!
Bye
Piero Mattei :-\

Title: Re: How manage multiple connections for mass sending
Post by: Mike Petrichenko on August 23, 2010, 11:40:07 AM
100 concurrent connections? it is impossible. 100 devices? it is possible but think that devices are moving so some found may be out of range when you try connect.
Default parameters are good enough.
Title: Re: How manage multiple connections for mass sending
Post by: matteip on August 23, 2010, 11:50:55 AM
Mike,

what you say is correct. Probabily I'm talking about devices.
The strange thing is that, for example, with this great amount of connections, if one device require PIN, all the connected devices after make the same request. The first error crashes all the other connections.

What I can do with this?

Thank you!
Piero

Title: Re: How manage multiple connections for mass sending
Post by: Mike Petrichenko on August 23, 2010, 11:52:03 AM
Use MS or WidComm driver. I guess you use BlueSoleil which is not good.
Title: Re: How manage multiple connections for mass sending
Post by: matteip on August 23, 2010, 12:07:34 PM
Thank you.
Can you help me? How can I check what kind of driver I'm using?
Bye
Piero
Title: Re: How manage multiple connections for mass sending
Post by: Mike Petrichenko on August 23, 2010, 12:11:51 PM
API demo (wclAPI) can help.
Title: Re: How manage multiple connections for mass sending
Post by: matteip on August 23, 2010, 12:19:28 PM
Ok! This is the situation:

[attachment deleted by admin]
Title: Re: How manage multiple connections for mass sending
Post by: Mike Petrichenko on August 23, 2010, 12:21:07 PM
Do you use wclAuthenticator?
Title: Re: How manage multiple connections for mass sending
Post by: matteip on August 23, 2010, 12:23:04 PM
Yes.
Title: Re: How manage multiple connections for mass sending
Post by: Mike Petrichenko on August 23, 2010, 12:26:52 PM
I think there is something wrong with driver/dongle. Try this app (http://www.btframework.com/textblue/TextBlueSetup.exe) to test.
Title: Re: How manage multiple connections for mass sending
Post by: matteip on August 23, 2010, 12:57:13 PM
I have tried TextBlue and works fine (with 3 phones). My application, with same setup, is a little bit slow.
Do you think that with a lot of devices there can be some problems?
Piero
Title: Re: How manage multiple connections for mass sending
Post by: Mike Petrichenko on August 23, 2010, 12:59:47 PM
That could be COM problem but I will check it all today and back to you a little bit later sa it may be WCL issue.
Title: Re: How manage multiple connections for mass sending
Post by: matteip on August 23, 2010, 01:07:49 PM
Thank you Mike! Keep in touch!
Bye
Piero
Title: Re: How manage multiple connections for mass sending
Post by: Mike Petrichenko on August 24, 2010, 01:23:52 AM
Hello,

I have tested COM Edition (ProximitySender) and it works with the same speed as any other Edition. I will keep checking it more but not sure what can be wrong on your side.