Cybluetool queries

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

cross mob
RoRa_4738831
Level 1
Level 1
First like given Welcome!

Hi,

We have tried RESET command in Cybluetool But couldn't able to see the Status in log.

We have few queries related to Cybluetool for Bluetooth testing.

We have referred User manual from below link,

     https://www.cypress.com/file/298376/download

We have gone through the User manual provided by the Cybluetool.

The information provided by the user manual is limited.

Below are the few queries,

     1) Could you please share us what are the steps followed before testing any commands using Cybluetool?

     2) Could you please provide us the any documents related to commands used in Cybluetool?

     3) Is there any way to connect the device (mobile or laptop) to board using Cybluetool? If "Yes", How?

     4) Can we scan available device using Cybluetool?

     5) How to send the data to connected device using Cybluetool?

Could you please share more information related to Cybluetool?

Thanks & Regards,

Rohit

0 Likes
1 Solution

Hi Rohit,

If you have UART interface between host and controller then I don't think there should be any problem with sending HCI commands, you can do that without CyBluetool as well. There is no separate tool as such to support with ARM processor but you can send HCI commands from any host to WICED BT controller. I think you can use Hcitool as well for a linux platform. Can you check links provided in responses of below post: CYBT-413034-02 Clean Carrier Wave

I think this should give an idea about sending HCI commands from host to controller.

View solution in original post

16 Replies
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi Rohit,

I dont think you are referring correct document. Please check the CyBluetool user guide and following posts, I think this will resolve all your queries.

CyBluetool User's Guide

RF Testing on Cypress BT Devices - KBA228303

Re: CYW20706 Test Mode

0 Likes

Hi SheetalJ_96

We are having UART interface to communicate LBEE5HY1MW chipset with IMX6ULL (Arm Cortex™-A7) CPU.

Unfortunately, We are not able make any hardware changes (wiring) to connect Cybluetool to Host PC.

We are having UART interface for debugging purpose.

Is there any ARM based host processor tool for testing Bluetooth?

Could you please provide any contact information such that we can close the issue?

Thanks & Regards,

Rohit

0 Likes

Hi Rohit,

If you have UART interface between host and controller then I don't think there should be any problem with sending HCI commands, you can do that without CyBluetool as well. There is no separate tool as such to support with ARM processor but you can send HCI commands from any host to WICED BT controller. I think you can use Hcitool as well for a linux platform. Can you check links provided in responses of below post: CYBT-413034-02 Clean Carrier Wave

I think this should give an idea about sending HCI commands from host to controller.

Hi SheetalJ_96

Thanks for the response.

We have used hcitool. We are able to get the available devices using "hcitool scan" command.

Is it possible to make a connection to scanned devices? If "Yes", Please share us how.

Thanks & Regards,

Rohit

0 Likes

Hi Rohit,

Yes you can initiate the connection, I could find standard HCI command Create_Connection for it. You can find the details here: https://www.pocketmagic.net/hci-commands-list/

Hi SheetalJ_96

Thanks for the response.

We have followed set of hcitool commands. As you mentioned above to use "hcitool cc" command to connect the remote device.

But there is no active connection when we checked using "hcitool con" command.

How can we make a connection from board to remote devices(mobile, laptop)?

How to share the data or any file from Board to remote device or vice versa?

Do hcitool supports above?

Thanks & Regards,

Rohit

0 Likes

Yes hcitool supports cc, con commands, ideally it should work. Can you try testing rssi, lq commands if you get any response for the same?

FYI: hcitool bluez BlueTooth configuration etc

Using hcitool to get bluetooth device information - Lynxbee

Hi SheetalJ_96

Thanks for the response.

As we see hcitool is used to configure the Bluetooth connection. Currently we are planning to to pre-compliance test for BT module.

We had discussed with certification vendor regarding pre-compliance test. They don't have any tool to test BT module.

So, We want to know how we can set the BT channels, frequency, bands and data rates through software.

Could you please help us with the above?

Thanks & Regards,

Rohit

