4 Replies Latest reply on Jul 5, 2020 7:01 PM by MaLi_4701696

    CYBT-423028-EVAL pair problem

    MaLi_4701696

      Hi

       

      when I use CYBT-423028-EVAL as a  Bluetooth controller,

      if  don't enable simple pair, but when host software send the PIN_Code_Request_Reply to CYBT-423028-EVAL controller, the CYBT-423028-EVAL controller has not response, so paring fail.

       

      if enable simple pair, when other bluetooth device send the LMP_IO_CAPABILITY_REQ to CYBT-423028-EVAL controller, the CYBT-423028-EVAL controller has not any response, there is not HCI_IO_Capability_Response to host software, then pair fail.

       

      may be CYBT-423028-EVAL Controller has something wrong with paring routine or authentication routine??

        • 1. Re: CYBT-423028-EVAL pair problem
          XinghaoZ_26

          Could you share a short snip to reproduce your problem?

          • 2. Re: CYBT-423028-EVAL pair problem
            MaLi_4701696

            Hi

             

            step1:

            My host software sends HCI reset to Cybt-423028-eval controller.

            step2:

            My host software sends HCI simple pair enable(write simple pairing mode) to Cybt-423028-eval controller.

            step3:

            My host software sends HCI write connection acception timeout(value is 0x7E80) to Cybt-423028-eval controller.

            step4:

            My host software sends HCI write scan enable to Cybt-423028-eval controller.

             

            By the way, Cybt-423028-eval controller recived these four HCI commads successfully.

            step5:

            My phone Bluetooth find the Cybt-423028-eval, and then sends the connection req to Cybt-423028-eval controller.

             

            step 6:

            connection setup coomplete.

             

            From my host software log, host doesn't receive the HCI_IO_Capability_Request event from the Cybt-423028-eval controller, so can't send the HCI_IO_Capability_Request_Reply command to Cybt-423028-eval controller.

             

            If I force my host software to send the HCI_IO_Capability_Request_Reply command to Cybt-423028-eval controller when my host software doesn't receive the the HCI_IO_Capability_Request event from the Cybt-423028-eval controller.

            it is can work.

            Thanks

            • 3. Re: CYBT-423028-EVAL pair problem
              XinghaoZ_26

              What's the platform for your host MCU?

              What's the stack that runs on your host MCU? Why don't you run the device in MCU mode?

              • 4. Re: CYBT-423028-EVAL pair problem
                MaLi_4701696

                Hi

                 

                You are right,  My host MCU platform is FPGA board, my host communicate with Crypress  by HCI UART.

                 

                My host is BT version 5.1.

                 

                I think Crypress should be support this method. However the pair routine is fail.