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
275 stars 73 forks source link

Active_ap mode: CSI collection process not smooth #30

Closed tusharjain1003 closed 2 years ago

tusharjain1003 commented 3 years ago

In active_ap mode, the CSI collection process is not smooth and gets stuck randomly.

Steps to reproduce the behavior:

  1. Build project(s) ... active_ap
  2. Flash project(s) ... active_ap
  3. External device setup (if applicable)
  4. See error

    • OS: Windows
    • ESP-IDF Version: 4.0

using smartphone as sta.

StevenMHernandez commented 3 years ago

At what rate do yuo have the smartphone sending CSI frames? If you are not controlling the data output by the smartphone, then it is likely the smartphone is not sending any frames OR the frames being sent do not generate CSI.

kallu1294 commented 2 years ago

At what rate do yuo have the smartphone sending CSI frames? If you are not controlling the data output by the smartphone, then it is likely the smartphone is not sending any frames OR the frames being sent do not generate CSI.

Sir can we make our smartphone as STA and esp32 as AP.? Are we able to see CSI frames.??

StevenMHernandez commented 2 years ago

@kallu1294 Yes this is possible. However, I cannot guarantee consistent CSI frame-rate. This is an advanced usage of this ESP-CSI-Tool and I cannot promise that I will be able to debug any issues from "non-supported hardware" like smartphones. If you have advanced understanding of what is going on, you should be able to identify methods to get this working. I just do not know how much engineering effort would be required.

kallu1294 commented 2 years ago

Sir for this then I can't use my smartphone or wifi (router) as AP .?

So I should use two esp32 one for AP and another one for STA right.??

On Tue, Dec 7, 2021, 22:02 Steven M. Hernandez @.***> wrote:

@kallu1294 https://github.com/kallu1294 Yes this is possible. However, I cannot guarantee consistent CSI frame-rate. This is an advanced usage of this ESP-CSI-Tool and I cannot promise that I will be able to debug any issues from "non-supported hardware" like smartphones. If you have advanced understanding of what is going on, you should be able to identify methods to get this working. I just do not know how much engineering effort would be required.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StevenMHernandez/ESP32-CSI-Tool/issues/30#issuecomment-988086741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWT7GPSWJLK4LMAP2CXZNZTUPYZLTANCNFSM5CJWGEWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

StevenMHernandez commented 2 years ago

Two esp32s is the recommended way with this tool. Yes.

It is possible to use a smartphone or an AP, but you will need advanced knowledge.

kallu1294 commented 2 years ago

Ok thank you sir for the reply

What if I make esp32 as STA and my wifi router as AP will I'm able to capture CSI data..??

However CSI is coming but I'm not able to download those data

Is there any solution for this.??

On Wed, Dec 8, 2021, 06:29 Steven M. Hernandez @.***> wrote:

Two esp32s is the recommended way with this tool. Yes.

It is possible to use a smartphone or an AP, but you will need advanced knowledge.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StevenMHernandez/ESP32-CSI-Tool/issues/30#issuecomment-988394003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWT7GPWRF54X6EIN5PTZMZ3UP2UY5ANCNFSM5CJWGEWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

StevenMHernandez commented 2 years ago

Yes, that should work too.

@kallu1294, I have already answered this question for you in the other thread 12 hours ago (#44) and in a different thread 9 days ago (#45).

At this point I am afraid that you are not being respectful of my help and my time. It also seems like you are not trying to debug these issues yourself.

kallu1294 commented 2 years ago

I'm trying sir 😕 CSV file is getting created but It is empty

On Wed, Dec 8, 2021, 10:23 Steven M. Hernandez @.***> wrote:

Yes, that should work too.

@kallu1294 https://github.com/kallu1294, I have already answered this question for you in the other thread 12 hours ago (#44 https://github.com/StevenMHernandez/ESP32-CSI-Tool/issues/44) and in a different thread 9 days ago (#45 https://github.com/StevenMHernandez/ESP32-CSI-Tool/issues/45).

At this point I am afraid that you are not being respectful of my help and my time. It also seems like you are not trying to debug these issues yourself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StevenMHernandez/ESP32-CSI-Tool/issues/30#issuecomment-988497647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWT7GPUU457LGK3TFGYMGXDUP3QE5ANCNFSM5CJWGEWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kallu1294 commented 2 years ago

In #44 serial port was an issue that was solved and at the end I mentioned that too csv file is empty 😕

On Wed, Dec 8, 2021, 10:25 kalamesh suladhal @.***> wrote:

I'm trying sir 😕 CSV file is getting created but It is empty

On Wed, Dec 8, 2021, 10:23 Steven M. Hernandez @.***> wrote:

Yes, that should work too.

@kallu1294 https://github.com/kallu1294, I have already answered this question for you in the other thread 12 hours ago (#44 https://github.com/StevenMHernandez/ESP32-CSI-Tool/issues/44) and in a different thread 9 days ago (#45 https://github.com/StevenMHernandez/ESP32-CSI-Tool/issues/45).

At this point I am afraid that you are not being respectful of my help and my time. It also seems like you are not trying to debug these issues yourself.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StevenMHernandez/ESP32-CSI-Tool/issues/30#issuecomment-988497647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWT7GPUU457LGK3TFGYMGXDUP3QE5ANCNFSM5CJWGEWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

kallu1294 commented 2 years ago

Yes, that should work too.

@kallu1294, I have already answered this question for you in the other thread 12 hours ago (#44) and in a different thread 9 days ago (#45).

At this point I am afraid that you are not being respectful of my help and my time. It also seems like you are not trying to debug these issues yourself.

literally sorry sir but I'm trying my best to figure it out, CSV file getting created but it is empty

StevenMHernandez commented 2 years ago

Closing old issues.