From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <2d5cd43e0803101020u702a60efkc712d122a9970a44@mail.gmail.com> Date: Mon, 10 Mar 2008 22:50:53 +0530 From: "manuwela kanade" To: "BlueZ users" In-Reply-To: MIME-Version: 1.0 References: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> <59861CFE-213C-4E19-B3B9-9FD3875434B9@holtmann.org> <2d5cd43e0803100324g683c6bdbl33f9025d9d673512@mail.gmail.com> Subject: Re: [Bluez-users] Question about bluetooth simultaneous connections Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1296897633==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============1296897633== Content-Type: multipart/alternative; boundary="----=_Part_450_28707799.1205169653039" ------=_Part_450_28707799.1205169653039 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Sir, Thank you so much for the reply. I will check the examples. Thank you. Manuwela On 3/10/08, Marcel Holtmann wrote: > > Hi Manuwela, > > > > Please can you tell me how to use the L2CAP_LM_MASTER. Should it be > > defined while socket creation? And due to this switching of role, is > > it possible to send data simultaneously?? Because, we have tried to > > multithread and accept connections from multiple devices on the > > server, but it does not work... only one connection is accepted by > > server. > > > the bluez-utils contains a lot of examples on how to use it. Check the > files l2test.c and rctest.c for example. > > > Regards > > Marcel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluez-users mailing list > Bluez-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-users > ------=_Part_450_28707799.1205169653039 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Sir,

Thank you so much for the reply. I will check the examples. Thank you.

Manuwela

On 3/10/08, Marcel Holtmann <marcel@holtmann.org> wrote:
Hi Manuwela,


> Please can you tell me how to use the L2CAP_LM_MASTER. Should it be
> defined while socket creation? And due to this switching of role, is
> it possible to send data simultaneously?? Because, we have tried to
> multithread and accept connections from multiple devices on the
> server, but it does not work... only one connection is accepted by
> server.


the bluez-utils contains a lot of examples on how to use it. Check the
files l2test.c and rctest.c for example.


Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

------=_Part_450_28707799.1205169653039-- --===============1296897633== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1296897633== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============1296897633==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-Id: From: Marcel Holtmann To: BlueZ users In-Reply-To: <2d5cd43e0803100324g683c6bdbl33f9025d9d673512@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 10 Mar 2008 13:30:56 +0100 References: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> <59861CFE-213C-4E19-B3B9-9FD3875434B9@holtmann.org> <2d5cd43e0803100324g683c6bdbl33f9025d9d673512@mail.gmail.com> Subject: Re: [Bluez-users] Question about bluetooth simultaneous connections Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi Manuwela, > Please can you tell me how to use the L2CAP_LM_MASTER. Should it be > defined while socket creation? And due to this switching of role, is > it possible to send data simultaneously?? Because, we have tried to > multithread and accept connections from multiple devices on the > server, but it does not work... only one connection is accepted by > server. the bluez-utils contains a lot of examples on how to use it. Check the files l2test.c and rctest.c for example. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <2d5cd43e0803100324g683c6bdbl33f9025d9d673512@mail.gmail.com> Date: Mon, 10 Mar 2008 15:54:46 +0530 From: "manuwela kanade" To: "BlueZ users" In-Reply-To: <59861CFE-213C-4E19-B3B9-9FD3875434B9@holtmann.org> MIME-Version: 1.0 References: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> <59861CFE-213C-4E19-B3B9-9FD3875434B9@holtmann.org> Subject: Re: [Bluez-users] Question about bluetooth simultaneous connections Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0362130471==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============0362130471== Content-Type: multipart/alternative; boundary="----=_Part_38221_19068936.1205144686613" ------=_Part_38221_19068936.1205144686613 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Sir, Please can you tell me how to use the L2CAP_LM_MASTER. Should it be defined while socket creation? And due to this switching of role, is it possible to send data simultaneously?? Because, we have tried to multithread and accept connections from multiple devices on the server, but it does not work... only one connection is accepted by server. Thank you, Manuwela On Sat, Mar 8, 2008 at 12:11 AM, Marcel Holtmann wrote: > Hi Brad, > > > Mohomed, you'll get closer to 7 if you try to keep your device master > > on its connections. Something like calling a fn after estabishing > > connections: > > the RFCOMM and L2CAP sockets provide a {L2CAP|RFCOMM}_LM_MASTER to do > this task on the server socket directly. > > Regards > > Marcel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluez-users mailing list > Bluez-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-users > ------=_Part_38221_19068936.1205144686613 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello Sir,

Please can you tell me how to use the L2CAP_LM_MASTER. Should it be defined while socket creation? And due to this switching of role, is it possible to send data simultaneously?? Because, we have tried to multithread and accept connections from multiple devices on the server, but it does not work... only one connection is accepted by server.

Thank you,
Manuwela

On Sat, Mar 8, 2008 at 12:11 AM, Marcel Holtmann <marcel@holtmann.org> wrote:
Hi Brad,

> Mohomed, you'll get closer to 7 if you try to keep your device master
> on its connections. Something like calling a fn after estabishing
> connections:

the RFCOMM and L2CAP sockets provide a {L2CAP|RFCOMM}_LM_MASTER to do
this task on the server socket directly.

Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

