virtualabs / btlejack

Bluetooth Low Energy Swiss-army knife
MIT License
1.9k stars 196 forks source link

Is there a way btlejack can support capturing advertisement packets #45

Open spica45 opened 5 years ago

spica45 commented 5 years ago

We currently measure the advertisement interval and advertisement duration of a peripheral using BLE sniffers. I wonder if this could be achieved using btlejack. Since btlejack can monitor every advertising channel by connecting 3 microbits, it would be very helpful if the tool can also capture and record advertisement packets. For example, running something like the following captures the advertising PDUs btlejack -a ea:07:03:6b:fc:88 -o And the file can be interpreted to determine the advertisement parameters.