-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Fail ESP32S2 FTM test with Android Smartphone. (IDFGH-5024) #6810
Comments
@TeiShim Hi, can you use the sniffer probe to capture FTM? Can you tell me the format of the captured FTM packet? |
@zhangyang428 Hi, Zhang Yang. Yes, we can capture FTM packets with Wireshark as you can see: https://www.wireshark.org/ |
@TeiShim Thanks! I need further information for FTM frame. Can you share how you capture these data frames? My email address: |
@TeiShim Thanks for your help! I also tried to capture frames of FTM, but not as informative as yours. For example, in the data frames that I've captured, there aren't Radiotap Header v0 or 802.11 radio information. How do you capture this information? Do you turn on some options before capturing a data frame? |
@zhangyang428 Sorry for late responding. This webpage will be help you. |
@TeiShim , as discussed on the ESP32 Forum thread, we're planning to include support for this configuration in IDF v4.3.1. I'll provide an update when this version is released. |
@nachiketkukade |
@nachiketkukade |
I just tried this again with esp-idf master from today, an esp32-c2 (S2 of course), and a Google Pixel 4a running Google's Something's still not quite right, but I can't tell right now if it's the google app's fault, or ESP, or both. Behavior: phone/app gets no measurements while disconnected, but does get measurements as soon as it's connected to any AP. The phone doesn't have to connect to that ESP32-C2 (S2 of course) AP. FTM sessions to the FTM-capable softAP succeed even if the phone's wifi connects to another non-FTM-capable regular ESP32 that runs a softAP. I currently don't have FTM-capable APs at hand. I think the app managed to FTM to one of those without needing to be connected to any access point, but I might be mistaken. Update: that's a definite phenomenon. With my Android I can FTMI to various access points (Linksys Velop for example), without needing the phone to be connected to any AP... but FTMI to my ESP32-C2 (S2 of course) only yields data on the phone if the phone is connected to any AP. Also, things seem to be glitchy, failing for half the sessions, both with MIT's That makes me think it's not about the phone connecting to any AP, but the ESP32 needing to see the phone sending anything on wifi (other than the session initiation) to respond to it... it's strange and I'm just generating hypotheses. |
@crackwitz , I guess you mean ESP32-S2. I re-tested with the Pixel with no connection, and yes, there seems to be some issue there. Protocol wise there seems to be nothing different going on with or without the connection, but the issue is not there with the Velop AP. I also tested with Mi 11X Pro, it doesn't have this issue, could be some quirky behaviour due to different implementations. Regardless, I'll investigate further and update. |
@TeiShim , yes, the support is there in v4.3.1. Can you pls confirm which Smartphone you tested with? |
Just thought I should mention the phenomenon. I don't actually need Android and ESP32 to cooperate. That's just a convenient way to check a few things. |
An update to anyone interested - we've done more tests with Pixel devices and fixed some issues. Changes are expected to merge in coming weeks. |
Thank you @nachiketkukade, Is this FTM function able to use in 5GHz with ESP32-C5? |
@TeiShim , support for FTM in 5GHz for C5 is planned |
Off topic but perhaps related: are there plans for 802.11ba Wake-Up Radio (WUR, "Wake on WLAN") in the C5 or P4 or other series? |
When I tested FTM on ESP32-S2(AP) with Android Smartphone(STA), I could see the FTM response message, but can NOT catch the results of RTT from ESP32-S2 AP as following link:
https://esp32.com/viewtopic.php?f=13&t=19919&sid=54c30292f4b42a7f805f9db8351182f7
Do you have a plan that updating successfully the FTM test with Android ?
ref) https://source.android.com/devices/tech/connect/wifi-rtt
BRs,
Taehyoung Shim
The text was updated successfully, but these errors were encountered: