Studio Bluetooth Forum Discussions
I'm trying to use ClientControl.exe to download and *.hcd file to RAM on a 20706. I'm interfacing with the 20706 with and 4-wire FTDI cable. The 20706 is powered by a host, but otherwise isolated from the host.
I'm getting an error regarding updating the baudrate. With a logic analyzer, I've verified that the 20706 is not responding to the update baudrate command, whereas it is responding to the reset command.
ClientControl.exe doesn't seem to change it's behavior based on the "Upgrade to 3M baudrate" button.
The 20706 has never been programmed.
Thoughts?
Show LessHow do I use the 'class of device' filter for inquiry? I know I need to pass in wiced_bt_dev_cod_cond_t, but what is the difference between dev_class and dev_class_mask?
I'm working with 20706 on WICED Studio 6.
Thanks.
Show LessHas anyone tested the CYW92706WCDEVAL with a calibrated test set such as the Anritsu MT8852B? My evaluation board is failing the EDR Sensitivity and BER Floor tests at the low and high frequencies. I thought it might be rolloff from the filter that is routed inline with the RF signal, but switching in the discretes with the zero ohm resistors had no better effect. I also noticed that the impedance match with the discretes is awful, whereas it is decent with the filter.
Show Less
Quick question: Provided that I have allocated enough transport buffers, am I able to call wiced_transport_send_buffer() and wiced_transport_send_data() as frequently as I need without overflowing the hardware 1040 Byte transmit FIFO?
Show LessI found today that if I don't call wiced_transport_init() right away in APPLICATION_START() and wait till BTM_ENABLED_EVT, the wiced_transport_tx_complete_t callback stops getting triggered.
Is wiced_transport_init() required to be called only in APPLICATION_START()?
The reason why I wanted to call wiced_transport_init() in BTM_ENABLED_EVT is in APPLICATION_START() I'm not ready to receive data yet.
Show LessThe 2Mbps PHY rate can be controlled via:
wiced_bt_dev_status_t wiced_bt_ble_set_phy (wiced_bt_ble_phy_preferences_t * phy_preferences)
Take a look at the API guide and corresponding header file for additional information: https://community.cypress.com/message/152147
Show LessI bought a development board for 100 connections.Show Less
I turned off serial flash to work in standard Bluetooth HCI mode.
=> off 1-5 in SW7
I make a USB connection to raspberry pi and connect the device with the hciattach command.
=> hciattach /dev/ttyUSB0 any 3000000
=> hciattach hci1 up
However, a timeout occurs.
what's wrong?
Any application which leverages a prefix of “hci_” is capable/meant to be used with the provided PC GUI tool for additional HCI control.
As such, it uses custom HCI protocol (WICED HCI) as per “\WICED-Studio-6.1\Doc\WICED-HCI-Control-Protocol.pdf”
In addition, these apps can be modified to act as a stand-alone embedded app by removing the WICED HCI implementation.
Also, as a point of reference, there is a stand-alone embedded applications for SPP provided as well: "WICED-Studio-6.1\20719-B1_Bluetooth\apps\snip\bt\spp"
Show LessThe only API documentation we provide is Doxygen based and provided within the SDK as HTML.
Once SDK 6.1 is installed, you will find the API documentation we provide here: “\WICED-Studio-6.1\Doc\20719-B1_Bluetooth\API.html"
There are efforts in place today to continue making improvements upon this documentation.
Show LessI'm trying to connect to a bluetooth headset using 20706. I'm using API wiced_bt_sdp_init_discovery_db() then wiced_bt_sdp_service_search_attribute_request(). In the SDP callback I always get WICED_BT_SDP_CONN_FAILED.
Using one of the demo project I was able to connect to the headset using the same dev board.
What could I have done wrong? Looking at the debug traces below, up until the 25s mark it's communicating back and forth with the headset. Then an ACL packet gets stuck and the stack returns the WICED_BT_SDP_CONN_FAILED event.
Any help would be greatly appreciated!
(13:53:15.960) AG connect cmd: bda=0:12:6f:11:72:4b, r1=1, r2=1
(13:53:15.960) HCI Trace: [EVT], EVT=15, len=4, data=00 01 05 04
(13:53:18.137) HCI Trace: [EVT], EVT=3, len=11, data=00 0B 00 4B 72 11 6F 12 00 01 00
(13:53:18.142) HCI Trace: [CMD], OP=1d 4, OGF=1, OCF=29, len=2, data=0B 00
(13:53:18.218) HCI Trace: [EVT], EVT=12, len=8, data=00 0B 00 06 0A 00 F7 22
(13:53:18.218) HCI Trace: [EVT], EVT=32, len=7, data=4B 72 11 6F 12 00 01
(13:53:18.218) HCI Trace: [EVT], EVT=27, len=3, data=0B 00 05
(13:53:18.218) HCI Trace: [EVT], EVT=15, len=4, data=00 01 1F 04
(13:53:18.218) HCI Trace: [CMD], OP=f5 fc, OGF=63, OCF=245, len=2, data=0B 00
(13:53:18.218) HCI Trace: [ACL], t=2, data=0B 20 10 00 0C 00 01 00 0B 02 08 00 02 00 00 00 B8 00 00 00
(13:53:18.218) HCI Trace: [EVT], EVT=14, len=10, data=01 F5 FC 00 0B 00 00 00 00 00
(13:53:18.218) HCI Trace: [CMD], OP=1b 4, OGF=1, OCF=27, len=2, data=0B 00
(13:53:18.218) HCI Trace: [EVT], EVT=28, len=5, data=00 0B 00 54 28
(13:53:18.218) HCI Trace: [EVT], EVT=15, len=4, data=00 01 1B 04
(13:53:18.218) HCI Trace: [CMD], OP=19 4, OGF=1, OCF=25, len=10, data=4B 72 11 6F 12 00 01 00 00 00
(13:53:18.218) HCI Trace: [EVT], EVT=11, len=11, data=00 0B 00 FF FF 8F FE DB FF 5B 87
(13:53:18.218) HCI Trace: [EVT], EVT=19, len=5, data=01 0B 00 02 00
(13:53:18.218) HCI Trace: [EVT], EVT=15, len=4, data=00 01 19 04
(13:53:18.218) HCI Trace: [CMD], OP=37 c, OGF=3, OCF=55, len=4, data=0B 00 00 7D
(13:53:18.218) HCI Trace: [ACL], t=2, data=0B 20 14 00 10 00 01 00 0B 03 0C 00 03 00 00 00 76 00 00 00 00 00 00 00
(13:53:18.218) HCI Trace: [ACL], t=3, data=0B 20 0C 00 08 00 01 00 02 04 04 00 01 00 40 00
(13:53:18.218) HCI Trace: [EVT], EVT=7, len=255, data=00 4B 72 11 6F 12 00 42 54 48 2D 36 30 30 2D 50 54 54 00 00 00
(13:53:18.218) HCI Trace: [EVT], EVT=14, len=6, data=01 37 0C 00 0B 00
(13:53:18.218) HCI Trace: [CMD], OP=1c 4, OGF=1, OCF=28, len=3, data=0B 00 01
(13:53:18.218) HCI Trace: [EVT], EVT=15, len=4, data=00 01 1C 04
(13:53:18.218) HCI Trace: [EVT], EVT=35, len=13, data=00 0B 00 01 01 03 00 00 00 00 00 00 00
(13:53:18.218) HCI Trace: [CMD], OP=7b c, OGF=3, OCF=123, len=2, data=0B 00
(13:53:18.218) HCI Trace: [ACL], t=2, data=0B 20 10 00 0C 00 01 00 03 04 08 00 80 00 40 00 01 00 02 00
(13:53:18.218) HCI Trace: [ACL], t=2, data=0B 20 10 00 0C 00 01 00 03 04 08 00 80 00 40 00 00 00 00 00
(13:53:18.218) HCI Trace: [ACL], t=3, data=0B 20 10 00 0C 00 01 00 04 05 08 00 80 00 00 00 01 02 40 00
(13:53:18.218) HCI Trace: [ACL], t=2, data=0B 20 10 00 0C 00 01 00 04 01 08 00 40 00 00 00 01 02 30 00
(13:53:18.218) HCI Trace: [ACL], t=3, data=0B 20 12 00 0E 00 01 00 05 01 0A 00 80 00 00 00 00 00 01 02 30 00
(13:53:18.218) HCI Trace: [EVT], EVT=14, len=8, data=01 7B 0C 00 0B 00 B8 0B
(13:53:18.218) HCI Trace: [CMD], OP=d 8, OGF=2, OCF=13, len=4, data=0B 00 05 00
(13:53:18.218) HCI Trace: [EVT], EVT=19, len=5, data=01 0B 00 02 00
(13:53:18.218) HCI Trace: [ACL], t=2, data=0B 20 12 00 0E 00 01 00 05 05 0A 00 40 00 00 00 00 00 01 02 40 00
(13:53:18.218) HCI Trace: [ACL], t=3, data=0B 20 1F 00 1B 00 80 00 06 00 00 00 16 35 03 19 11 08 00 30 35 0C 09 00
(13:53:18.218) HCI Trace: [EVT], EVT=14, len=6, data=01 0D 08 00 0B 00
(13:53:18.218) HCI Trace: [EVT], EVT=19, len=5, data=01 0B 00 02 00
(13:53:18.218) HCI Trace: [ACL], t=2, data=0B 20 34 00 30 00 40 00 07 00 00 00 2B 00 26 36 00 2F 36 00 2C 09 00 01
(13:53:20.915) time count: 25 s
(13:53:25.916) time count: 30 s
(13:53:30.916) time count: 35 s
(13:53:35.917) time count: 40 s
(13:53:40.917) time count: 45 s
(13:53:45.918) time count: 50 s
(13:53:48.167) HCI Trace: [ACL], t=3, data=0B 20 0C 00 08 00 01 00 06 06 04 00 80 00 40 00
(13:53:48.172) AG SDP failure: r=65521
(13:53:48.257) HCI Trace: [ACL], t=2, data=0B 20 0C 00 08 00 01 00 07 06 04 00 80 00 40 00
(13:53:48.417) HCI Trace: [EVT], EVT=19, len=5, data=01 0B 00 01 00
(13:53:50.917) time count: 55 s
(13:53:51.168) HCI Trace: [CMD], OP=6 4, OGF=1, OCF=6, len=3, data=0B 00 13
(13:53:51.169) HCI Trace: [EVT], EVT=15, len=4, data=00 01 06 04
(13:53:51.248) HCI Trace: [EVT], EVT=5, len=4, data=00 0B 00 16
(13:53:55.918) time count: 60 s
(13:54:00.919) time count: 65 s
(13:54:05.920) time count: 70 s
Show Less