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==--