From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Date: Fri, 13 Jun 2008 21:53:09 +0100 From: "Valerio Valerio" To: "BlueZ development" In-Reply-To: <2d5a2c100806131229l79022c48w65489072f2e6ca36@mail.gmail.com> MIME-Version: 1.0 References: <2d5a2c100806131229l79022c48w65489072f2e6ca36@mail.gmail.com> Subject: Re: [Bluez-devel] Listen a already open socket by the OS Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0390235030==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0390235030== Content-Type: multipart/alternative; boundary="----=_Part_32420_8094931.1213390389635" ------=_Part_32420_8094931.1213390389635 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, 2008/6/13 Luiz Augusto von Dentz : > I supposed you are the OpenMoko student in charge of remote control. Yap you are right :) > > You better join #bluez @ freenode to stay tunned about bluetooth and > BlueZ, now about HID channels, we already are listen them in hcid, so > you don't need to worry if you are running hcid for the server part. > The tricky part is the client side, when the device act as a > mouse/keyboard, Im afraid there is no library to assist you with HID > protocol and I think you cannot connect in such psm without being root > either. If Im correct about those points then I think it is better to > code the missing HID support inside bluez-utils. Yes the psm 17 (control channel) require root, because is one of the reserved psm, my previous problem is that I had the hidd server running in the client side, if I disable it I can listen the sockets that I need without problems. If one of the BlueZ developer with knowledge of HID, give some orientation for a while, maybe I can do some code that can be useful for other developers and integrated in the bluez-utils. Best regards, --=20 Val=E9rio Val=E9rio http://www.valeriovalerio.org > > -- > Luiz Augusto von Dentz > Engenheiro de Computa=E7=E3o > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------=_Part_32420_8094931.1213390389635 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

2008/6/13 Luiz Augusto von Dentz <= luiz.dentz@gmail.com>:
I supposed you are the OpenMoko student in charge of remote control.
Yap you are right :)

You better join #bluez @ freenode to stay tunned about bluetooth and
BlueZ, now about HID channels, we already are listen them in hcid, so
you don't need to worry if you are running hcid for the server part. The tricky part is the client side, when the device act as a
mouse/keyboard, Im afraid there is no library to assist you with HID
protocol and I think you cannot connect in such psm without being root
either. If Im correct about those points then I think it is better to
code the missing HID support inside bluez-utils.
 
Yes the psm 17 (control channel) require root, because is one of th= e reserved psm,  my previous problem is that I had the hidd server run= ning in the client side, if I disable it I can listen the sockets that I ne= ed without problems.

If one of the BlueZ developer with knowledge of HID, give some orientat= ion for a while, maybe I can do some code that can be useful for other deve= lopers and integrated in the bluez-utils.

Best regards,

-- Val=E9rio Val=E9rio

http:/= /www.valeriovalerio.org



--
Luiz Augusto von Dentz
Engenheiro de Computa=E7=E3o

------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sour= ceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel




------=_Part_32420_8094931.1213390389635-- --===============0390235030== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php --===============0390235030== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============0390235030==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <2d5a2c100806131229l79022c48w65489072f2e6ca36@mail.gmail.com> Date: Fri, 13 Jun 2008 16:29:47 -0300 From: "Luiz Augusto von Dentz" To: "BlueZ development" In-Reply-To: MIME-Version: 1.0 References: Subject: Re: [Bluez-devel] Listen a already open socket by the OS 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-1" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net I supposed you are the OpenMoko student in charge of remote control. You better join #bluez @ freenode to stay tunned about bluetooth and BlueZ, now about HID channels, we already are listen them in hcid, so you don't need to worry if you are running hcid for the server part. The tricky part is the client side, when the device act as a mouse/keyboard, Im afraid there is no library to assist you with HID protocol and I think you cannot connect in such psm without being root either. If Im correct about those points then I think it is better to code the missing HID support inside bluez-utils. -- = Luiz Augusto von Dentz Engenheiro de Computa=E7=E3o ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Date: Wed, 11 Jun 2008 23:02:57 +0100 From: "Valerio Valerio" To: bluez-devel@lists.sourceforge.net MIME-Version: 1.0 Subject: [Bluez-devel] Listen a already open socket by the OS Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1465630572==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1465630572== Content-Type: multipart/alternative; boundary="----=_Part_24832_4103514.1213221777946" ------=_Part_24832_4103514.1213221777946 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm a GSoC student working with Bluez, but for other org. I need to listen a already open socket by the OS, but when a try to overwrite (bind) I get a "already in use error", exist any function or alternative to just listen the socket ? I want to listen the HID channels (psm 17 and 19). Thanks in advance. Cheers, --=20 Val=E9rio Val=E9rio http://www.valeriovalerio.org ------=_Part_24832_4103514.1213221777946 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

I'm a GSoC student working with Bluez, but for other org.I need to listen a already open socket by the OS, but when a try to overwr= ite (bind) I get a "already in use error", exist any function or = alternative to just listen the socket ?
I want to listen the HID channels (psm 17 and 19).

Thanks in advance= .

Cheers,

--
Val=E9rio Val=E9rio

http://www.valeriovalerio.org ------=_Part_24832_4103514.1213221777946-- --===============1465630572== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php --===============1465630572== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1465630572==--