linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Programmatically change bluetooth profiles
@ 2016-10-05  5:19 Marco Trapanese
  0 siblings, 0 replies; only message in thread
From: Marco Trapanese @ 2016-10-05  5:19 UTC (permalink / raw)
  To: linux-bluetooth@vger.kernel.org

Hello,
I'm working with bluez 5.40 on RPi3 with Raspbian Jessie Lite.
I set up my own GATT server (handled in Qt5) so the users can write a 
characteristic which their preferences about bluetooth profiles.

In detail, I'm interested to enable/disable "on-the-fly" the A2DP and 
HFP profiles.

I wonder how to do this from C++ or even from command line.
Of course I MUST avoid to restart the bluetooth service because I need 
to keep the GATT server running.

Right now I only know the class value in /etc/bluetooth/main.conf 
(currently is set to 0x0c0408). But I'm looking for something better...

Any suggestion?

Thanks
Marco


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-05  5:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-05  5:19 Programmatically change bluetooth profiles Marco Trapanese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).