This document describes how to update and sniff Bluetooth LE wireless applications on the USB-KW41
Programming the USB-KW41 as sniffer
It was noticed that there are some issues trying to follow a Bluetooth LE connection, even if the sniffer catches the connection request. These issues have been fixed in the latest binary file which can be found in the Test Tool for Connectivity Products 188.8.131.52 or newest.
After the Test Tool Installation, you’ll find the sniffer binary file at the following path.
C:\NXP\Test Tool 184.108.40.206\images\KW41_802.15.4_SnifferOnUSB.bin
1. Connect the USB-KW41Z to your PC, and it will be enumerated as Mass Storage Device
2. Drag and drop the "KW41_802.15.4_SnifferOnUSB.bin" included in Test tool for Connectivity Products.
"C:\NXP\Test Tool 220.127.116.11\images\KW41_802.15.4_SnifferOnUSB.bin"
3. Unplug the device and old the RESET button of the USB-KW41Z, plug to your PC and the K22 will enter in a bootloader mode.
4. Drag and drop the "sniffer_usbkw41z_k22f_0x8000.bin" included in Test tool for Connectivity Products.
"C:\NXP\Test Tool 18.104.22.168\images\sniffer_usbkw41z_k22f_0x8000.bin"
5. Then, unplug and plug the USB-KW41Z to your PC.
Note: If the USB-KW41 is not enumerated as Mass Storage Device, please look at the next thread https://community.nxp.com/thread/444708
1 USB-KW41 (updated with KW41_802.15.4_SnifferOnUSB.bin from Test Tool 12.8 or later)
The Kinetis Protocol Analyzer provides the ability to monitor the Bluetooth LE Advertisement Channels. It listens to all the activity and follows the connection when capturing a Connection Request.
Bluetooth LE Peripheral device transmits packets on the 3 advertising channels one after the other, so the USB-KW41 will listen to the 3 channels one by one and could or not catch the connection request.
Common use case
The USB-KW41 will follow the Bluetooth LE connection if the connection request happens on the same channel that It is listening. If is listening to a different channel when the connection request is sent, it won't be able to follow it.
A Simple recommendation is the Bluetooth LE Peripheral should be set up to send the adv packets only to one channel and the sniffer just capturing on the same channel.
Use 3 USB-KW41, each of them will be dedicated to one channel and will catch the connection request.
Configure Kinetis Protocol Analyzer and Wireshark Network Analyzer
Note: For better results, address filter can be activated.
When you are capturing all the packets in the air, you will notice 3 adv packets. Each packet will show the adv channel that is getting the adv frame.
One of the three sniffers will capture the Connection Request. In this case, it happens on channel 38.
You will be able to follow the connection, see all the data exchange.
For a better reference, you can look at the USB-KW41 Getting Started
Hope it helps