4 Replies Latest reply on Sep 26, 2019 5:28 AM by RaktimR_11

    cyw43012 how to run bluetooth with wiced hci cmd

    LeLi_3670906

      Hi Sir,

       

      We use stm32 as host mcu,communicate with cyw43012 through uart interface.

      Now we known that bt stack and profiles run in the chip.

      About BT function,we intend to customize api use wiced hci cmd on platform stm32 instead of using wiced studio SDK ,is that ok?I guess we only need to do above,or what else we need to do?Meanwhile,do we still nedd to download bt firmware?

       

       

      Thanks,

      Leo

        • 1. Re: cyw43012 how to run bluetooth with wiced hci cmd
          RaktimR_11

          You would still need to download the BT firmware. It's a byte array which you can download from your choice of SDK but it has to be downloaded.  Based on your comment, it seems like you are running the BT Stack in embedded mode but sending different HCI commands from ST Host needs to be done through WICED SDK only (Because WICED HCI is a protocol supported through WS). Please clarify what do you mean when you say that you need to customize the api to use wiced hci in stm32. Are you trying to run the stack in st host or are you trying to configure the uart in raw mode and send hci commands through that?

          1 of 1 people found this helpful
          • 2. Re: cyw43012 how to run bluetooth with wiced hci cmd
            LeLi_3670906

            Hi Raktim,

             

            In embedded mode,we still need to develop application through WICED SDK to support wiced hci cmd from ST?

             

            About "customize api use wiced hci cmd on platform stm32" means we want to refer to WICED SDK api like wiced_hci_send(HCI_CONTROL_AUDIO_COMMAND_INIT, data, length) send wiced hci cmd from ST host instead of using WICED SDK to develop ,in cyw43012 side,we still have to develop application through WCIED SDK?

             

             

            Thanks,

            Leo

            • 3. Re: cyw43012 how to run bluetooth with wiced hci cmd
              LeLi_3670906

              Hi Raktim,

               

              In other words,in addition to downloading BT FW,send wiced hci commands,receive events ,what else we need to do if we don't use WICED SDK to develop application ?

               

               

              Thanks,

              Leo

              • 4. Re: cyw43012 how to run bluetooth with wiced hci cmd
                RaktimR_11

                If you run the WICED BT stack in your ST-host, then after downloading the firmware, you can start sending standard HCI commands. But if you are running the stack in Embedded mode; i.e 43012 is running the BT stack and then you want to use standard HCI commands, that is not going to work because WICED_HCI is a little different than the standard HCI (You can check 43xxx_Wi-Fi/libraries/protocols/wiced_hci to understand more on this).

                1 of 1 people found this helpful