ESP32-CSI-Tool icon indicating copy to clipboard operation
ESP32-CSI-Tool copied to clipboard

Active_ap mode: CSI collection process not smooth

Open tusharjain1003 opened this issue 2 years ago • 10 comments

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

  • Baud Rate: 1552000
  • WiFi Channel per Device: 6
  • FreeRTOS > Tick rate (Hz): 1000

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.

tusharjain1003 avatar Aug 17 '21 11:08 tusharjain1003

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.

StevenMHernandez avatar Aug 23 '21 19:08 StevenMHernandez

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.??

kallu1294 avatar Dec 03 '21 05:12 kallu1294

@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.

StevenMHernandez avatar Dec 07 '21 16:12 StevenMHernandez

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.

kallu1294 avatar Dec 07 '21 18:12 kallu1294

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.

StevenMHernandez avatar Dec 08 '21 00:12 StevenMHernandez

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.

kallu1294 avatar Dec 08 '21 04:12 kallu1294

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.

StevenMHernandez avatar Dec 08 '21 04:12 StevenMHernandez

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 avatar Dec 08 '21 04:12 kallu1294

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 avatar Dec 08 '21 05:12 kallu1294

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

kallu1294 avatar Dec 08 '21 05:12 kallu1294

Closing old issues.

StevenMHernandez avatar Oct 17 '22 20:10 StevenMHernandez