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

AIROC™ Wi-Fi and Wi-Fi Bluetooth Combos Forum Discussions

ApolloChen
Level 1
5 sign-ins First reply posted First question asked
Level 1

Hello,

Could you please share basic TX/RX testing process in CyBluetoolConsole (without GUI)?

 

My step s as below, please help to correct or suggest, thank you.

1. reset

(COM2@115200)$ send reset
07/14/22 15:41:47.707 com2@115200 c> Reset
HCI Command
com2@115200
[03 0C 00 ]
opcode = 0x0C03 (3075, "Reset")


(COM2@115200)$ (COM2@115200)$ 07/14/22 15:41:47.739 com2 <c Reset
HCI Command Complete Event
com2@115200
[0E 04 ]: 01 03 0C 00
event = 0x0E (14,"Command Complete")
Num_HCI_Command_Packets = 0x1 (1)
Command_Opcode = 0xC03 (3075, "Reset")
Status = 0x0 (0, "Success", "Success")


(COM2@115200)$ list
set_event_mask
reset
set_event_filter
...

2. set_event_filter 

3. Write_scan_enable

4. Enable_Device_Under_Test_Mode

 

Best regards,

Apollo Chen

 

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator First question asked 1000 replies posted 750 replies posted
Moderator

Hi @ApolloChen ,

I hope you are using the latest CyBluetool from here

https://softwaretools.infineon.com/tools/com.ifx.tb.tool.cybluetool

If you are using this tool, open CyBluetool and click Help > View Help

BragadeeshV_0-1657818816999.png

This will open the Cybluetool user guide. Look for the CyBluetool console application user guide that should have info on using the console tool.

For specific Tx or Rx test  you can use the Tx_test and Rx_test command. For LE, you can use LE_Transmitter_Test and LE_Rx_Transmitter test command. Also note that for connectionless test the only commands you need to send is the HCI reset command followed by the actual test command.

You can also use the WMBT tool, which provides command line interface for performing BT manufacturing tests 

https://infineon.github.io/btsdk-docs/BT-SDK/Manufacturing-Bluetooth-Test-Tool.pdf

Regards,
Bragadeesh

View solution in original post

0 Likes
2 Replies
BragadeeshV
Moderator
Moderator First question asked 1000 replies posted 750 replies posted
Moderator

Hi @ApolloChen ,

I hope you are using the latest CyBluetool from here

https://softwaretools.infineon.com/tools/com.ifx.tb.tool.cybluetool

If you are using this tool, open CyBluetool and click Help > View Help

BragadeeshV_0-1657818816999.png

This will open the Cybluetool user guide. Look for the CyBluetool console application user guide that should have info on using the console tool.

For specific Tx or Rx test  you can use the Tx_test and Rx_test command. For LE, you can use LE_Transmitter_Test and LE_Rx_Transmitter test command. Also note that for connectionless test the only commands you need to send is the HCI reset command followed by the actual test command.

You can also use the WMBT tool, which provides command line interface for performing BT manufacturing tests 

https://infineon.github.io/btsdk-docs/BT-SDK/Manufacturing-Bluetooth-Test-Tool.pdf

Regards,
Bragadeesh
0 Likes
ApolloChen
Level 1
5 sign-ins First reply posted First question asked
Level 1

Hi Bragadeesh,

Thank you for sharing. I'll do an experiment to validate these tools.

 

sac@ubuntu:~/btsdk$ git clone https://github.com/Infineon/btsdk-utils.git
Cloning into 'btsdk-utils'...
remote: Enumerating objects: 1241, done.
remote: Counting objects: 100% (114/114), done.
remote: Compressing objects: 100% (88/88), done.
remote: Total 1241 (delta 26), reused 67 (delta 16), pack-reused 1127
Receiving objects: 100% (1241/1241), 123.69 MiB | 13.10 MiB/s, done.
Resolving deltas: 100% (514/514), done.
sac@ubuntu:~/btsdk$ ls
btsdk-utils
sac@ubuntu:~/btsdk$

sac@ubuntu:~/btsdk/btsdk-utils/wmbt/bin/Linux64$ ./wmbt
set environment variables: MBT_BAUD_RATE and TRANSPORT_MODE (0: HCI, 1: WICED_HCI)

NOTE: MBT_BAUD_RATE Must match baud rate configured in embedded application

eg) on Windows,
set MBT_BAUD_RATE=4000000
set TRANSPORT_MODE=1
eg) on Cygwin,
export MBT_BAUD_RATE=4000000
export TRANSPORT_MODE=1
sac@ubuntu:~/btsdk/btsdk-utils/wmbt/bin/Linux64$

 

Best Regards,

Apollo Chen

0 Likes