element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog BLE Sniffer
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 6 Feb 2022 5:42 AM Date Created
  • Views 8660 views
  • Likes 6 likes
  • Comments 1 comment
  • ble
  • nrf connect
  • nrf52840
  • ble sniffer
Related
Recommended

BLE Sniffer

ralphjy
ralphjy
6 Feb 2022

I will be working on a new project soon analyzing BLE transmitters and thought that it would be useful to have a dedicated BLE sniffer so that I could monitor the state of the Equipment Under Test (EUT).

I've used an nRF52840 Dongle on previous projects to connect my Win10 PC to BLE Dev boards and I discovered that Nordic has BLE Sniffer firmware for it, so that seemed like a good choice.  The dongle is an inexpensive ($10) PCB that plugs directly into a USB-A jack.

{gallery}nRF52840 Dongle

image

image

Here is a link to the BLE Sniffer documentation: nRF Sniffer for Bluetooth LE

"The nRF Sniffer for Bluetooth LE software consists of firmware that is programmed onto a DK or dongle and a capture plugin for Wireshark that records and analyzes the detected data."

Since I've used Nordic tools in the past and also use Wireshark to observe the traffic on my network, the installation was pretty easy.

Installation steps:

1. Download the sniffer firmware: nRF Sniffer for Bluetooth LE v4.1.0.   

Extract the archive and find the hex file that matches your DK or Dongle.

image

2. Program the dongle. 

I have nRF Connect for Desktop already installed on my PC and it has a Programmer app, so I used that.  Basically just select the device, drag & drop the hex file, and write the device.

image

image

3. Install the nRF Sniffer capture tool.  

The nRF Sniffer is installed as an external capture plugin in Wireshark.  Wireshark is a free software tool that captures network traffic and reproduces it in a readable format. It is a cross-platform network protocol analyzer that can be used to view, analyze, and troubleshoot packets sent over a data network.

    There are some software requirements that must be met:

   Software requirements

  • Supported operating systems:
    • Windows 10
    • 64-bit OS X/macOS 10.6 or later
    • Linux (check the Wireshark prerequisites for version compatibility)
  • Wireshark v3.4.7 or later
  • Python v3.6 or later

     The installation instructions are straightforward, so I won't go through them in detail.  It is basically a two step process:  

  1. Copy the nRF Sniffer capture tool into Wireshark's folder for personal external capture plugin
  2. Add a Wireshark configuration profile for the nRF Sniffer

Running the nRF Sniffer:

1. Open Wireshark

2. Open nRF Sniffer Toolbar

image

3. Select nRF Sniffer as Capture source

image

4. Click the Blue Shark fin in the toolbar  to start capturing

image

5. Example of capture of advertising packets from nearby BLE devices

image

Next steps

Now that I've got things running, it's time to familiarize myself with the tool and learn how to isolate specific target traffic using display filters.  I'm starting to realize the enormous amount of BLE traffic that I have in my house, not to mention all the WiFi traffic around 2.4GHz...

A snapshot of packet information:

image

  • Sign in to reply
  • shabaz
    shabaz over 3 years ago

    Hi Ralph,

    That looks really great. I've picked up several different BLE dev-boards for use as simple BLE sniffers over the years, and they are all irritating to use with their supplied apps. Something usable with WireShark is definitely a step in the right direction. I've added that dongle to my shopping cart.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube