From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: Carlo Giuseppe Monaco To: Date: Thu, 26 Jun 2008 15:27:18 +0200 In-Reply-To: References: MIME-Version: 1.0 Subject: [Bluez-devel] adding PDU and debbugging sdp daemon Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1895806975==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1895806975== Content-Type: multipart/alternative; boundary="_734ca61f-a1a8-4433-bc40-8b70cec42b34_" --_734ca61f-a1a8-4433-bc40-8b70cec42b34_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Dear Sir, I'm modifying bluez-libs and bluez-utils (i'm using 3.9 version) to introduce new pdu relating to registration, request and response of new services. For example i'm adding new pdu types, defining them into bluez-libs-3.9/i= nclude/sdp.h=20 # define SDP_NEW_REGISTER_REQ 0x85 But during debugging I returned errno =3D EINVAL (set by sdp_device_record_regi= ster_binary written in sdp.c ) and the sdp daemon log file=20 gets the following result:=20 Jun 25 21:26:31 pinta-desktop hcid[4967]: Unknown PDU ID : 0x85 received=20 (i thintk it's a message sent from function process_request written in bluez_utils_3.9/sdpd/request.c ) =20 How can i accept new types of pdu declared? Is there a way to debug sdp daemon alternative to log file, for example using gdb o using particular options in ./configure command? I tried using --enable-debug option for configure and launching gdb, but they don't work. Thanks for your support and sorry for my english. Best Regards, Carlo M.=20 _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Space= s. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.= aspx&mkt=3Den-us= --_734ca61f-a1a8-4433-bc40-8b70cec42b34_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Sir,

I'm modifying bluez-libs and bluez-utils (i'm usin= g 3.9 version) to introduce new pdu relating to registration, request and response of new services.
For example  i'm adding new pdu types, de= fining them into  bluez-libs-3.9/include/sdp.h

# define SDP_NE= W_REGISTER_REQ 0x85

But during debugging I returned errno =3D EINVAL (set by sdp_device_record_regi= ster_binary written in sdp.c ) and the sdp daemon log file  gets the following result:

Jun 25 21:26:31 pinta-desktop hcid[4967]= : Unknown PDU ID : 0x85 received
(i thintk it's a message sent from fun= ction process_request written in bluez_utils_3.9/sdpd/request.c )

How can i accept new ty= pes of pdu declared?
Is there a way to debug sdp daemon alternative to log file, for example using gdb o using particular options in ./configure command? I tried using --enable-debug option for configure and launching gdb, but they don't work.


Thanks for your support and sorry for my english.
Best Regards,
Carlo M.


Invite your mail contacts to join your friends lis= t with Windows Live Spaces. It's easy! Try it! = --_734ca61f-a1a8-4433-bc40-8b70cec42b34_-- --===============1895806975== 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 --===============1895806975== 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 --===============1895806975==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: Carlo Giuseppe Monaco To: Date: Thu, 26 Jun 2008 15:22:44 +0200 In-Reply-To: References: MIME-Version: 1.0 Subject: [Bluez-devel] adding PDU and debbugging sdp daemon Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1569693557==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1569693557== Content-Type: multipart/alternative; boundary="_599a52ea-7ab8-4a97-924b-61d740a654f6_" --_599a52ea-7ab8-4a97-924b-61d740a654f6_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 Dear Sir, I'm modifying bluez-libs and bluez-utils (i'm using 3.9 version) to introduce new pdu relating to registration, request and response of new services. For example i'm adding new pdu types, defining them into bluez-libs-3.9/i= nclude/sdp.h=20 # define SDP_NEW_REGISTER_REQ 0x85 But during debugging I returned errno =3D EINVAL (in function process_request written in bluez_utils_3.9/sdpd/request.c )and the sdp daemon log file=20 gets the following result:=20 Jun 25 21:26:31 pinta-desktop hcid[4967]: Unknown PDU ID : 0x85 received =20 How can i accept new types of pdu declared? Is there a way to debug sdp daemon alternative to log file, for example using gdb o using particular options in ./configure command? I tried using --enable-debug option for configure and launching gdb, but they don't work. Thanks for your support and sorry for my english. Best Regards, Carlo M. _________________________________________________________________ Connect to the next generation of MSN Messenger=A0 http://imagine-msn.com/messenger/launch80/default.aspx?locale=3Den-us&sourc= e=3Dwlmailtagline= --_599a52ea-7ab8-4a97-924b-61d740a654f6_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Sir,

I'm modifying bluez-libs and bluez-utils (i'm usin= g 3.9 version) to introduce new pdu relating to registration, request and response of new services.
For example  i'm adding new pdu types, de= fining them into  bluez-libs-3.9/include/sdp.h

# define SDP_NE= W_REGISTER_REQ 0x85

But during debugging I returned errno =3D EINVAL (in function process_request written in bluez_utils_3.9/sdpd/request.c )and the sdp daemon log file = ; gets the following result:

Jun 25 21:26:31 pinta-desktop hcid[4967]= : Unknown PDU ID : 0x85 received

How can i accept new types of pdu = declared?
Is there a way to debug sdp daemon alternative to log file, for example using gdb o using particular options in ./configure command? I tried using --enable-debug option for configure and launching gdb, but they don't work.


Thanks for your support and sorry for my english.
Best Regards,
Carlo M.



Connect to the next generation of MSN Messenger=A0= Get it now! = --_599a52ea-7ab8-4a97-924b-61d740a654f6_-- --===============1569693557== 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 --===============1569693557== 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 --===============1569693557==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Date: Thu, 26 Jun 2008 08:26:03 -0600 From: "Brad Midgley" To: "BlueZ users" In-Reply-To: MIME-Version: 1.0 References: Subject: Re: [Bluez-users] Sbc encode optimization 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 Paul > I see "There are a couple of optimizations the codec could see but it > performs reasonably on 200MHz+ devices. " on the wiki.bluez.org site. > Would you tell me how to optimise the sbc encode for arm926ejs? Thanks. The input data is copied a couple of times inside the encoder. It would be faster if it was not being copied. There are places, like the precomputed tables, that could be represented in 16 bits. There was no advantage to doing this on the TI arm chip but it might be a different result for other chips. -- Brad ------------------------------------------------------------------------- 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-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: Thu, 26 Jun 2008 14:03:23 +0800 From: salyer To: bluez-users@lists.sourceforge.net MIME-Version: 1.0 Subject: [Bluez-users] Sbc encode optimization Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2007944469==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============2007944469== Content-Type: multipart/alternative; boundary="----=_Part_3449_3895276.1214460203143" ------=_Part_3449_3895276.1214460203143 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Dear sir , I see "There are a couple of optimizations the codec could see but it performs reasonably on 200MHz+ devices. " on the wiki.bluez.org site. Would you tell me how to optimise the sbc encode for arm926ejs? Thanks. Best Regards & Thanks Paul Zhu. -- Best Regards! ------=_Part_3449_3895276.1214460203143 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Dear sir ,
I see "There are a couple of optimizations the codec could see but it performs reasonably on 200MHz+ devices. " on the wiki.bluez.org site.
Would you tell me how to optimise the sbc encode for arm926ejs? Thanks.



Best Regards & Thanks
Paul Zhu.
--
Best Regards! ------=_Part_3449_3895276.1214460203143-- --===============2007944469== 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 --===============2007944469== 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 --===============2007944469==--