Page 1 of 1

How to send or dump Wi-Fi CSI packet data to my host PC with USB?

Posted: Fri Sep 28, 2018 9:35 am
by david711205
Hi all:
I used console to enable Wi-Fi CSI function.
But I have no idea about how to send or dump Wi-Fi CSI packet data to my host PC with USB when CSI callback function returns CSI packet data everytime.

Re: How to send or dump Wi-Fi CSI packet data to my host PC with USB?

Posted: Fri Sep 28, 2018 10:56 am
by ESP_Sprite
The USB you mention is in all probability a serial-to-usb converter on your devboard. as such, you can just send it over your serial port (printf?) in some format (suggest binary or base64-encoded) and write a program PC-side to grab it off the emulated serial port.

Re: How to send or dump Wi-Fi CSI packet data to my host PC with USB?

Posted: Sat Sep 29, 2018 12:30 am
by david711205
Could you give me an simple c code example on esp32 side and PC side(if we use fwrite() to send binary data to PC )

Re: How to send or dump Wi-Fi CSI packet data to my host PC with USB?

Posted: Sat Sep 29, 2018 12:09 pm
by ESP_Sprite
No, sorry, I'll leave that up to you.

Re: How to send or dump Wi-Fi CSI packet data to my host PC with USB?

Posted: Thu Feb 07, 2019 9:31 am
by jonathanmuller
Hi,

If you are interested I recently did it : https://github.com/jonathanmuller/ESP32 ... ation-CSI-
It logs 802.11n frames as well as CSI from the ESP32 to a linux running PC