linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bluez 5.50 on raspberry howto to trigger bluez to advertise hands-free service profile?
@ 2019-11-23 20:49 Mathias Essenpreis
  0 siblings, 0 replies; only message in thread
From: Mathias Essenpreis @ 2019-11-23 20:49 UTC (permalink / raw)
  To: linux-bluetooth

Hi experts,

My goal is to pair my car Bluetooth to my raspberry each time the devices connect. Therefore I want to enable e.g.handsfree profile on the raspberry. I played around with the example–advertisement script. While running the script it seems Bluez is advertising the profile but after ending the script the profiles are gone. 

So I tried with the sdptool and I enabled it via running bluetoothd in compatibility mode. However when issuing the show command in bluetoothctl I don’t see the added profiles. I only see it when issuing "sdptool browse local".



So overall my question is about the right and recommended way to advertise a certain set of profiles in my bluez version 5.50?  

Also I wonder whether I should still use sdptool in latest versions of bluez. Or perhaps I should switch to BLE and Gatt? My car would support it. 


Thx Esse

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

only message in thread, other threads:[~2019-11-23 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-23 20:49 bluez 5.50 on raspberry howto to trigger bluez to advertise hands-free service profile? Mathias Essenpreis

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).