cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Smart Bluetooth

Anonymous
Not applicable

i use the 20719b1 headset project. i want get the audio data.

than i test change like this:

wiced_bt_voice_path_setup_t handsfree_sco_path = {

    .path = WICED_BT_SCO_OVER_APP_CB,

    .p_sco_data_cb = get_audio_form_pcm_callback

};

#define REV_AUDIO_DATA_BUFF_LEN 256

uint8_t rev_audio_data_buff[REV_AUDIO_DATA_BUFF_LEN];

int rev_audio_data_index = 0 ;

void get_audio_form_pcm_callback (uint32_t ltch_len, uint8_t *p_data){

    int len, sco_chanel ;

    sco_chanel = ltch_len & 0xff ;

    len = (ltch_len >> 😎 & 0xff ;

    WICED_BT_TRACE("%d, %d\r\n", len, sco_chanel);

    if(len > 0){

         memcpy(rev_audio_data_buff, p_data, len);

    }

}

but the get_audio_form_pcm_callback  isn't runing

0 Likes
Reply
1 Solution
Employee

This is a known issue. The fix has been produced and will be released into upcoming releases of the SDK, including the version for the Broad Market which will be posted here to the community.

Jacob

View solution in original post

5 Replies
Employee

This part is currently not supported in the community. Please revert to the FAE who provided you this platform in the wiced studio.

Anonymous
Not applicable

thank you very much

0 Likes
Reply
Employee

This is a known issue. The fix has been produced and will be released into upcoming releases of the SDK, including the version for the Broad Market which will be posted here to the community.

Jacob

View solution in original post

New Contributor II

jact Where can I find the mentioned fix for the 20719?

Thank you.

0 Likes
Reply
Moderator
Moderator

Unfortunately, the fix described above never made it to the broad market as we removed audio support from the 20719 and now offer it only within a premium product. Please contact your local Cypress sales team for the engagement criteria associated with the premium product.

0 Likes
Reply