------=_Part_38221_19068936.1205144686613-- --===============0362130471== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0362130471== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============0362130471==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-Id: <59861CFE-213C-4E19-B3B9-9FD3875434B9@holtmann.org> From: Marcel Holtmann To: BlueZ users In-Reply-To: Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 7 Mar 2008 19:41:19 +0100 References: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> Subject: Re: [Bluez-users] Question about bluetooth simultaneous connections Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi Brad, > Mohomed, you'll get closer to 7 if you try to keep your device master > on its connections. Something like calling a fn after estabishing > connections: the RFCOMM and L2CAP sockets provide a {L2CAP|RFCOMM}_LM_MASTER to do this task on the server socket directly. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Date: Wed, 5 Mar 2008 07:03:45 -0700 From: "Brad Midgley" To: "BlueZ users" In-Reply-To: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> MIME-Version: 1.0 References: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> Subject: Re: [Bluez-users] Question about bluetooth simultaneous connections Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Mohomed, you'll get closer to 7 if you try to keep your device master on its connections. Something like calling a fn after estabishing connections: static void make_master(bdaddr_t bdaddr) { uint8_t role = 0; // 0 means master int dd, dev_id; dev_id = hci_for_each_dev(HCI_UP, find_conn, (long) &bdaddr); if (dev_id < 0) { fprintf(stderr, "make_master: Not connected.\n"); return; } dd = hci_open_dev(dev_id); if (dd < 0) { perror("HCI device open failed"); return; } if (hci_switch_role(dd, &bdaddr, role, 10000) < 0) { perror("Switch role request failed"); } close(dd); } -- Brad ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <2cb4fa160803050341i6704cedfubddf55278f68be4f@mail.gmail.com> Date: Wed, 5 Mar 2008 13:41:03 +0200 From: "Mohamed kash" To: "BlueZ users" In-Reply-To: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> MIME-Version: 1.0 References: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> Subject: [Bluez-users] Question about bluetooth simultaneous connections Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0915962768==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============0915962768== Content-Type: multipart/alternative; boundary="----=_Part_22550_25477385.1204717263128" ------=_Part_22550_25477385.1204717263128 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All... I bought Edimax Bluetooth model EB-DGC1 (150 meters) and when I tried it on Windows to send files to many mobile devices, it sends only to one device at a time. so the scenario is as following: 1- it sends request to mobile (A) and after it accepts the file or reject the file 2- It sends the request to mobile (B) I tried the same dongle with other software called BlueMagnet but it also sends to one mobile at a time not to seven. my question is: can I program this in linux to send the request to seven devices at the same time or is this a limitation in the hardware itself? i.e. is this a software limitation or hardware limitation?I appreciate if anyone can help me regards, Kash ------=_Part_22550_25477385.1204717263128 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All...

I bought Edimax Bluetooth model EB-DGC1 (150 meters) and when I tried it on Windows to send files to many mobile devices, it sends only to one device at a time. so the scenario is as following:
 
1- it sends request to mobile (A) and after it accepts the file or reject the file
2- It sends the request to mobile (B)

I tried the same dongle with other software called BlueMagnet but it also sends to one mobile at a time not to seven.

my question is: can I program this in linux to send the request to seven devices at the same time or is this a limitation in the hardware itself? i.e. is this a software limitation or hardware limitation?I appreciate if anyone can help me
 

regards,

Kash

------=_Part_22550_25477385.1204717263128-- --===============0915962768== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0915962768== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============0915962768==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <2cb4fa160803050333j22a9bc9et68f30c2664d34061@mail.gmail.com> Date: Wed, 5 Mar 2008 13:33:41 +0200 From: "Mohamed kash" To: "BlueZ users" MIME-Version: 1.0 Subject: [Bluez-users] Question about bluetooth simultaneous connections Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1999359348==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============1999359348== Content-Type: multipart/alternative; boundary="----=_Part_22528_24191141.1204716821839" ------=_Part_22528_24191141.1204716821839 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All... I bought Edimax Bluetooth model EB-DGC1 (150 meters) and when I tried it on Windows to send files to many mobile devices, it sends only to one device at a time. so the scenario is as following: 1- it sends request to mobile (A) and after it accepts the file or reject the file 2- It sends the request to mobile (B) I tried the same dongle with other software called BlueMagnet but it also sends to one mobile at a time not to seven. my question is: can I program this in linux to send the request to seven devices at the same time or is this a limitation in the hardware itself? i.e. is this a software limitation or hardware limitation? I appreciate if anyone can help me regards, Kash ------=_Part_22528_24191141.1204716821839 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All...

I bought Edimax Bluetooth model EB-DGC1 (150 meters) and when I tried it on Windows to send files to many mobile devices, it sends only to one device at a time. so the scenario is as following:
1- it sends request to mobile (A) and after it accepts the file or reject the file
2- It sends the request to mobile (B)

I tried the same dongle with other software called BlueMagnet but it also sends to one mobile at a time not to seven.

my question is: can I program this in linux to send the request to seven devices at the same time or is this a limitation in the hardware itself? i.e. is this a software limitation or hardware limitation?

I appreciate if anyone can help me

regards,

Kash
------=_Part_22528_24191141.1204716821839-- --===============1999359348== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1999359348== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============1999359348==--