dhalperi / linux-80211n-csitool-supplementary

802.11n CSI Tool based on iwlwifi and Linux-2.6
http://dhalperi.github.com/linux-80211n-csitool/
195 stars 129 forks source link

process CSI with C or C++? #251

Open linkzhao opened 7 years ago

linkzhao commented 7 years ago

Hi all, I am a new guy to this area , I want to konw how process CSI with C or C++? dose anyone do it? thanks!!

brunosoaresds commented 7 years ago

@linkzhao When i initiate in this area i have tried to process the data with C/C++ program too, but i strongly recommend you to learn how matlab works and work with it, because in matlab the most part of functions what you need is already implemented.

But, if you want to process the data in c/c++ you will need to study how this functions works:

Well, this is only for amplitude processing, if you want to extract the CSI phase you will need to learn how it works and how to extract it from the complex numbers.

linkzhao commented 7 years ago

thank you for your reply, but if can not process the data with C or C++,how to solve the problem of localization in real time ?

brunosoaresds commented 7 years ago

@linkzhao I don't said that is not possible to process the data with C/C++, i just said that is so much easy to process with matlab because the most part of functions what you will need is already implemented and for your research you can start processing data not in real time and after you can develop a program that proccess in real time.

However, if you want to start with a C/C++ program and real time system you should create all functions again, and like i explain before you can start with amplitude processing what is made by basically this three functions: db(), abs() and get_scaled_csi()

linkzhao commented 7 years ago

got it!thanks,I have another question ,Are you plot CSI with time,Why there is an uncertain delay at the start of measured CIR samples?

linkzhao commented 7 years ago

@brunosoaresds like this: image

linkzhao commented 7 years ago

@brunosoaresds hi,can you try to link wifi by using "iwconfig"?