Difference between revisions of "CC2540"
|Line 39:||Line 39:|
Revision as of 20:03, 15 November 2016
|Making the CC2540 BLE dongle work|
This page is about the CC2540 bluetooth low-energy sniffer dongle and getting it to work with Linux. A nice end result could be that it becomes possible to sniff directly in WireShark with this dongle.
I have such a "WeBee" dongle that can be found for about E15,- on websites like Aliexpress.
When plugging this stick into a Linux machine, you can see it uses only one bulk endpoint.
USB logs from Windows
This USB device does actually work with Windows:
I've captured a log of the communication over USB while the BLE is capturing bluetooth traffic from some iBeacon:
In the logs, I cannot see any firmware blobs being downloaded to the stick. Probably the stick comes with a pre-loaded firmware of itself to do the BLE sniffing.
In the windows sniffer software, it seems there are only two things communicated:
- towards the stick: which radio channel to sniff
- from the stick: raw sniffed BLE frames