Part Number: LAUNCHXL-CC26X2R1
Tool/software:
I want to read BLE packets. Is there any TI application available with a command-line interface?"
data like :

This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: LAUNCHXL-CC26X2R1
Tool/software:
I want to read BLE packets. Is there any TI application available with a command-line interface?"
data like :

Hi !
I think there are two options for you :
- host_test is an example from our SDK that allows to send HCI commands through UART, which can send packets, scan advertisement packets, and more. You could send HCI commands to continuously scan for advertisements packets.
- packet sniffer is a firmware from our SDK that you can use to sniff BLE advertisement data from the air and display them in Wireshark. Once you sniffed what you want, you can save the capture packets from wireshark to a text format you can parse yourself.
Another option would be to use a physical BLE sniffer (I won't advise any brand but you can find a lot of them online), which are able to sniff more than advertisement data
Kind regards,
Maxence
Hi !
Maybe the host_test scan has some filters enabled for only scannable and connectable devices. Do you see something relative to filters in your BTool log ? Can you send it here ?
Kind regards,
Maxence
"Sometimes I'm able to see my device, but most of the time I can't. I've tried increasing the scan duration and reducing the number of nearby devices. When there are fewer devices around, it shows up about 90% of the time. But when many devices are nearby, it often fails to get detected.
Hi,
If you struggle to scan your device, here are some options you have. They are ranked from most useful / likely to work :
- Lower the advertisement interval of your device
- Increase the scan window of the scanner
- Increase the scan duration of the scanner
- Reduce the number of devices around
- Bring the scanner closer to the device
Make sure the scanning window is at least twice the length of the expected advertising interval to ensure at least 1 advertising event is captured in each scanning window. Otherwise, the scanning device may not find the advertising device.
Kind regards,
Maxence