8 Replies Latest reply on Jul 5, 2020 7:03 PM by MaLi_4701696

    How to use the CYBT-423028-EVAL setup connection with other BT module by CyBluetool

    MaLi_4701696

      Hi

       

      I send HCI commands to CYBT-423028-EVAL with CyBluetool.

      However, I can't use these HCI commands to setup connection with my phone BT.

      How to do the throughput test and sco throughput test by CyBluetool??

       

      These HCI commands/event are:

      HCI RESET

      Write_Scan_Enable

            Then, phone send the connection req

      HCI Event:

      Connection Request

       

      HCI Command:

      Accept_Connection_Request

       

      HCI Event:

      Command Status

       

      HCI Event

      PIN Code Request

       

      HCI Command

      PIN_Code_Request_Reply

       

      HCI Command Complete Event

      PIN_Code_Request_Reply

       

      HCI Event

      Link Key Notification

       

       

      Connection Complete

      HCI Event

      com3@115200

      [03 0B ]: 00 0B 00 D6 0C D1 E0 87 94 01 00

      event = 0x03 (3,"Connection Complete")

      Status = 0x0 (0, "Success", "Success")

      Connection_Handle = 0x0B (11)

      BD_ADDR = "9487E0D10CD6"

      Link_Type = 0x1 (1, "ACL connection")

      Encryption_Status = 0x0 (0, "Link level encryption disabled")

       

       

      Max Slots Change

      HCI Event

      com3@115200

      [1B 03 ]: 0B 00 05

      event = 0x1B (27,"Max Slots Change")

      Connection_Handle = 0x0B (11)

      LMP_Max_Slots = 0x5 (5)

       

       

      ACL Data (rx)

      com3@115200

      [0B 20 0A 00 ]: 06 00 01 00 0A 02 02 00 02 00

      Broadcast_Flag = 0x00 (0, "Point-to-point")

      Packet_Boundary_Flag = 0x02 (2, "First automatically flushable packet")

      Connection_Handle = 0x0B (11)

      Data_Total_Length = 0x0A (10)

      data = "06 00 01 00 0A 02 02 00 02 00"

       

       

      ACL Data (rx)

      com3@115200

      [0B 20 0C 00 ]: 08 00 01 00 02 03 04 00 01 00 44 00

      Broadcast_Flag = 0x00 (0, "Point-to-point")

      Packet_Boundary_Flag = 0x02 (2, "First automatically flushable packet")

      Connection_Handle = 0x0B (11)

      Data_Total_Length = 0x0C (12)

      data = "08 00 01 00 02 03 04 00 01 00 44 00"

       

       

      ACL Data (rx)

      com3@115200

      [0B 20 0C 00 ]: 08 00 01 00 02 04 04 00 01 00 45 00

      Broadcast_Flag = 0x00 (0, "Point-to-point")

      Packet_Boundary_Flag = 0x02 (2, "First automatically flushable packet")

      Connection_Handle = 0x0B (11)

      Data_Total_Length = 0x0C (12)

      data = "08 00 01 00 02 04 04 00 01 00 45 00"

       

       

      Disconnection Complete

      HCI Event

      com3@115200

      [05 04 ]: 00 0B 00 13

      event = 0x05 (5,"Disconnection Complete")

      Status = 0x0 (0, "Success", "Success")

      Connection_Handle = 0x0B (11)

      Reason = 0x13 (19, "Remote User Terminated Connection")

       

      why happens disconnection complete in the last step??