New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-S3 FTM fails with external station when c > 8 (IDFGH-7396) #8976
Comments
Tested again with same (Pixel phone), FTM Responder mode works fine with the ESP32-S3. FTM Initiator against the Nest wifi does not work. |
Error is within |
Also, unlike #6243 this is the case even after association with AP |
Tested again today with burst size = 8, the ranging works under this condition. Anything larger than 8 fails. Tested larger burst sizes with Pixel, and Pixel works without an issue. |
Also, the FTM routine has some kind of heap corruption issue. In the official FTM demo, first associate of an AP, type
Then do one round of FTM:
Note query now outputs garbage |
@nachiketkukade @sagb2015 @suda-morris Pinging because this is some kind of memory corruption that seems more serious than just FTM failure. |
Hi,
and with I dont want to open new issue, yet, but the result is offset by around 50+ meters. Devices about 10-20cm from each other:
the same test with +/-14 meters away (multiple tests, the same distance):
I tested with this commit, but i can try to update if needed: Thanks |
Some RTT observation:
board: esp32 S3 - wroom -1U devkit (Chip is ESP32-S3 (revision v0.1)) When responder is esp32S2 then offset is much lower (few cm away):
When initiator and responder, both are esp32 S2 then i see no distance offset. Thanks |
I have the same issue. |
Gently pinging after 1 year :) @sagb2015 Could we just open source the FTM part of the blobs and we can try fix these ourselves? |
Hi @NaivelyWritten, we are working on multiple issues related to FTM including this one. |
Hi @NaivelyWritten, @chegewara, @rgrunbla , Can you please try with following IDF patch: FTM_patch_v4.4.1.txt and WiFI libraries: ftm_esp32s3_libraries.zip We have added improvements along with modified logs to indicate if no FTM responses were received from the Responder. |
Hi @sarveshb14 we have moved from 4.4.1 and is now operating with v5.1-rc1 now |
Hi @NaivelyWritten , here are libraries (ftm_esp32s3_libraries_v5.1-rc1) and IDF patch (FTM_patch_v5.1-rc1.txt) for v5.1-rc1. |
Hi @NaivelyWritten , |
Hi @sarveshb14 I am currently not actively working on FTM anymore but I can test when I have time |
@NaivelyWritten / @ProfFan , we needed help on one more thing. Can you please confirm if the Google Nest Router is able to successfully perform FTM in 2.4GHz? You can check the channel/frequency in WifiRttScan App or share a sniffer capture of a Beacon of the AP in 2.4GHz. We have both Google Wi-Fi and Nest Wifi Pro AP's with us, but we found that both support FTM only in 5GHz. |
Closing due to no activity. The original issue was likely due to calibration issues similar to #6810 which was closed recently |
Environment
git describe --tags
to find it):// v4.4.1
xtensa-esp32-elf-gcc --version
to find it):// xtensa-esp32s3-elf-gcc (crosstool-NG esp-2021r2-patch3) 8.4.0
Problem Description
ESP32-S3 cannot measure distance to external Google Nest Router (router works with WifiRttScan).
Expected Behavior
It should work
Actual Behavior
Steps to reproduce
// If possible, attach a picture of your setup/wiring here.
Code to reproduce this issue
need to patch the console according to 3390d2a
Debug Logs
Other items if possible
build
folder (note this may contain all the code details and symbols of your project.) ftm.elf.gzThe text was updated successfully, but these errors were encountered: