Return-Path: From: Marcel Holtmann To: BlueZ users In-Reply-To: <8712867d0608191723n1c5d2be5vdf5a280898ec1b5f@mail.gmail.com> References: <8712867d0608190931o3f6042eyfdb6fdff805f91b@mail.gmail.com> <1156037732.3989.10.camel@aeonflux.holtmann.net> <8712867d0608191723n1c5d2be5vdf5a280898ec1b5f@mail.gmail.com> Date: Sun, 20 Aug 2006 05:07:43 +0200 Message-Id: <1156043263.3989.24.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-users] libbluetooth usage 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 Jaime, > > > Can someone please point me to some documentation about libbluetooth usage? > > > > > > How can I use this library to establish comunication with a BT device? > > > > > > I'm trying to write a program in J2ME for my Nokia 6670 that > > > communicates with my Linux PC via RFCOMM. If I use the rfcomm utility > > > like this: > > > > > > # rfcomm bind 0 00:02:5B:00:A5:A5 > > > > > > All I have to do is write a program that opens the rfcomm0 serial port > > > and waits for data? How can I detect when the client connects? > > > > who is the client? > > The client is the phone, the PC will have an application waiting for > connections from the phone. then you are looking for "rfcomm listen" and not "rfcomm bind". > > > How do I use the RFCOMM socket interface? > > > > The programs rctest.c and attest.c give a good example on how to use the > > RFCOMM socket interface. > > Hmm, I guess those doesn't come in the Debian packages, Where can I find them? They are part of bluez-utils source package. Regards Marcel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users