4 Replies Latest reply on Nov 16, 2018 6:33 AM by NiPa_3775556

    CYBT 343026 access to voice data in app

    NiPa_3775556

      Hi

       

      I'm using the CYBT 343026 eval (CYW20706 SoC) to understand the capabilities of the module. We are interested in getting access to the PCM samples within the App on the module. I've seen some discussions on the forum about this, for example sending speech audio data via HFP but the option to route the SCO voice path to the App does not seem to be available for this module. Looking at WICED Bluetooth Software Features (CYW20706A2/CYW20719B1) it indicates that it should be possible:

       

      'Version 1.6. SCO data route can be configured to be routed over PCM or to App via a callback.'

       

      Is this an omission in the definition of the wiced_bt_sco_route_path_t enumeration in 20706-A2_Bluetooth/include/wiced_bt_sco.h or is it really not possible?

       

      Thanks

       

      Nigel

        • 1. Re: CYBT 343026 access to voice data in app
          AnjanaM_61

          Hi Nigel,

           

          Yes, its removed from the enum, seems like its not possible to access the voice data in application.

          We have forwarded the request to Firmware team to cross check.

           

          Regards,
          Anjana

          1 of 1 people found this helpful
          • 2. Re: CYBT 343026 access to voice data in app
            NiPa_3775556

            Hi AnjanaM_61

             

            Thanks for the answer.

             

            As a follow-up question is there any way to get the voice audio (handsfree and audio gateway profiles) sent over the HCI port. We only need to handle 8/16kHz voice audio and we are trying to minimise the connections between the module and the controlling MCU.

             

            I see the bluetooth spec has an 'HCI Synchronous Data Packet' definition in volume 2, part E, section 5.4.3. Is that supported or is there a WICED equivalent?

             

            Regards

             

            Nigel

            • 3. Re: CYBT 343026 access to voice data in app
              AnjanaM_61

              Hi Nigel,

               

              Q) Voice data in app

              A)Audio route over app is removed. Currently, the only option is to route SCO over I2S/PCM interface.

               

               

              Q) is there any way to get the voice audio (handsfree and audio gateway profiles) sent over the HCI port.

              A) Please refer watch demo example in WICED studio. (refer av_app_init  in file hci_control_audio.c in the project) . Please check if its helpful.

              1 of 1 people found this helpful
              • 4. Re: CYBT 343026 access to voice data in app
                NiPa_3775556

                Hi Anjana,

                 

                Thanks again.

                I've looked at the watch example and it looks like the audio routing is to do with the A2DP profile rather than voice audio in handsfree connections. Do you think using wiced_audio_start with a route set to UART will re-route voice audio out the HCI UART port?

                 

                Regards

                 

                Nigel