mikeryan / ice9-bluetooth-sniffer

Wireshark-compatible all-channel BLE sniffer for bladeRF, with wideband Bluetooth sniffing for HackRF and USRP
GNU General Public License v2.0
280 stars 40 forks source link

BT Classic and BLE Sniffing does not record RSSI of packet. #18

Open Bushbaker27 opened 1 year ago

Bushbaker27 commented 1 year ago

First off, amazing code. Great to use and very easy to get going. Was wondering if this addition could be made.

Using a Bladerf 2.0 device to sniff BLE packets. Successfully able grab packet information such as advertising address, angle of arrival, time of arrival, etc. However, the RSSI recording seems to be missing from the packet information delivered to wireshark. I know that this can be hardware or even protocol dependent, but I believe that Bladerf has the capability to record these values. I am hoping to be able to record the RSSI from packets sent advertising and data channels.

I hope to use this value to approximate the location of a device. Please let me know if this is something that is possible to be added. Thanks!

mikeryan commented 1 year ago

Hi yes, this is something I plan on adding in the near future. We already collect that info from our automatic gain control (AGC) blocks, so it's really just a matter of stuffing it in the correct place in the packet header.

Bushbaker27 commented 1 year ago

Wow thank you! I'll see if I can get it going myself. If I do, I'll be sure to share my findings. Unfortunately, I am pretty new to packet sniffing but I will do my best.