This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use Wireshark capture connection packets AND broadcast packets

I want to capture connection packets between BLE Master and Slave (this part is easy) but also capture any advertisement send out by slave at the same time.

Our BLE peripheral received data from Central device and forward out as broadcast packet

My steps:

  1. Run Nordic Sniffer command line tool, select mac address
  2. Launch WireShark, it starts capturing all broadcast packets,
  3. Launch master device, connection has been established
  4. WireShark only captures connection packets, no longer captures broadcast packets.

Different Steps:

  1. Launch master device, connection has been established
  2. Run command line tool, select mac address
  3. Launch WireShark, it starts capturing ONLY broadcast packets.

It seems I could not get both broadcast packet and connection packets at the same time.

(I need to measure the time interval between receiving data from central and sending out broadcast packets)

Related