StevenMHernandez / ESP32-CSI-Tool

Extract Channel State Information from WiFi-enabled ESP32 Microcontroller. Active and Passive modes available. (https://stevenmhernandez.github.io/ESP32-CSI-Tool/)
https://stevenmhernandez.github.io/ESP32-CSI-Tool/
MIT License
262 stars 72 forks source link

Improve rate consistency of CSI data collection #66

Closed touhiDroid closed 1 year ago

touhiDroid commented 1 year ago

The changes in this pull request measure the lag created by functions such as sendto() to send CSI data over the serial connection. This lag is then negated from the programmed delay (using vTaskDelay()) to maintain a consistent CSI data rate as specified in the active_sta app's data rate field (in Hz).