logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

Bluetooth headset

posted in IGEP COM MODULE
Monday, June 17 2013, 04:04 PM
0
Hello to all,

I'm working with Berlin + COM Module and I'm trying to play audio to a bluetooth headset.
I'm able to perform pairing with bluez-simple-agent and connection is estabilished:

~# hcitool -i hci0 con
Connections:
        > ACL 00:25B:69C:87 handle 42 state 1 lm MASTER AUTH ENCRYPT


I entered the following in /etc/asound.conf

pcm.myBT {
    type bluetooth
    device 00:25B:69C:87
    profile "auto"
}


When I try to play with aplay I can see something change in connection:

~# hcitool -i hci0 con
Connections:
        < eSCO 00:25B:69C:87 handle 45 state 8 lm SLAVE
        > ACL 00:25B:69C:87 handle 42 state 1 lm MASTER AUTH ENCRYPT


but no audio is played. Also, after a while I see a lot of debug messages on serial port like the following and connection is lost.

~# [  993.254516] bcsp_pkt_cull: Peer acked invalid packet
[  993.259704] bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
[  993.504638] bcsp_pkt_cull: Peer acked invalid packet
[  993.509826] bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
[  993.754516] bcsp_pkt_cull: Peer acked invalid packet
[  993.759674] bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
[  994.004455] bcsp_pkt_cull: Peer acked invalid packet
[  994.009613] bcsp_handle_le_pkt: Found a LE sync pkt, card has reset



Please, what I'm missing?
Thanks in advance for any answers

Accepted Answer

mcaro
mcaro
Offline
Tuesday, June 18 2013, 12:27 PM - #permalink
0
Hi Fabiano,

Use the BT (audio down/up link) it's not easy, probably you should start looking the audio driver due all audio / BT is integrated in the same module so take a look here:

http://www.ti.com/lit/ug/swcu050g/swcu050g.pdf

Page: 703

There you've the Audio module diagram, see at top left, there you've the BT paths (green is connected to CSR BT audio, blue is connected to DM3730), probably the right choice is use the audio kernel module for configure it as you need for your application ...

Manel
The reply is currently minimized Show
Responses (3)
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Monday, June 17 2013, 05:59 PM - #permalink
    0
    Hi fabiano,

    Please check if TPS65950 has the bluetooth function enabled:

    http://www.ti.com/lit/ug/swcu050g/swcu050g.pdf

    Page: 627, register PMBR1 bits 6:7

    Manel
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 18 2013, 09:45 AM - #permalink
    0
    Hi Manel, thanks for your answer. please, how can I check what you suggest? Fabiano
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 07 2014, 12:14 PM - #permalink
    0
    Dear Fabiano.

    When you say that you can pair your COM Module and your headset, using bluez-simple-agent, which is that? A shell script?
    I'm trying to connect my COM Module to an Android device during 2/3 weeks, but I can't establish a connection. Which are the shell commands you used to connect them?

    Thank you
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat