Studio Bluetooth Forum Discussions
Hi Sir,
I have installed Winced studio 6.2 ,when I build hello_sensor, there are some errors ,eg.
Description | Resource | Path | Location | Type |
Symbol 'HANDLE_HSENS_BATTERY_SERVICE' could not be resolved | hello_sensor.c | /20706-A2_Bluetooth/apps/demo/hello_sensor | line 190 | Semantic Error |
How to correct it?
Thanks.
Show LessIf I'm not streaming, I'm able to discover services and characteristics and write and read these.
With connection interval to 200ms and the supervision timeout to 2000ms I can streming and dicovering services and characteristics, thank you!
Now I have other problems:
- every time I reset device the mac address is different. If I remember correctly this is a special function but I'm not able to find and disable it.
- the PUART RX pin has an offset about 1,2 V (all SW5 is off). What could be the problem? I tried also to set GPIO and PULL-UP but nothing change.
- when I disconnect the module from my device, it's impossible to reconnect again. I solved this only when I connect and disconnect module for discovering services and characteristics (calling wiced_bt_start_advertisements function in hci_control_le_conn_status_callback when module is disconnects) but not when I connect and disconnect module for streaming. Is it a know issue?
Hi, How can I build my own library file such as .a or .lib base on 20719-B1-Bluetooth, wiced 6.1.0
I use wiced studio 5.2.2.
I have reported previously on the issue of ANCS and HFP connections.
However, the problem was not the ANCS but the connection of LE and HFP according to iOS versions.
CYW20706 tested LE connections and HFP connections with iOS versions 10.3.3 and 11.2.1.
In iOS version 11.2.1, there is nothing wrong with the connection of the LE, but it will occur if HFP is connected.
There is no problem in iOS version 10.3.3.
If HFP is connected after LE connection in version 11.2.1, PUART TXD(D6,P31) is fixed at High.
LE connection log and HFP connection log, iOS versions specific logs and version cross-connection logs, etc. Leave a few logs.
Please, check what the problem is.
Show LessI have to develop an application with Bluetooth connection with A2DP profile for audio streaming and some BLE services and characteristics for data exchange. The audio streaming should get out in I2S peripheral.
I'm using CYBT-343026-EVAL, I downloaded WICED Studio and the platform files for this evaluation board (https://community.cypress.com/docs/DOC-13750).
I created a new project with WICED Bluetooth Designer, I activated A2DP profile, created BLE services and characteristics and generated the code. I removed from this one the unnecessary code and added the functions (copied from "headset" example) "headset_a2dp_init" and "a2dp_sink_control_cback". In this last function I added:
- "wiced_bt_a2dp_sink_update_route_config" function for configure the codec (in WICED_BT_A2DP_SINK_CODEC_CONFIG_EVT event)
- "wiced_bt_a2dp_sink_send_start_response" for response start event (in WICED_BT_A2DP_SINK_START_IND_EVT event)
All seems ok: I can see the services, characteristics and I can connect with my smartphone to device and see it like a multimedia device for streaming audio. The problem is that when I try to start streaming (with generic app-player) it starts and I can see the signal in I2S pins but, after few seconds, it stops and I'm not never able to starts it again; only way to starts it again it's to reset the device.
What could be the problem?
I tried also to start from headset example but it's not so easy to edited this one. I can try also this solution but I need more support.
There are some documents that explain how to use the libraries and how to use it for create my custom application (with profiles, codecs, services, characteristics, ...)?
Show LessHi ,
I have three CYW920719Q40EVBoards
One of them have this problem while downloading:
Detecting device...
Device found
Downloading application...
****Download failed ****
A total of 1 contiguous memory areas were filled:
[00500000..00500041] DATA (66 bytes)
Download config error trying to write 240 bytes to address 0x005042D0 (SOURCE: CONFIG Configuration data build/mesh_battery_client-CYW920719Q40EVB_01-rom-ram-Wiced-release/mesh_battery_client-CYW920719Q40EVB_01-rom-ram-Wiced-release.hex)
Download failed. This WICED platform of the SDK only supports download to 207x9B1 devices.
Follow the instructions in the 20719-B1 README.txt for downloading the application.
11:34:36 Build Finished (took 14s.559ms)
Another question is why they need to be reset to factory defaults every download. only reset will cause this:
Detecting device...
+------------------------------------------------------------------------------------------+
| No CYW207x9 device detected.
| 1. Verify the CYW207x9 WICED eval board is connected _AND_ powered
| 2. Verify all switches are set to the default positions
| - see "Connect the WICED Evaluation Board" in the Quick Start Guide or Kit Guide
| for defaults
| 3. Press the reset button on the WICED eval board and retry
|
| See 20719-B1_Bluetooth/README.txt for more info.
| If this problem persists, the board EEPROM may need to be reset to factory defaults.
| Please see Recovery instructions in the Quick Start Guide or Kit Guide.
+------------------------------------------------------------------------------------------+
thanks
Show LessAccording to the datasheet of CYBT-343026 and CYW20706,
this module seems to have BT_HOST_WAKE pin at PAD#12 as attached document.
Q1:
I think this pin will be asserted when the module receive Bluetooth packet and can notify it to the HOST CPU.
Is that right?
Q2:
If yes of Q1, which API should we call to enable BT_HOST_WAKE function?
I'd like to know whether Cypress already ready complete API to enable BT_HOST_WAKE or,
the customer should design BT_HOST_WAKE function by calling some APIs manually.
Thank you.
Show LessI'm creating an application in a single-board computer like Raspberry and I'm thinking to use the CYBT 343026 module.
Are there linux drivers for communicate with this module (via HCI on UART I suppose)?
Show LessI am referring to your blog post Configuring Transmit (Tx) power on the CYW20706
I am working with a CYW20706 and WICED Studio 6.1 and am trying to control the TX power. The function wiced_bt_set_tx_power() doesn't seem to be available to me, when compiling the linker complains that the function is not found.
I have tried to set the TX power with max_pwr_db_val in wiced_bt_cfg_settings_t, but it does not seem to have any effect. I measure the current consumption of my board and it always stays the same. I have tried values from -20 to +8 with no effect on power consumption.
I got curious and tried a value of 100, which should not be allowed, but wiced_bt_stack_init() does return successfully, so I have the suspicion that the value of max_pwr_db_val is ignored by the stack.
Can you confirm that max_pwr_db_val can be used to set the TX power or tell another way to set the TX power on CYW20706 with WICED Studio 6.1?
Show Less