nexmonster / nexmon_csi

Channel State Information for Raspberry Pi. Use the pi-5.10.92 branch.
https://github.com/nexmonster/nexmon_csi/tree/pi-5.10.92
60 stars 26 forks source link

Extrac RSSI from the latest csi explorer? #29

Open chixiangw opened 2 years ago

chixiangw commented 2 years ago

hi @zeroby0 , I hope you are doing well!

I'm now hoping to extract RSSI and CSI of each wifi frame simultaneously.

I read your documentation and code of nexmon_csi under both nexmonster and also seemoo-lab, and it seems to me that only this branch 5.4.51-plus supports that function (i.e., I can get the RSSI and CSI of each frame simultaneously), and can be decoded by this old version of csi_explorer?

And it seems that the seemoo-lab 5.10 version doesn't support it because this newer one is using a different data format, which doesn't contain RSSI in data packets? And also, it seems that the latest python-version csi explorer (in this branch) cannot read RSSI either?

Is my understanding correct? Is 5.4.51-plus the only way, for now, to extract RSSI and CSI of each wifi frame simultaneously?

Thank you!

zeroby0 commented 2 years ago

Hey @chixiangw

Yes that's correct

But the new data format doesn't seem to be too different, so it shouldn't be too hard to update the parse. Lemme take a look

zeroby0 commented 2 years ago

It's done! 🎉

The feature/python branch can now read and decode RSSI and Frame Control bytes, and is compatible with 5.10

Pre-compiled binaries for 5.10 are available at https://github.com/nexmonster/nexmon_csi_bin, so you can flash raspios_lite_armhf-2022-01-28 on an SD card and run the new Install Script to get CSI in minutes.

And then you can use the csi-explorer in the feature/python branch to read CSI collected on 5.10 branch.

chixiangw commented 2 years ago

thank you so much!! have a great day!