3 Replies Latest reply on Jul 4, 2018 11:38 PM by sujayy_46

    WICED CYW20719-B1: BR/EDR pairing always failed after pair and unpair operations

    LixinD_46

      Hi Team,

       

      Could you help indicates how to fix the BR/EDR pairing always failed issue after unpair operation was done before?

       

      Detail of this issue is  described below.

      Environments:

      IDE: WICED Studio 6.1.0.85

      HW: Android Phone

      HW: CYW20719-B1 module

       

      Steps to reproduce:

      1. Build and download the app/snip/bt/a2dp_sink project to the CYW20719-B1 module device, and wait the a2dp_sink app started up.

      2. In Android Phone device, discover and find the a2dp_sink device.

      3. Click the a2dp_sink device to pair and established the connection for the firstly time.

      4. After pair and connection established successfully. disconnect and un-pair the Android phone with the s2dp_sink device.

      5. Turn off the Bluetooth on the Android Phone, then turn it on again.

      6. In Android Phone device, discover and find the ad2p_sink device.

      7. Click the a2dp_sink device to pair and established the connection for the second time.

      8. Here, we found that the the a2dp_sink device cannot be paired and connected anymore.

          We could see 30s timeout issue or PIN code miss-matched error when try to re-connect to the device.

       

      Following is the firmware log that captured when the a2dp_sink firmware running with above steps:

      A2DP SINK APP START

      a2dp_sink_management_callback 0x15

      a2dp_sink_management_callback 0x00

      a2dp_sink_write_eir 269bb0

       

       

      EIR :09 77 69 63 65 64 20 61 32 64 70 20 73 69 6e 6b 20 64 75 64 6c 03 03 0b 11 00 e5

       

      a2dp_sink_management_callback 0x14

      a2dp_sink_management_callback 0x14

      a2dp_sink_management_callback 0x09

      a2dp_sink_management_callback 0x08

      Pairing Capabilities Request, bda 94 65 2d 90 c1 42

      a2dp_sink_management_callback 0x04

      a2dp_sink_management_callback 0x0b

      Pairing complete 0

      a2dp_sink_management_callback 0x12

      NVRAM ID:512 written :136 bytes result:0

      a2dp_sink_management_callback 0x0c

      Encryption Status Event: bd ( 94 65 2d 90 c1 42  ) res 0

      a2dp_sink_management_callback 0x09

      a2dp_sink_management_callback 0x08

      Pairing Capabilities Request, bda 94 65 2d 90 c1 42

      a2dp_sink_management_callback 0x0b

      Pairing complete 5

       

      Thanks,

      Dudley