Return-Path: MIME-Version: 1.0 In-Reply-To: <000601cffdb2$4e3e8580$eabb9080$@samsung.com> References: <000601cffdb2$4e3e8580$eabb9080$@samsung.com> Date: Tue, 11 Nov 2014 16:32:38 +0200 Message-ID: Subject: Re: Query regarding sdptool From: Luiz Augusto von Dentz To: Gowtham Anandha Babu Cc: "linux-bluetooth@vger.kernel.org" , Bharat Panda , cpgs@samsung.com, Dmitry Kasatkin Content-Type: text/plain; charset=UTF-8 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Gowtham, On Tue, Nov 11, 2014 at 3:20 PM, Gowtham Anandha Babu wrote: > Hi All, > > I am currently testing sdptool. > The issues I am facing are, > > 1) When I run ./sdptool del PBAP, I am getting the below error: > " No local SDP server!" > > 2) When I run ./sdptool get PBAP, I am getting the below error: > "Failed to connect to SDP server on FF:FF:FF:00:00:00: Connection refused" > > 3) when I run ./sdptool add PBAP, Nothing is printing, I don't know whether > it is added or not. > > Bluetoothd is running and hci0 is up. Is there any file/script that I need > to run to make Local SDP server UP? First of all you are not suppose to interact with SDP database using sdptool, these commands have been deprecated long long time ago. If you want to test just registering and removing a record it is probably better to use test/test-profile. If you want to check local records with sdptool you need to run bluetooth with -C/--compat option and root permissions e.g. sudo sdptool browse local. -- Luiz Augusto von Dentz