Studio Bluetooth Forum Discussions
Collaborative 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 LessGreetings,
What must I do in order to be able to visualize the WICED_BT_TRACE output messages with the CYBT-343026-EVAL so that I can debug my application?
What I have made so far is opening the COM port that corresponds to the HCI_UART in tera term at a baudrate of 115200 (the same as I set in the application I am testing).
However, all I get to see is a bunch of unanderstandable data and some chunks of the SDP Database, like the SDP_ATTR_SERVICE_NAME.
I attatch a capture of what is displayed in tera termwhenever I connect to the module from my phone.
Thanks in advance for your help.
Regards.
Show LessDear all
I will use CYBT-343026-01 modle to develop HF reader that communicate to tablet by BT/BLE.
HF leader have a speaker to worker reduce picking mistakes.
If the tablet is transmiting sounds effect (WAV format, 8bit, 44100Hz) to HF reader by BT,
I'd like to know wether tablet can recieve HF tag information ( 100Byte ) by BT or BLE from HF reader concurrently.
Thanks,
Best regards.
Show LessHi forum WICED wizards,
I'm planning to upgrade to WICED studio 6.1 from 6.0.1 for CYW20706. Going through the release notes I noticed under section 5.4, there is a "New CYW20706A2 FW version CYW20706A2_001.002.011.0215".
Will all the fixes provided by the new firmware apply when I compile my project under 6.1? In other words, do existing 20706s in the field need a ROM update?
Thanks.
Show Less
We are very interested in the Cypress Bluetooth chip, and using it for the new BLE 5.0 specifications.
We appreciate your great technical support about the new BLE 5.0, regarding unconnected advertising.
Can you indicate a typical transmission speed for a Bluetooth transmission?
So can you indicate in general if the Cypress chip will support these broadcast activities?
I have highlighted the quotations from the BLE 5.0 Specifications Manual.
Page 2051 non-connectable mode
(1) An advertising event commences, and a small amount is transmitted unconnected via Primary Channels 37 and 38 and 39. The duration of transmission for these primary channels is less than 3 octets. The primary channel can be set to only one channel bit, e.g. Channel 39.
Page 1340 At least one channel bit shall be set in the Primary_Advertising_Channel_Map
parameter.
Page 1341 Primary_Advertising_Interval_Min: Size: 3 Octets
(2) Simultaneously, the HOST writes the advertising channel index, and the data is handed off to one of the secondary channels listed in the index. The chip begins transmitting to any one of the secondary channels, and does so on only one of the channels listed, until the end of the transmission.
The index can limit the number of channels used, for example a Channels 1, 2, and 3 only. Since there are at least 3 channels in this index, the channel hopping is random. The remainder of the adverising is broadcast on one of these channels only.
Page 2610 For AUX_ADV_IND and AUX_CHAIN_IND PDUs, the secondary advertising
channel index used in the Channel Index subfield of the AuxPtr field is
implementation specific.
374 When the adapted channel hopping sequence is used, the pseudo-random
sequence contains only frequencies that are in the RF channel set defined by
the AFH_channel_map input.
379 the input AFH_channel_map (defined in Link
Manager Protocol [Vol 2] Part C, Section 5.2) is used. The AFH_channel_map
indicates which RF channels shall be used and which shall be unused. When
hop sequence adaptation is enabled, the number of used RF channels may be
reduced from 79 to some smaller value N. All devices shall be capable of
operating on an adapted hop sequence (AHS) with Nmin...
379 an alternative RF channel out of the set of used RF channels is
selected pseudo-randomly
(3) The duration of the transmission on one of the secondary channels can endure for a file as long as approximately 65K.
1735 • Information payload: 0 to 65533 octets
1347 The Controller should not fragment or should minimize fragmentation of
Host advertising data
1353 No advertising duration. Advertising to continue until the Host disables
it.
(4) At the end of the transmission, the Host can specify a fixed advertising delay of say 20 milliseconds, plus an added advDelay of less than 10 milliseconds to make the hopping more random.
Page 1341 : Time Range: 20 ms
2611 The advInterval shall be an integer multiple of 0.625 ms in the range of 20 ms
to 10,485.759375 s.
The advDelay is a pseudo-random value with a range of 0 ms to 10 ms
(5) With the beginning of a new advertising event, the sequence repeats, and the small amount of data is transmitted on channels 37, 38, 39, or only one channel, for example, channel 38.
(6) A new secondary index is written, for example, Channels 4, 5, and 6 only. Since there are at least 3 channels in this index, the channel hopping is random. The remainder of the adverising is broadcast on one of these channels only.
(7) At the end of the advertising, an advertising delay of 20 milliseconds is inserted, along with a random delay.
(8) With the beginning of a new advertising event, the sequence repeats, and a small amount of data is transmitted on channels 37, 38, 39, or only on channel 39 for example.
(10) A new secondary channel index is written, for example, this time is Channels 7, 8, 9 only. Again the channel is chosen at random, and the advertising is advertised.
(11) At the end of the advertising, an advertising delay is added, and so on.
Please advise any errors I have made in this description.
Thanks for your gracious help, Allen.