Discussion:
Sending voice over bluetooth headset
Yasin Ghannam
2013-08-14 08:04:18 UTC
Permalink
Sorry if resurrecting this old thread is a nuisance, but I'm in dire need
of help. I also did the same as the original poster, sending text messages
to phones as a start, but actually thinking of voice. I wanted to send
audio from a mobile device to a PC over bluetooth. The other way around
isn't necessary.
I understand now that I have to use either A2DP or HSP, but I can't figure
out how. Is there an interface for it in java, like BlueCove?
What I want to accomplish specifically is get the DTMF tones from the
mobile by making it act as a headset (or audio gateway) to the PC. Is that
possible with A2DP or HSP?
Thank you.
You can't send voice to headset using BlueCove. For this you will need
Advanced Audio Distribution Profile (A2DP) or Headset Profile (HSP)
See more http://en.wikipedia.org/wiki/Bluetooth_profile
BlueCove is not Bluetooth Protocol Stack! BlueCove is Java JSR-82
* SDAP - Service Discovery Application Profile
* RFCOMM - Serial Cable Emulation Protocol
* L2CAP - Logical Link Control and Adaptation Protocol
* OBEX - Generic Object Exchange Profile (GOEP) profile on top of
RFCOMM and TCP
Dear all,
I am using bluecove 2.2 and JSE. With the bluecove, I was able to
discover the headset. Now, I want to send voice from computer to
headset and the other way around using bluecove. Is it possible using
bluecove? I saw that using obex, its possible to send text file from
pc to mobile.
Which protocol is responsible for sending voice?
What will be the procedure after creating the connection?
How can I send voice?
I would be greatful if someone help me by giving me some instructions,
examples and so on.
Thanking you,
Ratul
--
Vlad
--
You received this message because you are subscribed to the Google Groups "bluecove-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bluecove-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to bluecove-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/bluecove-users.
For more options, visit https://groups.google.com/groups/opt_out.
Martin Naughton
2014-05-14 14:23:36 UTC
Permalink
From looking at the HSP specification it uses RFCOMM protocol. You could in
theory use HSP but you would have to figure out the profile yourself e.g.
Sending hex information. This is my understanding.

https://developer.bluetooth.org/TechnologyOverview/Pages/HSP.aspx
Sorry if resurrecting this old thread is a nuisance, but I'm in dire need
of help. I also did the same as the original poster, sending text messages
to phones as a start, but actually thinking of voice. I wanted to send
audio from a mobile device to a PC over bluetooth. The other way around
isn't necessary.
I understand now that I have to use either A2DP or HSP, but I can't figure
out how. Is there an interface for it in java, like BlueCove?
What I want to accomplish specifically is get the DTMF tones from the
mobile by making it act as a headset (or audio gateway) to the PC. Is that
possible with A2DP or HSP?
Thank you.
--
You received this message because you are subscribed to the Google Groups "bluecove-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bluecove-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to bluecove-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/bluecove-users.
For more options, visit https://groups.google.com/d/optout.
Loading...