Difference between revisions of "CC2540"

From RevSpace
Jump to navigation Jump to search
(Created page with "{{Project |Name=CC2540 |Picture=nog_geen_plaatje.png |Omschrijving=Making the CC2540 BLE dongle work |Status=Initializing |Contact=bertrik }} == Introduction =...")
 
Line 1: Line 1:
 
{{Project
 
{{Project
 
   |Name=CC2540
 
   |Name=CC2540
   |Picture=nog_geen_plaatje.png
+
   |Picture=cc2540_webee.png
 
   |Omschrijving=Making the CC2540 BLE dongle work
 
   |Omschrijving=Making the CC2540 BLE dongle work
 
   |Status=Initializing
 
   |Status=Initializing
Line 9: Line 9:
 
== Introduction ==
 
== Introduction ==
 
This page is about the CC2540 bluetooth low-energy sniffer dongle and getting it to work with Linux.
 
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.
 
I have such a "WeBee" dongle that can be found for about E15,- on websites like Aliexpress.
Line 14: Line 15:
 
== Analysis ==
 
== Analysis ==
 
=== USB descriptor ===
 
=== USB descriptor ===
 +
When plugging this stick into a Linux machine, you can see it uses only one bulk endpoint.
 +
 +
<pre>
 
XXX
 
XXX
 +
</pre>
  
 
=== USB logs from Windows ===
 
=== USB logs from Windows ===
 +
This USB device does actually work with Windows:
 +
* [http://www.ti.com/tool/packet-sniffer SmartRF Protocol Packer Sniffer]
 +
 +
I've captured a log of the communication over USB while the BLE is capturing bluetooth traffic from some iBeacon:
 +
* Wireshark log
 +
* SmartRF packet sniffer log

Revision as of 19:19, 15 November 2016

Project CC2540
Cc2540 webee.png
Making the CC2540 BLE dongle work
Status Initializing
Contact bertrik
Last Update 2016-11-15

Introduction

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.

Analysis

USB descriptor

When plugging this stick into a Linux machine, you can see it uses only one bulk endpoint.

XXX

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:

  • Wireshark log
  • SmartRF packet sniffer log