bluez 5.50 on raspberry howto to trigger bluez to advertise hands-free service profile?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux