[GSoC 2026] Modernizing Haiku’s Bluetooth stack: Implementing support for HFP profile | Haiku Project

Hello! I am Vighnesh Sawant, a first year Computer Science undergrad at the Indian Institute of Technology, Madras (IITM). I have contributed to the bluetooth stack before GSoC a little, enabling pairing with most bluetooth devices (before you could only really pair with Bluetooth 1.0 devices) although the implementation is not quite polished yet. Little trivia, my first patch to Haiku ended up breaking DNS resolution on nightly (sorry waddlesplash and Jerome!). I’ll be working on implementing support for the HFP profile in Haiku’s bluetooth stack, which enables audio streaming and hands free voice calls while also laying the groundwork for further improvements of the bluetooth stack. I’ll be mentored by waddlesplash and scottmc.


This is a companion discussion topic for the original entry at https://www.haiku-os.org/blog/vighnesh-sawant/2026-05-03_gsoc_2026_modernizing_haikus_bluetooth_stack_implementing_support_for_hfp_profile
14 Likes

Very nice project, which means that Bluetooth Soundbar could work too?

which enables audio streaming and hands free voice calls while also laying the groundwork for further improvements of the bluetooth stack.

It would be awesome !

Yes, I think most Bluetooth Soundbar’s should work. (Some high end ones might not work if they only support A2DP (a better version of the profile I am implementing))

3 Likes

Ahoy @vighnesh-sawant !

I wish you merry coding hours !

As I wrote in earlier stage of yours, applicants, I just monitor the progress primarily my host BT device availability -
Unfortunately DELL somehow favouritized one of the most non-FOSS vendor - Broadcom - as a supplier - at least in the Workstation level Precision line (I have 3 now).
So this is for BT radio device too.

If I get 2 X Intel Dual Wireless 7260 HIW, then I can put them into M6700 and M6800,

that contains a BT 4.0 radio too, then I can switch to Intel solution, so I have a better odds to have a working Intel BT device driver, which gets earlier into Haiku or works already, due to Broadcom firmware issues .. that I also experience for WLAN wifi cards already.

I do not know exactly which one of you related, but there is a BT related kernel error message in my syslog - at booting :

2026-06-03 15:13:41 KERN: bt: bluetooth_std_ops: Connection Thread error

it is a single line, nothing before/after - you may know it.

   user  ~    17:29    grep -E -i bluetooth /boot/system/var/log/syslog.1 | grep -E -v -i deferred; echo; echo; echo; grep -E -i bluetooth /boot/system/var/log/syslog | grep -E -v -i deferred
2026-06-03 12:29:57 KERN: bt: bluetooth_std_ops: Connection Thread error



2026-06-03 15:13:41 KERN: bt: bluetooth_std_ops: Connection Thread error
   user  ~    17:33    

:cowboy_hat_face: