Unable to set up SCO connection

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
oskla129
Level 2
Level 2
First like received 5 replies posted First solution authored

Hi,

I am trying to use CYBT-353027-02 as a headset.

When I make a call on the phone I get a BTM_SCO_CONNECTION_REQUEST_EVT event.

In the event handler I call the wiced_bt_sco_accept_connection function but the connection is not established. After a few seconds I get a BTM_SCO_DISCONNECTED_EVT event.

Why?

How can I troubleshoot this issue?

/BR

0 Likes
1 Solution
oskla129
Level 2
Level 2
First like received 5 replies posted First solution authored

Found the problem. I had the somehow managed to set wrong esco parameters,

View solution in original post

0 Likes
4 Replies
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hello @oskla129 

Can you please let us know what is the end application you are trying to implement ? Headset app should work as such , can you please let me know why you want to modify it with accept SCO connection API ? 

Regards,

Anjana

0 Likes
oskla129
Level 2
Level 2
First like received 5 replies posted First solution authored

The end application is a headset.

I am using the example at https://github.com/Infineon/mtb-example-btsdk-audio-headset as starting point. 
In that example wiced_bt_sco_accept_connection was called on SCO connection request so, I assumed that was the correct thing to do.

Is it not necessary?

 

Regards,
Oskar

0 Likes
oskla129
Level 2
Level 2
First like received 5 replies posted First solution authored

Found the problem. I had the somehow managed to set wrong esco parameters,

0 Likes
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi @oskla129 

Thanks for sharing the fix. 

Regards,

Anjana

0 Likes