LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2014, 06:54 AM   #1
pratsam
LQ Newbie
 
Registered: Jul 2009
Posts: 13

Rep: Reputation: 0
Unhappy " to proof audio in bluetooth is working via sco link"


Issue : Monitor sco packets between master and slave bluetooth.

Description of problem. I have small in-house Bluetooth device( developed in Linux fedora OS) and is configured as slave device.

I am interested in following things and any help will be truely benifical to me as I think I have hit the dead end.

1) Master to connect to our in-built device and establish an sco link. how would I verify link is established?

2) master to send sco packets to slave and slave send back( loopback) the same packets to master. .. Absolutely no idea how to do that?

What I did so far:

1) Well I have configured our in-built device to slave and successfully connected to windows laptop via bluetooth.

2) I have enabled headset profile in my in-house BT device and I can see headset icon on windows.

3) on linux side via c++ code I have modified /etc/asound.conf to include mac-address of connected device( in my case windows laptop) .
sample is shown below

PHP Code:
pcm.btheadset {
   
type plug
   slave 
{
       
pcm {
           
type bluetooth
           device DC
:A9:71:8D:2D:C6
           profile 
"auto"
       
}
   } 
4) then play the sound on my in-house BT via command aplay -D btheadset " path of audio_file"

And I can successfully hear sound on my windows laptop.

SO far so good.
Now when i do hciconfig -a

acl packets have increase but sco remain at 0

RX bytes:1041 acl:456 sco:0 events:36 errors:0
TX bytes:1347 acl:567 sco:0 commands:34 errors:0


1)Will this proof that audio is working but not via sco ?

2) I have found that I don't have btsco driver or hcid.conf file . Do you thinks that could be an issue?

3) if my audio is working via sco could someone provide me an example of how to test via hcidump?

4) how to loop back it to master?

Any help or criticism will be beneficial to me.
Thanks a lot
 
  


Reply

Tags
bluetooth, bluez


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: More "Paul Murphy" Anti-Linux FUD: SCO or Son of SCO Can Still Win LXer Syndicated Linux News 0 06-21-2010 09:30 PM
hotmail "inbox" link not working in amsn paulwall Ubuntu 1 03-13-2008 07:36 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
"M-Audio Mobile Pre Usb" Soundcard stopped working sonium Linux - Hardware 1 12-22-2006 12:58 AM
"D-Link DWL G520+ not working in FC3 64-BIT" manikantha Linux - Wireless Networking 2 12-29-2004 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration