ermongroup / Wifi_Activity_Recognition

Code for IEEE Communication Magazine (A Survey on Behaviour Recognition Using WiFi Channle State Information)
GNU General Public License v3.0
251 stars 78 forks source link

How did you set sampling frequency as 1000Hz during data collection? #19

Closed ludlows closed 5 years ago

ludlows commented 5 years ago

Hi,

I noticed that your team collected data with 1000 samples per second. could you explain how to achieve this ?

Thanks a lot.

sulaimanalmani commented 5 years ago

The sample rate can achieved by changing the number of packets sent per second from the receiver. If you take a look at the csi tool, two mode can be used for receiving CSI: Monitor mode and AP mode. In monitor mode the 'random_packets' command is used to transmit packets and the rate can be set by changing its arguments. While in AP mode, the rate can be changed by simply pinging after particular intervals.