Search found 9 matches

by JJ8428
Sun Nov 26, 2023 12:31 am
Forum: General Discussion
Topic: Wifi CSI concept question
Replies: 1
Views: 2802

Re: Wifi CSI concept question

Ok, I think I know what to do now. An array of consecutive CSI measurements by itself carries no meaning. We only see each carrier's performance over time as term CSI(t). We can then apply FFT to each carrier to get the CFR matrix; The CFR matrix is a frequency domain representation of our CSI data....
by JJ8428
Sat Nov 25, 2023 11:31 pm
Forum: General Discussion
Topic: Wifi CSI concept question
Replies: 1
Views: 2802

Wifi CSI concept question

Hello, I only have a conceptual question. Suppose I am recording wifi CSI data where I keep the 100 most recents frames of wifi CSI data in an array. So row 1 represents wifi CSI at frame 't' (now), row 2 is the CSI data previously recorded so on and so forth. How would one get CIR and CFR from this...
by JJ8428
Fri Oct 13, 2023 5:11 am
Forum: General Discussion
Topic: ESP Wifi Concept Question
Replies: 1
Views: 2256

ESP Wifi Concept Question

Hello to anyone reading this. I am working on an indoor localization project that utilizes Wifi FTM. I have a particular question that is more concept based. I know that the ESP32 boards are capable of performing Wifi FTM and gathering Wifi CSI. I just ask it possible to perform wifi FTM and CSI at ...
by JJ8428
Wed Aug 16, 2023 12:28 am
Forum: ESP-IDF
Topic: Wifi FTM stops after 2 or 3 minutes
Replies: 3
Views: 1767

Re: Wifi FTM stops after 2 or 3 minutes

Fixed the data leak. It took me for a while but I have to delete the FTM report even though I never use it? #include "freertos/FreeRTOS.h" #include "freertos/event_groups.h" #include "esp_event.h" #include "esp_log.h" #include "esp_err.h" #include "esp_wifi.h" #include "esp_mac.h" #include "nvs_flas...
by JJ8428
Fri Aug 11, 2023 4:39 pm
Forum: ESP-IDF
Topic: Wifi FTM stops after 2 or 3 minutes
Replies: 3
Views: 1767

Re: Wifi FTM stops after 2 or 3 minutes

Just an update to anyone coming across from this, I did some more experimentation and I found out the culprit is the FTM initiator. FTM initiator has a data leak and I isolated the line causing the issue: bits = xEventGroupWaitBits(s_ftm_event_group, FTM_REPORT_BIT | FTM_FAILURE_BIT, pdTRUE, pdFALSE...
by JJ8428
Thu Aug 10, 2023 4:54 pm
Forum: ESP-IDF
Topic: Wifi FTM stops after 2 or 3 minutes
Replies: 3
Views: 1767

Wifi FTM stops after 2 or 3 minutes

Hey, I have 2 ESP32s2 on my hand. One is acting as an initiator. The other is acting as the responder. The wifi FTM works for a while, however, after 2 or 3 minutes, the FTM stops. I'm not exactly sure what is going on. I don't believe my code has any data leaks, and I browsed the forums to find a s...
by JJ8428
Sat Aug 05, 2023 2:46 pm
Forum: ESP-IDF
Topic: ESP32 app_main() loop
Replies: 2
Views: 2078

Re: ESP32 app_main() loop

Thank you for your input.
by JJ8428
Fri Aug 04, 2023 5:10 am
Forum: ESP-IDF
Topic: ESP32 app_main() loop
Replies: 2
Views: 2078

ESP32 app_main() loop

This is some code I wrote for my ESP32S2. I am a bit slow since I am learning C and the ESP-IDF framework at the same time. The purpose of this code is supposed to a Wifi FTM Responder. I plan on writing code for the Wifi FTM Initiator that checks the distance every quarter second in the future. In ...
by JJ8428
Fri Jul 28, 2023 3:14 am
Forum: ESP32 Arduino
Topic: Example Wifi FTM Issues
Replies: 0
Views: 4163

Example Wifi FTM Issues

I currently hold 2 ESP32 S2 Dev Modules. I have been able to connect them to my computer with the proper cords, drivers, and etc. I also have the latest necessary packages installed in the Arduino IDE (Specifically, esp32 by espressif (Version 2.0.11). https://github.com/espressif/arduino-esp32/blob...