BR/EDR Disconvery start/stop does not work in WICED client control application for CYW920719Q40EVB-01

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

cross mob
anje_2248446
Level 3
Level 3
25 sign-ins 10 replies posted 10 questions asked

I have installed the latest WICED Studio version 6.4

With this I'm able to successfully program CYW920719Q40EVB-01 provided applications like audio gateway or audio watch examples.

Now, when I try to use client control application when audio watch example is programmed in the device, BR/EDR discovery start/stop buttons are enabled. But when I press start discovery button, nothing really happens and BR/EDR devices near by (which are in pairing mode) does not get discovered by device and client control application BR/EDR discovery drop down list is empty. So, I'm not really able to test AV Source (A2DP source) feature.

Here is the BTSpy Log:

20:53:02.159 Opened \\.\COM15 at speed: 3000000 flow on

20:53:04.143 Startup

20:53:04.143 Set discoverable:1, connectable:1

20:53:04.143 Set Pairable:1

20:53:07.639 Client Control app established communication with Bluetooth device.

20:53:07.639 Device Started

20:53:07.639 Startup

20:53:07.639 Set discoverable:1, connectable:1

20:53:07.639 Set Pairable:1

20:53:07.723 SENT [2] Command to HCI.  Name: HCI_Write_Current_IAC_LAP   (Hex Code: 0x0c3a  Param Len: 4)

20:53:07.723                                  Num IAC : 1 (0x01)

20:53:07.723                                  LAP [1] : 9e-8b-33

20:53:07.723 Version Info:

20:53:07.723 Version 6.4, rev 0, build 61

20:53:07.723 Chip: 20719

20:53:07.723 Tabs supported by embedded application -

20:53:07.726 GATT

20:53:07.727 AV Source

20:53:07.728 AVRC CT (ANCS)

20:53:07.728 AVRC CT

20:53:07.728 AVRC CT (AMS)

20:53:07.730 AVRC TG

20:53:07.730 RCVD [2] Event from HCI.  Name: HCI_Command_Complete   (Hex Code: 0x0e  Param Len: 4)

20:53:07.730                      Num HCI Cmd Packets : 1 (0x01)

20:53:07.730                                 Cmd Code : 0x0c3a  (HCI_Write_Current_IAC_LAP)

20:53:07.730                                   Status : Success (0x00)

20:53:07.730 SENT [2] Command to HCI.  Name: HCI_Write_InquiryScan_Activity   (Hex Code: 0x0c1e  Param Len: 4)

20:53:07.730      Inquiry Scan Interval (625us units) : 2048 (0x0800)

20:53:07.730        Inquiry Scan Window (625us units) : 18 (0x0012)

20:53:07.730 RCVD [2] Event from HCI.  Name: HCI_Command_Complete   (Hex Code: 0x0e  Param Len: 4)

20:53:07.730                      Num HCI Cmd Packets : 1 (0x01)

20:53:07.730                                 Cmd Code : 0x0c1e  (HCI_Write_InquiryScan_Activity)

20:53:07.730                                   Status : Success (0x00)

20:53:07.730 SENT [2] Command to HCI.  Name: HCI_Write_Scan_Enable   (Hex Code: 0x0c1a  Param Len: 1)

20:53:07.730                              Scan Enable : 1 (0x01)

20:53:07.730 RCVD [2] Event from HCI.  Name: HCI_Command_Complete   (Hex Code: 0x0e  Param Len: 4)

20:53:07.730                      Num HCI Cmd Packets : 1 (0x01)

20:53:07.730                                 Cmd Code : 0x0c1a  (HCI_Write_Scan_Enable)

20:53:07.730                                   Status : Success (0x00)

20:53:07.730 SENT [2] Command to HCI.  Name: HCI_Write_Scan_Enable   (Hex Code: 0x0c1a  Param Len: 1)

20:53:07.730                              Scan Enable : 3 (0x03)

20:53:07.730 RCVD [2] Event from HCI.  Name: HCI_Command_Complete   (Hex Code: 0x0e  Param Len: 4)

20:53:07.730                      Num HCI Cmd Packets : 1 (0x01)

20:53:07.730                                 Cmd Code : 0x0c1a  (HCI_Write_Scan_Enable)

20:53:07.730                                   Status : Success (0x00)

But if I flash audio gateway example application in the device, then I press BR/EDR discovery start button in client control application, it successfully discovers the near by BR/EDR devices (which are in pairing mode). But the audio gateway application does not support AV Source (A2DP source) feature which I want to test. Please help.

thanks,

-aniket

0 Likes
1 Solution
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi Aniket,

Can you try following procedure in Code flow and audio testing of demo.watch using CYW207xx devices and test the example?

Let me know if you still face the issue.

View solution in original post

0 Likes
3 Replies
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi Aniket,

Can you try following procedure in Code flow and audio testing of demo.watch using CYW207xx devices and test the example?

Let me know if you still face the issue.

0 Likes

SheetalJ_96 thanks for the information.

I'm able to make it work after commenting out //hci_control_sleep_configure(); in watch.c and now with audio watch example flashed into the device using client control application able to scan, pair, connect with bt speaker. Also able to test AV Source (A2DP Source) audio streaming with sine wave as well as audio from .wav file.

But I would like to know if CYW920719Q40EVB-01 supports AAC CODEC and is it supported in the examples provided (audio watch example) in WICED Studio 6.4 (I think this is the latest), if yes how do I test AAC CODEC streaming ? I do not see any options visible in client control application related to AAC CODEC. Please provide some details on this topic.

thanks,

-aniket

0 Likes

Hi Aniket,

CYW20719 does not support AAC. If that is a mandatory requirement for you, then please look at audio solutions CYW20721 and CYW20721B2.

FYI:Does WICED 6.2 support A2DP AAC codec on CYW20706 and CYW20719 ?

This applies for WICED 6.4 as well.