Author Topic: 1:n communication  (Read 20473 times)

tree1891

  • Guest
1:n communication
« on: December 11, 2011, 09:10:51 AM »
With WCL library, is 1:n communication possible?
It seems that samples in wcl have only 1:1 s/c.

Thank a lot.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: 1:n communication
« Reply #1 on: December 11, 2011, 09:15:59 AM »
Hello,

You mean send from PC to more than 1 device? Yes, its possible. Take a look on ProximitySender demo. If you want to use wclClient/wclOPPClient/wclFTPClient instead of ProximitySender then you have to use 1 client per one connected device.

tree1891

  • Guest
Re: 1:n communication
« Reply #2 on: December 11, 2011, 09:22:32 AM »
I mean that s/c model have a server and more than one clients.

BlueChatClient / BlueChatServer is same as 1:1, but no 1:n.

What's wrong?

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: 1:n communication
« Reply #3 on: December 11, 2011, 09:25:59 AM »
What is s/c model? Client/Server?

All is absolutely correct, there is nothing wrong. As I wrote use more than 1 client, more than 1 server. Bluetooth is not TCP/IP and each server must listen on different channel with different SDP record.

tree1891

  • Guest
Re: 1:n communication
« Reply #4 on: December 11, 2011, 09:32:25 AM »
Yes, s/c means server/client!
For example, is it possible that have a BlueChatServer and more than one BlueChatClient?
If not, how to do it?

Thank a lot. 

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: 1:n communication
« Reply #5 on: December 11, 2011, 09:39:04 AM »
Yes it is possible. Take a look on MultyBtOppServer demo. In few words: you have to use more than 1 server. 1 per incomming connection.

tree1891

  • Guest
Re: 1:n communication
« Reply #6 on: December 11, 2011, 10:19:55 AM »
In MultyBtOppServer demo, it have 7 server listenings.

Is it possible that have more than 7?

Thank a lot

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: 1:n communication
« Reply #7 on: December 11, 2011, 10:23:56 AM »
Yes and No. Bluetooth before 2.0 has limitation to maximum 7 connections. Bluetooth 2.0 and high has no such limitation but usualy HW developers don't expand it. So most dongles can establish only 7 concurrent connections.

 

Sitemap 1 2 3 4 5 6 7