Skip to contentSkip to conversation

Query regarding sdptool

DISCUSSION Gowtham Anandha Babu 2 participants 3 messages Nov 11, 2014 – Nov 12, 2014 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi Gowtham,

Quoted 8 lines · Gowtham Anandha Babu

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!"

Quoted 8 lines

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.

Signature · 1 line
Luiz Augusto von Dentz
#2 lore raw

Hi Luiz,

Quoted 38 lines

-----Original Message-----
From: [email protected] [mailto:linux-bluetooth- [email protected]] On Behalf Of Luiz Augusto von Dentz
Sent: Tuesday, November 11, 2014 8:03 PM
To: Gowtham Anandha Babu
Cc: [email protected]; Bharat Panda; [email protected]; Dmitry Kasatkin
Subject: Re: Query regarding sdptool

Hi Gowtham,

Quoted 8 lines · Gowtham Anandha Babu

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!"

Quoted 8 lines

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.

Quoted 6 lines

--
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected] 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