2011-04-01 13:47:40

by Ferraton, Jean RegisX

[permalink] [raw]
Subject: Question about supported profiles

Hi,

I have a question about supported profiles under linux-bluez.
Where and how are defined the default supported profiles? Is it a conf file?
In our case, by default we support HFP, A2DP, OPP, AVRCP...
But if we want to use FTP or DUN, we have to enter "sdptool add DUN" or " sdptool add FTP"
Can anyone tell me how to change the default params?
Thanks
Regards

Jean


---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



2011-04-04 13:46:42

by Vinicius Costa Gomes

[permalink] [raw]
Subject: Re: Question about supported profiles

Hi Jean,

On 09:32 Mon 04 Apr, Ferraton, Jean RegisX wrote:
> Hi Arun,
>
> > -----Original Message-----
> > From: Arun K. Singh [mailto:[email protected]]
> > Sent: Friday, April 01, 2011 7:06 PM
> > To: Ferraton, Jean RegisX
> > Cc: [email protected]
> > Subject: Re: Question about supported profiles
> >
> > Hi Jean,
> >
> > > I have a question about supported profiles under linux-bluez.
> > > Where and how are defined the default supported profiles? Is it a conf
> > file?
> > > In our case, by default we support HFP, A2DP, OPP, AVRCP...
> > > But if we want to use FTP or DUN, we have to enter "sdptool add DUN" or
> > " sdptool add FTP"
> > > Can anyone tell me how to change the default params?
> >
> > First of all its not clear what exactly are you looking for? in case
> > you need to know which all profiles are supported in bluez,
> > ./configure --help should help! Most of the profiles are implemented
> > as plugins to either bluetoothd or obexd.
> > Few of the profiles are also supported via daemons. All data profiles,
> > such as FTP/OPP/PBAP they are supported as obex plugins.
> > hope this helps.
> >
> > thanks,
> > Arun
>
> To clarify my question, I want to know where is stored the information of profiles supported by our device when we launch the command "sdptool browse BDADDR" from an external device. This command gives us our platform default supported profiles.
> If I launch additional commands like "sdptool add DUN" or " sdptool add FTP", my platform is seen as supporting more profiles.
> Where and how can I modify this default profile list?

Normally those SDP records are added by bluetoothd services (audio and
network, for example) or some external service (obexd is a good example).

For the bluetoothd services case, you can disable the services that you
don't want editing the configuration file (by default,
/etc/bluetooth/main.conf), for obexd you have to edit its command line
parameters.

> Thanks
> Regards
> Jean
> ---------------------------------------------------------------------
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris,
> 92196 Meudon Cedex, France
> Registration Number: 302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.


Cheers,
--
Vinicius

2011-04-04 08:32:56

by Ferraton, Jean RegisX

[permalink] [raw]
Subject: RE: Question about supported profiles

SGkgQXJ1biwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBcnVuIEsu
IFNpbmdoIFttYWlsdG86YXJ1bmthdEBnbWFpbC5jb21dDQo+IFNlbnQ6IEZyaWRheSwgQXByaWwg
MDEsIDIwMTEgNzowNiBQTQ0KPiBUbzogRmVycmF0b24sIEplYW4gUmVnaXNYDQo+IENjOiBsaW51
eC1ibHVldG9vdGhAdmdlci5rZXJuZWwub3JnDQo+IFN1YmplY3Q6IFJlOiBRdWVzdGlvbiBhYm91
dCBzdXBwb3J0ZWQgcHJvZmlsZXMNCj4gDQo+IEhpIEplYW4sDQo+IA0KPiA+IEkgaGF2ZSBhIHF1
ZXN0aW9uIGFib3V0IHN1cHBvcnRlZCBwcm9maWxlcyB1bmRlciBsaW51eC1ibHVlei4NCj4gPiBX
aGVyZSBhbmQgaG93IGFyZSBkZWZpbmVkIHRoZSBkZWZhdWx0IHN1cHBvcnRlZCBwcm9maWxlcz8g
SXMgaXQgYSBjb25mDQo+IGZpbGU/DQo+ID4gSW4gb3VyIGNhc2UsI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yaWN0bHkgcHJvaGli
aXRlZC4gSWYgeW91IGFyZSBub3QgdGhlIGludGVuZGVkCnJlY2lwaWVudCwgcGxlYXNlIGNvbnRh
Y3QgdGhlIHNlbmRlciBhbmQgZGVsZXRlIGFsbCBjb3BpZXMuCg==


2011-04-01 17:06:20

by Arun K. Singh

[permalink] [raw]
Subject: Re: Question about supported profiles

Hi Jean,

> I have a question about supported profiles under linux-bluez.
> Where and how are defined the default supported profiles? Is it a conf file?
> In our case, by default we support HFP, A2DP, OPP, AVRCP...
> But if we want to use FTP or DUN, we have to enter "sdptool add DUN" or " sdptool add FTP"
> Can anyone tell me how to change the default params?

First of all its not clear what exactly are you looking for? in case
you need to know which all profiles are supported in bluez,
./configure --help should help! Most of the profiles are implemented
as plugins to either bluetoothd or obexd.
Few of the profiles are also supported via daemons. All data profiles,
such as FTP/OPP/PBAP they are supported as obex plugins.
hope this helps.

thanks,
Arun