All of lore.kernel.org
 help / color / mirror / Atom feed
* Query regarding sdptool
@ 2014-11-11 13:20 Gowtham Anandha Babu
  2014-11-11 14:32 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 3+ messages in thread
From: Gowtham Anandha Babu @ 2014-11-11 13:20 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: 'Bharat Panda', cpgs, 'Dmitry Kasatkin'

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?

Regards,
Gowtham Anandha Babu


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Query regarding sdptool
  2014-11-11 13:20 Query regarding sdptool Gowtham Anandha Babu
@ 2014-11-11 14:32 ` Luiz Augusto von Dentz
  2014-11-12 12:55   ` Gowtham Anandha Babu
  0 siblings, 1 reply; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2014-11-11 14:32 UTC (permalink / raw)
  To: Gowtham Anandha Babu
  Cc: linux-bluetooth@vger.kernel.org, Bharat Panda, cpgs,
	Dmitry Kasatkin

Hi Gowtham,

On Tue, Nov 11, 2014 at 3:20 PM, Gowtham Anandha Babu
<gowtham.ab@samsung.com> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Query regarding sdptool
  2014-11-11 14:32 ` Luiz Augusto von Dentz
@ 2014-11-12 12:55   ` Gowtham Anandha Babu
  0 siblings, 0 replies; 3+ messages in thread
From: Gowtham Anandha Babu @ 2014-11-12 12:55 UTC (permalink / raw)
  To: 'Luiz Augusto von Dentz'
  Cc: linux-bluetooth, 'Bharat Panda', cpgs,
	'Dmitry Kasatkin'

Hi Luiz,

> -----Original Message-----
> From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-
> owner@vger.kernel.org] On Behalf Of Luiz Augusto von Dentz
> Sent: Tuesday, November 11, 2014 8:03 PM
> To: Gowtham Anandha Babu
> Cc: linux-bluetooth@vger.kernel.org; Bharat Panda; cpgs@samsung.com;
> Dmitry Kasatkin
> Subject: Re: Query regarding sdptool
> 
> Hi Gowtham,
> 
> On Tue, Nov 11, 2014 at 3:20 PM, Gowtham Anandha Babu
> <gowtham.ab@samsung.com> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org More majordomo
> info at  http://vger.kernel.org/majordomo-info.html


Thanks for your information.
Btw I have added the MAP service implementation in sdptool (add, del, get). Just now I tested it, it's working fine for all cases.
Soon I will be sending it.

Regards,
Gowtham Anandha Babu


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-12 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-11 13:20 Query regarding sdptool Gowtham Anandha Babu
2014-11-11 14:32 ` Luiz Augusto von Dentz
2014-11-12 12:55   ` Gowtham Anandha Babu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.