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

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

cross mob
MaLi_4701696
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked

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??

0 Likes
1 Solution

Hi ,

Yes, The latest guide is available here: CyBluetool User's Guide

Before do the Throughput test, do I need to establish a connection between the two devices?? How to establish a connection if the CYBT-423028-EVAL only as a standard BT controller?

A) Yes you need to establish a connection before throughput test . The steps are mentioned in the user guide.

Regards,

Anjana

View solution in original post

8 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi MaLi_4701696 ,

For the Throughput test using CyBluetool, I would suggest you to go through the user guide: CyBluetool User's Guide

Regards,

Anjana

Hi Anjana

After I read CyBluetool User’s Guide, but I still don’t know how to do the Throughput test.

I still have a question about the Throughput test:

Before do the Throughput test, do I need to establish a connection between the two devices?? How to establish a connection if the CYBT-423028-EVAL only as a standard BT controller?

Thanks!

Best Regards

Maogang Li

发件人: AnjanaM_61

发送时间: 2020年6月9日 18:58

收件人: Li, Maogang

主题: You have been mentioned by AnjanaM_61 in Re: How to use the CYBT-423028-EVAL setup connection with other BT module by CyBluetool in Cypress Developer Community

<http://www.cypress.com>

Cypress Developer Community <https://community.cypress.com/?et=notification.mention>

You have been mentioned

by AnjanaM_61<https://community.cypress.com/people/AnjanaM_61?et=notification.mention> in Re: How to use the CYBT-423028-EVAL setup connection with other BT module by CyBluetool in Cypress Developer Community - View AnjanaM_61's reference to you<https://community.cypress.com/message/238464?et=notification.mention#238464>

0 Likes

Did you refer to chapter 3.1 and 3.2 in the user guide to build a connection?

Hi

Thanks very much!

I can’t find the chapter 3.1 and 3.2 in the CyBuletool software’s user guide.

But I find the chapter 3.1 and 3.2 in the other CyBluetool user guide, may be this user guide is newer.

Best Regards

0 Likes

Hi ,

Yes, The latest guide is available here: CyBluetool User's Guide

Before do the Throughput test, do I need to establish a connection between the two devices?? How to establish a connection if the CYBT-423028-EVAL only as a standard BT controller?

A) Yes you need to establish a connection before throughput test . The steps are mentioned in the user guide.

Regards,

Anjana

Hi

From the user guide, after establish a connection, there are not establish a L2CAP connection and authentication routine(simple pairing).

Why are there not L2CAP connection and simple pairing?

Best Regards

0 Likes

If you want to use the device as a controller in your application, the usually method is to run a BT Stack on your host MCU.

0 Likes

Hi

Yes, I run a BT stack on my host MCU. This issue is the same with the pair issue.

0 Likes