Studio Bluetooth Forum Discussions
hello,
We are using WICED v6.1 along with the CYW920719Q40EVB-01 dev board. We have manged to build the requisite firmware and flashed that to the board. However when we attempt to build the ClientControl Windows solution that comes with WICED v6.1 (i.e. ClientControl.vcxproj) the build fails with the following error...
1>wiced_mesh_client.obj : error LNK2019: unresolved external symbol _wiced_init_timer referenced in function _mesh_client_init
1>
1>Unused libraries:
1> D:\Development\IDEs\VisualStudio-2017\VC\Tools\MSVC\14.13.26128\lib\x86\comsuppwd.lib
1> D:\Development\IDEs\VisualStudio-2017\VC\Tools\MSVC\14.13.26128\lib\x86\OLDNAMES.lib
1>
1>D:\Development\IDEs\WICED-Studio-6.1\sdk\common\apps\snip\mesh\ClientControl\Debug\ClientControlMesh.exe : fatal error LNK1120: 1 unresolved externals
1>Done building project "ClientControl.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
We have amended the code to resolve the issue, however it would be great if the example would build successfully right out of the box as this leaves a bad first impression for any newcomers to the Cypress platform.
Regards,
Show LessI want to send a serial data to one BLE module and that BLE module should broadcast received serial data to all the nodes(BLE modules) of the mesh network.
so how can i do this???
Is there any application through which i can do this, without writing any program.(similar to xctu for xbee module).
Show LessAnyone have issues completing the pairing process with IPhone X and IPhone 8? I am having a lot of retries and can't seem to complete the pairing process. No issues with any previous IOS product. I am just pairing using the general Bluetooth menu off the phone. Also I am using a dual BTC and BLE application.
Thanks.
Show LessGreetings,
So far, the only way I've managed to send data and commands to the module from an external host via SPP has been by using the "hci_audio_gateway" demo and the ClientControl.exe app.
After having downloaded the Make Target to the board, I need to open the serial port at a given baudrate from the ClientControl so that the module is set to discoverable and connectable. After that, I am able to connect an external interface to the GND and RXD pins of J1 and send commands.
What do I have to do in order to enable the discoverability and the connectability of the module at the moment it gets turned on (like in the spp.c snip)?
It would also be helpful to know which commands and events of the HCI_CONTROL_GROUP_DEVICE group must take part before the enabling the transmission of data via HCI_CONTROL_GROUP_SPP Data commands so that I no longer have the need for the ClientControl app.
Thank you in advance.
Best regards.
Show LessI have experienced some problems when using SPP and BLE together.
My module firmware runs BLE peripheral (GATT server) and SPP (via classic BR / EDR) at the same time.
wiced_result_t hci_control_le_connection_up (wiced_bt_gatt_connection_status_t * p_status)
{
....
if (p_status-> transport == BT_TRANSPORT_BR_EDR)
{
WICED_BT_TRACE ("GATT transport BT_TRANSPORT_BR_EDR");
} else if (p_status-> transport == BT_TRANSPORT_LE)
{
WICED_BT_TRACE ("GATT transport BT_TRANSPORT_LE");
}}
When I use the peripheral of BLE, the connection of le_connection_up is made to BT_TRANSPORT_BR_EDR.
In this case, I can not perform service discovery in the phone application and it fails.
I seem to have a problem with the GATT server service via BT_TRANSPORT_BR_EDR in wiced.
Is there a way to solve this problem?
Show LessCollaborative Coexistence is written in CYW20706
Datasheet P.9.
But I can't find that How to use? I want to link third
party wlan device.
but, There is no explanation anything.
I find only this function in API.
void wiced_bt_coex_enable | ( | void | ) |
but there is no parameter. no description. no pin
settings.
Please teach me. How to use it?
Thankyou.
Show LessHello,
After debugging my application I've noticed that although my module receives an SPP data command, it just does not send it via Bluetooth.
I attatch a capture of the debugging process so you can see that the module is discoverable, pairable and connectable and that it receives the spp commands sent to it.
I have added a few WICED_BT_TRACE statements inside the SPP functions in order to see if the program reaches the critical points.
Like this:
uint32_t hci_control_process_rx_cmd( uint8_t* p_data, uint32_t length )
{
.
.
.
case HCI_CONTROL_GROUP_SPP:
WICED_BT_TRACE("SPP COMMAND\n");
hci_control_spp_handle_command( opcode, p_data, payload_len );
break;
.
.
.
void hci_control_spp_handle_command( uint16_t cmd_opcode, uint8_t* p, uint32_t data_len )
{
.
.
.
case HCI_CONTROL_SPP_COMMAND_DATA:
handle = p[0] | ( p[1] << 8 );
hci_control_spp_send_data( handle, &p[2], data_len - 2 );
WICED_BT_TRACE("SPP DATA DELIVERED\n");
break;
}
}
Do you have any idea about why could this be happening?
Thanks in advance for your help.
Best regards.
Show LessHi Team,
Could you help find the root cause and the solution to fix the BT unpair-pair failure issue?
Thanks in advance.
Issue Description.
Chip: CYW20719-B1
WICED SDK: WICED Studio 6.0 and WICED Studio 6.1
FW: WICED Studio default demo projects: snip/bt/spp and snip/bt/a2dp.
Description:
When donging unpair-pair operations multiple times with Android Phone device, we will PIN code or secret key incorrect issue and unable to pair again issue.
Reproduce Steps:
1. After downloaded the demo firmware, then reset to run it.
2. Open the Bluetooth on the Android Phone device, in the bluetooth device list, we can see the demo device, such as "spp test" or "wiced a2dp test", and so on.
3. For the first time pair operation, the Android Phone can connect and pair with the target SPP or A2DP device very fast, and without any issue.
4. Un-pair with the target device, then do the second pairing operation with the same target device,
We found that the pair operation will take much long time than do the same operation during the first time.
But at last, it will connect and pair success.
Note, this steps may success much more time before you get into next step.
5. Un-pair with the target device, then do the third(N times) paring operation with the same target device,
At this time, the pair operation will take very long time, and at last, this operation will failed and not paired with the target device.
And the Android Phone will prompt the information that "PIN code or secret key is incorrect, unable to pair with the target device."
6. After encounter the pair failure issue as shown in step 5. The Android Phone cannot pair with the target device any more.
7. Only after reset the target device, then the Android Phone device can connect and pair with the target device again.
8. But after you redo the steps of step3 to step 6, the same issue will happen again.
So it would be a serious issue when trying to un-paring and paring with the CYW20719-B1 device multiple times.
Note, be sure to do the unpair-pair operations multiple times, the pair failure issue described here at the third time is just a typical example, but indeed, it may happen after multiple times retry.
Thanks,
Dudley
Show LessLEDVANCE Breaks New Ground with Industry First Technological Achievement
“The SYLVANIA SMART+ Bluetooth lighting products from LEDVANCE with Cypress’ qualified interoperable Bluetooth mesh technology mark a significant step forward for smarter home lighting that connects easily via smartphone applications and conveniently to the rest of a home’s Bluetooth connected devices,” said Brian Bedrosian, vice president of the IoT Business Unit at Cypress. “Their convenience, energy efficiency and whole-home connectivity are a winning combination people are seeking for their smart homes.”
Show LessHi Team,
Could you help answer and fix following BT relative questions and issues:
1. Does it the correct behavior that the BT SPP profile cannot be discovered and listed by the iOS device?
For example,
After downloaded and run the snip/bt/spp firmware (WICED Studio 6.0 or 6.1) in any CYW20719-B1 module device,
then turn on the Bluetooth device on iOS device to try to discover the target "spp test".
But the iOS device was always unable to discover and list the target "spp test" device the discovered device list.
2. Why the pairing operation always failed on iOS device with BT device, e.g.: snip/bt/a2dp demo project.
For example,
After downloaded and run the snip/bt/a2dp_sink firmware (WICED Studio 6.0 or 6.1) in any CYW20719-B1 module device,
then turn on the Bluetooth device on iOS device to discover the target "wiced a2dp sink" device.
After the target "wiced a2dp sink" device was discovered, click the target device to try to connecting and pairing with it.
But the iOS device was prompt that 'unsupport "wiced a2dp sink"'.
Is their any solution to fix this issue.
Thanks,
Dudley
Show Less