Questions tagged [hfp]

HFP (Hands-Free Profile) is a bluetooth profiles that allows hands-free kits to communicate with mobile phones.

HFP (Hands-Free Profile) is a bluetooth profiles that allows hands-free kits to communicate with mobile phones.

60 questions
2
votes
1 answer

Use bluetooth HFP profile to get battery level from headset

I am trying to get the battery level of my headset device with bluetooth 4.1 with AT commands from Windows using the Handsfree Profile (HFP). I have extracted the bluetooth log from my Android phone (which is able to get the battery level) and the…
soyxan
  • 51
  • 6
2
votes
1 answer

HFP implementation for Android

I want to implement HFP in Bluetooth for Android Marshmallow . Can anyone share the related document or provide me your guidance
2
votes
0 answers

iOS: How to handle events from Bluetooth HFP devices?

I'm trying to know how is possible to observe events from Bluetooth handsfree(Particular case - Plantronics M50) devices? WatsApp does it, through the BTServer. I've tried to catch event with: MPRemoteCommandCenter MPRemoteCommandCenter*…
Andrei
  • 114
  • 6
2
votes
1 answer

Programmatically enable/disable Bluetooth profiles

I'm running Rasbian Jessie Lite on Raspberry Pi 3 with a USB/Bluetooth dongle (blueZ) 5.4. The /etc/bluetooth/main.conf has Class = 0x0c0408. I have a Qt5 application which enables the Bluetooth device and accepts any incoming pairing requests. I…
Mark
  • 4,338
  • 7
  • 58
  • 120
2
votes
0 answers

How to use HPF client in android L or higher version with bluedroid?

I have a problem when trying to implement HFP client. Usually the android phone works as HFP ag role. But I want to make my android device work as the HF role, such as a normal headset. It seems that Google has added the HFP client code but I failed…
liziqi
  • 21
  • 2
1
vote
0 answers

Bluez: Implementing custom profiles - A2DP, HFP, PBAP

I am quite new to bluetooth development, but having fun learning it! So far I have worked on making a RPi4 into a central device, and have managed to implement discovery, connecting, monitoring, etc. In the coming days I want to start working on a…
1
vote
0 answers

Noisy sound when using bluetooth HFP with Ofono and pulseaudio

Following everything mentionned here On my Raspberry Pi 4 with Raspbian Bullseye. I have an issue with the incoming and outgoing sound of HFP when calling with my paired phone. I can hear and speak but it is really really noisy and sometimes…
xavi-b
  • 95
  • 1
  • 11
1
vote
1 answer

How to implement HFP on linux with bluez?

I'd like to implement HFP on Linux. As far as I understand I need to first create SPP connection between my phone and a computer in order to exchange some setting. In BT specification, there is a spp service. is it this one what i need or do i have…
user
  • 95
  • 1
  • 9
1
vote
1 answer

Qt Bluetooth AVRCP Implementation

I'm working on Qt project and I successfully implemented Bluetooth connection using "HandsfreeAudioGateway" so I can stream audio. As a next step I would like to implement AVRCP to control the audio player over Bluetooth. Looks like Qt doesn't…
Akın
  • 21
  • 2
1
vote
0 answers

Is it possible to send AT commands over BLE?

I want to accept, end and reject incoming calls when my Android phone is connected to my bluetooth enabled device over BLE. I understand that this is possible by sending AT commands over HFP. Is it possible to send AT commands over BLE as well?
1
vote
0 answers

How to keep output on bluetooth device in AVAudioSession with PlayAndRecord when the BT-device only has a speaker?

I've created an AVAudioSession with AVAudioSessionCategoryPlayAndRecord and AVAudioSessionCategoryOptionDefaultToSpeaker | AVAudioSessionCategoryAllowBluetooth as option. As long as a device with speaker and mic is connected everything is fine. The…
MatzeLoCal
  • 392
  • 3
  • 14
1
vote
0 answers

How to make a VOIP app use a carkit like the native call app?

I've been searching for over a week now with no clear solutions. We are building an ap that can make VOIP calls. The current implementation uses AudioManager.requestAudioFocus to tunnel a voice call over a bluetooth headset or carkit, and can uses…
johanw666
  • 11
  • 3
1
vote
0 answers

Bluetooth HFP Subscriber number information (AT+CNUM). How reliable is it?

I'm working on a side project that connects to a phone using Bluetooth. I was going to try to get the number of the connected phone using the HFP Subscriber Number Information command (AT+CNUM). How reliable is this way of getting phone number…
1
vote
2 answers

Difference between HFP 1.7 and HFP 1.6?

Can someone please tell me the difference between HFP 1.7 and HFP 1.6 ? I am looking for differences in addition to what already mentioned in Wikipedia. Any link or document would be highly appreciated.
user622630
  • 191
  • 1
  • 3
  • 7
1
vote
0 answers

Bluetooth HFP on the Raspberry Pi

i am trying to connect my raspi with a BT-Headset with the build in bluetooth. it is working with pulseaudio 5.0 and bluez 5.23. But the thing is it just supports A2DP. i want to use it as a real Headset so i Need HFP. I read that bluez 5 doesnt…
de_dieter
  • 37
  • 8