Return-Path: From: Fernando Unzu To: BlueZ development Date: Thu, 17 May 2007 10:18:19 +0200 References: <200705161235.51289.fernando@bluexare.org> <1ab01fb50705162205x224633a5k7f7d4541e512cc98@mail.gmail.com> In-Reply-To: <1ab01fb50705162205x224633a5k7f7d4541e512cc98@mail.gmail.com> MIME-Version: 1.0 Message-Id: <200705171018.19781.fernando@bluexare.org> Subject: Re: [Bluez-devel] How I can select between 2 bluetooth devices? Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Vikas, Yes, this is I want to achieve. I don't understand very well the code, but I uses OBEX_GetUserData, = OBEX_HandleInput, OBEX_CancelRequest, OBEX_ObjectNew, OBEX_Delete, = OBEX_TransportConnect and more like these, and in all of them I use a Handl= e, = created by OBEX_Init (OBEX_TRANS_BLUETOOTH, obex_event, 0). So I Think this is the way..., but I don't know if it is, or how to do... in other functions I use hci_create_connection to create the handle, I thin= k. How you can see, I don't understand good the code. How I can separate the two dongles to doing separated functions? Thanks a lot, Fernando El Jueves, 17 de Mayo de 2007 07:05, Vikas Sinha escribi=F3: > Hi, Fernando > > If i am not wrong u have 2 Dongles and u want to use one for scan and oth= er > for file send... ?? > > am I right ... > > On 5/16/07, Fernando Unzu wrote: > > Hello, > > I'm working in an application that scans for bluetooth devices and send > > some > > content to they... > > > > Due to several issues, I need to separate the action scan and send > > between two > > devices... > > > > I have the code for doing this in one bluetooth device, and I don't know > > very > > well how it works, but I have read it some times... > > > > But I don't find where i can select which bluetooth device I want to use > > to > > doing one method or other... > > > > I have seen that "OBEX_Init" creates a handle to manage the conection..= ., > > but > > it can be select which bluetooth device select for doing this handle? > > > > Thank you very much and I hope somebody understand me. > > > > Fernando > > > > -----------------------------------------------------------------------= -- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Bluez-devel mailing list > > Bluez-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bluez-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel