Frameworks > Bluetooth Framework

Multiple Connection

(1/4) > >>

Raj:
Hi

I have to make multiple connection from my bluetooth application.

At the same time I want to send data to two different phones.
I am using Bluesoleil driver.

Can it will be possible?


Mike Petrichenko:
Yes, of course, it is possible. But for BlueSoleil you must connect to the target devices one by one. I.e. BlueSoleil does not support multy connection establishment at the same time. After all devices connected you can send to all of them at the same time.

conatwill:
oh, I meet the same question!

I modify function btAPILoad_Click  of the demo project as follows:

        private void btAPILoad_Click(object sender, EventArgs e)
        {
            wclAPI.Load();

            fmMain fm = new fmMain();
            fm.Show();
        }

I load the wclapi only once, and try to connect to the remote 2 devices throught two form, but it failed, which is similar to what I have posted in another article in this forum, one form is died and the cpu ocuupancy up to 100%, why? Doesn't wcl support the multiple-connections?

I'm testing the demo of wcl, maybe I have some problems, thanks for reply!

Mike Petrichenko:
WCL supports multiple connections. The code you provided is not enough to understand where is the problem. Attchecd file shows how to use WCL in multiple and it works.

[attachment deleted by admin]

conatwill:
Thanks for your code, but please implement the multiconntections in two forms, and each form create a new wclftpclient, and then you will see the result which I have reported in the posted article.

Best Regards!

Navigation

[0] Message Index

[#] Next page

Sitemap 1 2 3 4 5 6 7 
Go to full version