is 20719b1 headset, haw get the audio data?

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

cross mob
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
1 Solution
JacobT_81
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

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
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

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
JacobT_81
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

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

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

Thank you.

0 Likes

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