cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

MaMi_1707981
Contributor II

Hello Cypress WICED Studio Support team,

I found unexpected behavior of WICED Studio 6.2.1.2.

At the following environment, SPP data transfer isn't completed.

[Environment]

       ClientControl----CYW20706  <----->  CYW20706---ClientControl

       CYW920706WCDEVAL or CYBT-343026-EVAL

       WICED Studio 6.2.1.2

       apps/demo/hci_audio_gateway

       SPP profile (hci_control_spp.c)

[Test procedure]

       1. build and download "apps/demo/hci_audio_gateway" on WICED Studio.

       2. Select SPP tab, "Connect" to peer and "Send" large file on Client Control.

[Attached file]

       log/   log files

           sent_data.txt

               -> sent data

           Orig_ClientControl_log_master.txt

           Orig_ClientControl_log_slave.txt

               -> log of ClientControl. Master device sent data to slave device.

           Orig_BTSpy.txt

               -> log of BTSpy

           Orig_received_data.txt

               -> received data. It should be same with sent_data.txt, but it is too short.

           Fixed_ClientControl_log_master.txt

           Fixed_ClientControl_log_slave.txt

           Fixed_received_data.txt

               -> log files when the following patch is applied.

       patch/  patch files

           client_control_spp_patch.txt

               -> patch file for spp.cpp in common/client_control/source/.

           hci_control_spp_patch.txt

               -> patch file for hci_control_spp.c in apps/demp/hci_audio_gateway/.

[My investigation]

    wiced_bt_rfcomm_write_data() returns WICED_BT_RFCOMM_CMD_PENDING.

    But hci_control_cpp and ClientControl couldn't handle it correctly.

    The WICED_BT_RFCOMM_CMD_PENDING is not a critical error.

    So, it would be better to be handled same as WICED_BT_RFCOMM_SUCCESS.

Could you double check my investigation ?

And, if it is correct, please fix this issue at the next release.

0 Likes
1 Solution
10 Replies