wiced_bt_avrc_open function hangs no return no callback

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

cross mob
lock attach
Attachments are accessible only for community members.
SuCh_4805816
Level 1
Level 1
First question asked First reply posted Welcome!

Hi I am trying to program a BR application on the CY8CKIT-062-WiFi-BT using Modustoolbox. I have been successful at making an inquiry for devices in my area but I cannot open an AVRCP with my peer device

THE ISSUE IN THE CODE:

I modified an example application so there are alot of unnecessary parts. But the main code that is running is in ble_task.c.

After initializing the BT stack and receiving BTM_ENABLED_EVT, I scan for nearby devices and receive their BD addresses.

Then in getname_cb I compare the BD names I scan with the name of the peer I want to connect to. If they match I try to open a connection with wiced_bt_avrc_open.

The issue is when I call wiced_bt_avrc_open it does not return any AVRC_RESULT so I assume it is still blocked inside the function. It also does not call any of my given skeleton callback functions.

On my bluetooth speaker that I am trying to pair with It doesnt  seem like it is pairing

Is anyone familiar with this issue?

PROJECT ATTACHED

0 Likes
2 Replies
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

I couldn't check you application. I will try to check and provide you feedback. 

Meanwhile, you can try referring to AVRC controller library to check whether you have made any obvious mistake or not.

https://github.com/cypresssemiconductorco/btsdk-audio/blob/master/COMPONENT_avrc_controller/wiced_bt...

 

Thanks,

-Dheeraj

0 Likes
SuCh_4805816
Level 1
Level 1
First question asked First reply posted Welcome!

You are linking btsdk_audio from wiced_btstdk https://github.com/cypresssemiconductorco/wiced_btsdk. However this eval board isn't supported by wiced_btsdk as shown by the list of supported devices on the github link I posted.

Based on https://github.com/cypresssemiconductorco/modustoolbox-software, the BT stack on CYW43xxx boards (which is the one im using) are implemented by the AnyCloud Libraries (https://github.com/cypresssemiconductorco/btstack/)

 

0 Likes