Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Studio Bluetooth

LixinD_46
Employee
First like received First like given
Employee

Hi 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

0 Likes
1 Reply