Author Topic: How manage multiple connections for mass sending  (Read 5207 times)

Offline matteip

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
How manage multiple connections for mass sending
« 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 :-\


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: How manage multiple connections for mass sending
« Reply #1 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.

Offline matteip

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: How manage multiple connections for mass sending
« Reply #2 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


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: How manage multiple connections for mass sending
« Reply #3 on: August 23, 2010, 11:52:03 AM »
Use MS or WidComm driver. I guess you use BlueSoleil which is not good.

Offline matteip

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: How manage multiple connections for mass sending
« Reply #4 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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: How manage multiple connections for mass sending
« Reply #5 on: August 23, 2010, 12:11:51 PM »
API demo (wclAPI) can help.

Offline matteip

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: How manage multiple connections for mass sending
« Reply #6 on: August 23, 2010, 12:19:28 PM »
Ok! This is the situation:

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: How manage multiple connections for mass sending
« Reply #7 on: August 23, 2010, 12:21:07 PM »
Do you use wclAuthenticator?

Offline matteip

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: How manage multiple connections for mass sending
« Reply #8 on: August 23, 2010, 12:23:04 PM »
Yes.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: How manage multiple connections for mass sending
« Reply #9 on: August 23, 2010, 12:26:52 PM »
I think there is something wrong with driver/dongle. Try this app to test.

Offline matteip

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: How manage multiple connections for mass sending
« Reply #10 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

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: How manage multiple connections for mass sending
« Reply #11 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.

Offline matteip

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: How manage multiple connections for mass sending
« Reply #12 on: August 23, 2010, 01:07:49 PM »
Thank you Mike! Keep in touch!
Bye
Piero

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3052
  • Karma: 1000
    • Soft Service Company
Re: How manage multiple connections for mass sending
« Reply #13 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.

 

Sitemap 1 2 3 4 5 6 7 8 9