0 Likes

Are you looking for RF testing of the module? I think the documents given in KBA RF Testing on Cypress BT Devices - KBA228303 should be helpful to figure out needed HCI commands for RF testing. The values you will have to set as per your need.

BT Test Mode document in CYBT-413034-02 Clean Carrier Wave should also help.

0 Likes

Hi SheetalJ_96

Yes. We are looking for the RF testing of the module.

We have tried using Cybluetool. But couldn't able to get the status in log as we mentioned above.

We will check with the mbt or wmbt tool.

Thanks & Regards,

Rohit

0 Likes

Hi SheetalJ_96

We are having a UART interface to communicate LBEE5HY1MW chipset with IMX6ULL (Arm Cortex™-A7) CPU and UART interface for debugging.

Unfortunately, we can't do any wiring to connect Cybluetool or WICED SDK(mbt) to BT module directly from host PC.

We hope Cypress are doing the channel setting, data rate settings, Continuous transmission and etc. during cypress certification process.

Here, we would like to know the following,

     How Cybluetool or Wiced SDK(mbt) is communicating with BT module?

     What are the data packets sending to the BT module from Cybluetool or WICED SDK? Is there any documents for it?

     Do cypress have any C application to achieve the channel setting, data rate settings, Continuous transmission and etc?

     How cypress has done the certification for BT Module? Please provide your suggestions.

Please let us know how we can achieve the above in our device.

Thanks & regards,

Rohit

0 Likes

Hi Rohit,

For RF testing, you should have an UART interface between host and BT controller. We use CyBluetool, hcitool or mbt for RF testing. There is no special C program or app to send the certification related commands or parameters to BT module.

The module you are using is Murata having Cypress CYW43455, can you please check with Murata for their module certification? Or please contact your local Cypress team or FAE.

0 Likes

Hi SheetalJ_96

Thanks for the response.

We have made some hardware changes and able to communicate between Cybluetool and BT controller.

We have tested with several commands available in the tool and received response back from the BT controller.

We have followed the RF Testing on Cypress BT Devices - KBA228303 document.

For every commands we sent, we get response as "success".

We would like to know,

How we can confirm or verify whether channels, frequency and packet details set or not?

Can we able to scan the available device through Cybluetool?

Can we get the name or mac address of the BT controller using Cybluetool?  We tried using Read_BD_ADDR. But we got response as "AAAAAAAAAAA".

How we can configure the name of BT device?

Is the BT device visible while scanning through mobile or any devices?

Thanks & Regards,

Rohit

0 Likes

Hi Rohit,

You can check status of commands in CyBluetool logs. As mentioned in CyBluetool User's Guide​, you will get a 'Success' response in logs if the commands is executed successfully.

- Check BLT/BT transmit tests mentioned in user guide.

- Check LE scan commands in LE Controller Commands section in CyBluetool.

- Yes you can get the BD address of the device using read_BD_addr command.

- Check write_local_name command to device name.

- If you have started advertising then any client should be able to scan it. Check advertising command in LE Controller commands section.

FYR: Re: HCI Commands to enable bluetooth

Hi SheetalJ_96

Thanks for the response.

We had a discussion with certification vendor regarding pre-compliance test. They have shared some of key test points.

We should have the software for below configuration,

    1)Bandwidth, band and channels Settings

    2)Control power

    3)Duty cycle

    4)Continuous transmission

    5)Power level transmits

Certification vendor tests Bluetooth with different data rates such as,

   Basic rate(BR): 1Mbps
    Enhanced data rates(EDR): 1Mbps,2Mbps,3Mbps
   Bluetooth low energy(BLE): 1Mbps

We would like to know,

    Is it possible to achieve above using using CyBluetool? If YES, Please share the commands.

Continuous transmission is must for pre-compliance test.

Please help us to achieve above.

Thanks & Regards,

Rohit

0 Likes

Yes CyBluetool supports the configurations you mentioned. Please check commands given in this document: RF Testing on Cypress BT Devices - KBA228303