-
Hi all, I have been able to setup the following design: { LINUX_MACHINE_1 <bt_write/bt_read> PHONE } <---------------- TELEPHONY ---------------> { PHONE <bt_write/bt_read> LINUX_MACHINE_2 } To explain a bit: Now I was trying to get raw "sound data" from "linux_machine_1" to "linux_machine_2". voice -> "mic" -> jack on linux_machine_1 -> bt_write -> phone -> telephony -> phone -> bt_read -> jack on linux_machine_2 -> headphone -> sound at ear.In that test case, when I output raw data BT_WRITE versus BT_READ, I cannot see the same values (still hearing the voice). Am I expecting something wrong or should be possible to get same BT packets? Any help really appreciated guys |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
The voice "telephony" link between mobile phones uses a "lossy" codec, meaning that it is impossible for the receiving device to precisely reconstruct the exact same data stream as was encoded by the sending device. Then add to that the 2 bluetooth links which also use "lossy" codecs (CVSD or mSBC) and you can see that there is always going to be significant differences in the data streams passing over the 2 HCI links. What matters is that the 2 different data streams produce audio streams that are similar enough to be recognized by the human ear as "the same". |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. Just one point more: I have evidence that one company is able to perform call enc/dec with a very similar setup. They have a dedicated HW setup so probably solving the lossy stuff on one side (not using cvsd probably).But still, I could they solve the "telephony" side ?? Any help really appreciated |
Beta Was this translation helpful? Give feedback.
-
Here's a thought experiment: sender : voice -> ADC -> encrypt -> modulate -> audio pulses -> GSM Here the key is modulation: like in the old days with 56k modems for transferring data over analog phone lines. The encryped data stream is transformed into a stream of audio pulses which can be demodulated back to the original encrypted data stream even after transmission over a "lossy" network (provded it is not too lossy !!) |
Beta Was this translation helpful? Give feedback.
The voice "telephony" link between mobile phones uses a "lossy" codec, meaning that it is impossible for the receiving device to precisely reconstruct the exact same data stream as was encoded by the sending device. Then add to that the 2 bluetooth links which also use "lossy" codecs (CVSD or mSBC) and you can see that there is always going to be significant differences in the data streams passing over the 2 HCI links. What matters is that the 2 different data streams produce audio streams that are similar enough to be recognized by the human ear as "the same".