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

Reducing Tx Data by Hex-encoding #69

Open touhiDroid opened 1 year ago

touhiDroid commented 1 year ago

This pull request reduces the size of each transmitting data frame by encoding decimal numbers (e.g.: -127) into positive (by adding 128 to each value) hexadecimal numbers with exactly two digits and without any space in between the numbers. Another option is added to enable CSI-only transmission leaving off all other meta-data. These improve the CSI data transmission rate by reducing the data overhead. Additionally, the uxPriority is set to the FreeRTOS-suggested maximum value instead of the previous hard-coded value of 100.