From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4CBEC148.1000606@atheros.com> Date: Wed, 20 Oct 2010 15:45:36 +0530 From: Balamurugan Mahalingam MIME-Version: 1.0 To: Suraj Sumangala CC: Mahalingam Balamurugan , "marcel@holtmann.org" , "johan.hedberg@gmail.com" , "linux-bluetooth@vger.kernel.org" , "charubala@charubala.com" Subject: Re: [PATCH] Fix hidd showing different names for same device References: <1287565973-5350-1-git-send-email-mbalamurugan@atheros.com> <4CBEBA32.3040806@Atheros.com> In-Reply-To: <4CBEBA32.3040806@Atheros.com> Content-Type: text/plain; charset="iso-8859-1"; format=flowed List-ID: Suraj Sumangala wrote: > Hi Bala, > > On 10/20/2010 2:42 PM, Balamurugan Mahalingam wrote: > >> hidd shows different names for a same device when >> connected from GUI and CLI >> >> Blueman and other GUIs use the string from ServiceName attribute as >> device name in the SDP response, but hidd tool uses strings from >> Service Description and Provider Name atrribute. >> >> SDP response from Microsoft Bluetooth device has extended ASCII >> character 174(registered symbol) in its ServiceDescription attribute. >> Android platform expects the device name to have only printable >> characters and therefore GUI Crashes while connecting Microsoft >> Bluetooth Mouse using hidd >> >> Using the ServiceName attribute from the SDP response >> instead of ProviderName+ServiceDescription for device name in the >> hidd tool solves both the issues. >> --- >> > > may be you can shorten the commit message. May be have something like this > > This patch lets hidd use ServiceName attribute from the SDP response > instead of ProviderName+ServiceDescription for device name. > SDP response from Microsoft Bluetooth device has extended ASCII > character 174(registered symbol) in its ServiceDescription attribute. > This causes some Bluetooth application which expects only printable > characters as device name to crash. > > Regards > Suraj > . > > Ok Suraj. I will send the patch once again Thanks & Regards Balamurugan Mahalingam