Studio Bluetooth Forum Discussions
Hello, i have found the sent HID data is repeated side on peer device when the HID connection is established.
SW Information
- Chipset & EVK : CYW20706 & F1DC2076 EVB (made in F1media)
- WICED SDK version : WCIED 6.2.1
- Test application : HID Device
Test Process
- Connect from Windows PC to F1DC2706(CYW20706)
- Send the HID data as below.
#1) "123456789012"
{ 0x01, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00 } // 1
{ 0x01, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00 } // 2
{ 0x01, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00 } // 3
...
...
{ 0x01, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00 } // 1
{ 0x01, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00 } // 2
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
#2) "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" "1" "2"
{ 0x01, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00 } // 1
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00 } // 2
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00 } // 3
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
...
...
{ 0x01, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0x00, 0x00 } // 1
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00 } // 2
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
{ 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } // Release
Case of Windows PCs are as below.
- Notebook (SAMSUNG - NT500R5W-XD5S) > occured
- Manufacturer : Qualcomm Atheros Communications
- F/W version : HCI 8.0 / LMP 8.602
- Driver provider : Qualcomm Atheros Communications
- Driver date : 2019-01-24
- Driver version : 10.0.0.825
- Notebook (SAMSUNG - NT900X5Y-A59WA) > occured
- Manufacturer : Intel Corporation
- F/W version : HCI 8.256 / LMP 8.256
- Driver provider : Intel Corporation
- Driver date : 2020-06-29
- Driver version : 21.110.0.3
- Notebook (SAMSUNG - NT910S5P-KD5S) > don`t occured
- Manufacturer : Intel Corporation
- F/W version : HCI 7.0 / LMP 7.602
- Driver provider : Intel Corporation
- Driver date : 2018-06-27
- Driver version : 10.0.0.714
- PC (BT dongle) > don`t occured
- Manufacturer : Cambridge Silicon Radio Ltd.
- F/W version: HCI 6.8891 / LMP 6.8891
- Driver provider : Microsoft
- Driver date : 2006-06-21
- Driver version : 10.0.19041.1202
- Notebook (LG - 15U560) > don`t occured
- Manufacturer : Intel Corporation
- F/W version : HCI 8.4096 / LMP 8.4096
- Driver provider : Intel Corporation
- Driver date : 2017-04-07
- Driver version : 19.60.0.3
and snoop log is as below.
- case of normal as "123456789012"
1700 2021-12-17 06:57:36.212273 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 1
1701 2021-12-17 06:57:36.212357 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 2
1702 2021-12-17 06:57:36.212377 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 3
1703 2021-12-17 06:57:36.212422 host controller HCI_CMD 8 Sent Write Link Policy Settings
1704 2021-12-17 06:57:36.214685 controller host HCI_EVT 9 Rcvd Command Complete (Write Link Policy Settings)
1705 2021-12-17 06:57:36.225738 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 4
1706 2021-12-17 06:57:36.250707 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 5
1707 2021-12-17 06:57:36.275727 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 6
1708 2021-12-17 06:57:36.300886 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 7
1709 2021-12-17 06:57:36.327073 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 8
1710 2021-12-17 06:57:36.350916 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 9
1711 2021-12-17 06:57:36.375785 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 0
1712 2021-12-17 06:57:36.400766 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 1
1713 2021-12-17 06:57:36.425917 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 2
1714 2021-12-17 06:57:36.450808 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
1715 2021-12-17 06:57:36.475917 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
1716 2021-12-17 06:57:36.500728 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - ENTER
1717 2021-12-17 06:57:36.501870 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
- case of occurred repeating like "1234555555555555556789012"
1724 2021-12-17 06:58:01.752072 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 1
1725 2021-12-17 06:58:01.752140 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 2
1726 2021-12-17 06:58:01.752166 host controller HCI_CMD 8 Sent Write Link Policy Settings
1727 2021-12-17 06:58:01.752182 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 3
1728 2021-12-17 06:58:01.752220 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 4
1729 2021-12-17 06:58:01.752295 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 5
1730 2021-12-17 06:58:01.753650 controller host HCI_EVT 9 Rcvd Command Complete (Write Link Policy Settings)
1731 2021-12-17 06:58:01.753691 host controller HCI_CMD 6 Sent Exit Sniff Mode
1732 2021-12-17 06:58:01.755650 controller host HCI_EVT 7 Rcvd Command Status (Exit Sniff Mode)
1733 2021-12-17 06:58:02.257789 host controller HCI_CMD 8 Sent Write Link Policy Settings
1734 2021-12-17 06:58:02.259647 controller host HCI_EVT 9 Rcvd Command Complete (Write Link Policy Settings)
1735 2021-12-17 06:58:02.693200 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 6
1736 2021-12-17 06:58:02.693639 controller host HCI_EVT 9 Rcvd Mode Change
1737 2021-12-17 06:58:02.698302 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 7
1738 2021-12-17 06:58:02.698332 host controller HCI_CMD 8 Sent Write Link Policy Settings
1739 2021-12-17 06:58:02.699650 controller host HCI_EVT 9 Rcvd Command Complete (Write Link Policy Settings)
1740 2021-12-17 06:58:02.700816 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 8
1741 2021-12-17 06:58:02.702054 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 9
1742 2021-12-17 06:58:02.703308 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 0
1743 2021-12-17 06:58:02.704559 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 1
1744 2021-12-17 06:58:02.705807 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - 2
1745 2021-12-17 06:58:02.707053 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
1746 2021-12-17 06:58:02.708302 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
1747 2021-12-17 06:58:02.709557 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - ENTER
1748 2021-12-17 06:58:02.710803 F1Media_74:f7:0d (PM5 SN2122910387) localhost () HID 19 Rcvd DATA - Input - Keyboard - <action key up>
Is the repeated HID data related to sniff mode?
Why repeating HID data different for each PC?
Could you help me anybody, please?
Show Less
Hi,
I found this post in the forum about issues with scan response packages:
I'm also using the CYBT-343026-01 but with newer firmware: 1.2.29
Complete response from module on /qfv: @R,002C,/QFV,0000,E=01021D1D,S=05020016,P=0103,H=D1
Now when my peripheral advertises exactly 7 bytes (flags + incomplete service list) and my scan response does not exceed 24 bytes (<=31 bytes in total) I will see a scan response event with Type = 4 and the complete local name data.
But if the advertising has more then 7 bytes (flags + incomplete service list + tx power level) and the scan response stays at 24 bytes (complete local name) I will receive a scan response event with type 4 but it does not contain the complete local name.
I will add a wireshark log to show you, that the advertisement and scan response of the peripheral is correct.
Has the issue in the above linked thread been fixed in version 1.2.29?
When will the fix be available?
Best regards
Alex
Show LessHi,
I am running the A2DP sink example on CYBT-343026-EVAL board. I play a 48kHz (sample rate) test audio file from a Pixel 4A android device.
The oscilloscope show the I2S word select signal to always be at 44.1kHz. I enabled android developer options, and sure enough this is the only sample rate that is selectable (i.e. not grayed out).
It seems that the 48kHz cannot be negotiated.
Any suggestion on how to make the 48kHz available? I would expect this to work after reading KBA228409 and this page https://community.cypress.com/t5/Resource-Library/A2DP-Sink-Example-on-CYW20706/ta-p/246388.
Thanks, Davide
Show LessHi ALL:
I'm trying to compiling the '20706-A2_Bluetooth' exampel project for CYBT-343026-EVAL following the guide document(AN223400)using with WICED-Studio-6.2.
But there occurs some errors:
Symbol 'errno' could not be resolved;
Symbol 'optarg' could not be resolved;
Symbol 'optind'could not be resolved;
How to resolve them?
I'm appreciate if someone can help me figure out these. Tks!
Show LessHi,
We use custom board as MCU with Bluetooth host running on it. Cypress CYBT_343026_EVAL connect with the MCU and run as a controller.
Our question is how to configure the SCO offload funtion? We have worked on this issue for a long time ,but not any progress.
Could anybody help us to check the issue? Thank you very much!
Show LessHi,
I have test the demo.audio.headset with WICED 6.2. I CYBT_343026_EVAL connect a audio board by I2S interface, there is also a mobile phone connect the CYBT_343026_EVA by bluetooth . The A2dp and HFP work well , I can hear voice when play music and make a call.
But when the CYBT_343026_EVAL user as controller, our customer board work as host. When I use the host HFP or A2DP , profile, I can't hear any voice. Could you give me some guide for this issue? Thank you very much!
Show LessI have CYBT-333047-EVAL and I need to test Audio Gateway.
I downloaded hci_audio_gateway to EVAL board and connected I2S_PCM_IN to I2S_PCM_OUT to establish audio loopback.
For Client Control, BT Headset was connected AG, and Audio Connect under AG.
An event message "HCI_CONTROL_AG_EVENT_AUDIO_OPEN" was shown.
I spoke to the BT headset but didn't hear sound.
What kind of problem can you think of?
Show Lessi have test the connection HID Device with my phone. The case of test is as below.
- Chipset & EVK : CYW20706 & F1DC2076 EVB (made in F1media)
- WICED SDK version : WCIED 6.2.1
- Test application : HID Device
and my test condition is as below. it is aging test.
android: power on → inquiry → connect to CYW20706 → connected → 30 seconds idle → reset
CYW20706: power on → paring enable → ready → connected → idle → disconnected → wdog reset
it is disconnected after about 37 test.
i attached log each case of connected normally and disconnected.
anybody help me please.
Show LessI am looking for an eval kit recommendation which can support a turnkey working demo to a COTS bluetooth headset. I imagine a WICED module is appropriate.
The WICED module should stream an I2S input/output corresponding to the headset speaker/microphone. A simple casted pairing to a fixed headset is only required for a proof-of-concept system which has no OS.
I've worked with Pioneer Kit PSoC 4 modules in the past, but I imagine WICED is the new path.
Long RF range of 250 feet is ideal to ensure a decent link w/ low probabilty of comm loss. Does the below module seem appropriate and what is the best dev kit to be able to break out an I2S link to my custom hardware:
https://www.cypress.com/documentation/datasheets/cybt-3330xx-02-ez-bt-wiced-module
Thanks for any recommendations.
Show Less
i have developing the HID device on WICED 6.2 using CYW20706.
and i have testing the connection with HID Host & Client Control App that is provided to example.
but, it does not working well. i want to check the disconnection after supervision timeout that is set to that i want.
is the setting supervision timeout supported in WICED 6.2 on CYW20706?
i knew the supervision timeout can set in role of master, so i was set the role to master before set the supervision timeout.
also, is the process of setting supported?
i need the help. please help me anybody.
thanks.
Show Less