Wifi FTM and external APs

joel7uma
Posts: 2
Joined: Wed Jun 23, 2021 7:24 am

Wifi FTM and external APs

Postby joel7uma » Wed Jun 23, 2021 7:36 am

Hi, I have a google wifi router that support Wifi FTM. I found the information below in ftm example code and I don't know if I can use my ESP32-S2 as FTM initiator with external APs. Is this implemented yet? I am using ESP-IDF v4.3 stable.

"Currently FTM is only supported in below configuration:
Station as Initiator and SoftAP as Responder on supported ESP devices
Station as Initiator and an external AP that supports FTM in Responder mode The first option should be preferred since ESP devices are self calibrated for high resolution measurement. FTM Responder support for external Stations and ASAP mode will follow in future updates." -> https://github.com/espressif/esp-idf/tr ... s/wifi/ftm

joel7uma
Posts: 2
Joined: Wed Jun 23, 2021 7:24 am

Re: Wifi FTM and external APs

Postby joel7uma » Fri Jun 25, 2021 4:19 pm

I flashed the example code sucefully. WIth the command scan I see all AP but the FTM support of the google wifi is not reconigsed by esp32-s2. I've got 3 google router ("Google Pisito").

ftm> scan
I (4770336) ftm_station: sta start to scan
I (4772436) ftm_station: [Google Pisito][rssi=-41]
I (4772436) ftm_station: [Google Pisito][rssi=-41]
I (4772436) ftm_station: [Google Pisito][rssi=-49]
I (4772446) ftm_station: [MIWIFI_RuGh][rssi=-57]
I (4772446) ftm_station: [MIWIFI_RuGh_EXT][rssi=-72]
I (4772456) ftm_station: [MIWIFI_2G_mKcH][rssi=-87]
I (4772456) ftm_station: [VIRGIN-telco_7470][rssi=-87]
I (4772466) ftm_station: [vodafone1244][rssi=-89]
I (4772466) ftm_station: [MOVISTAR_B612][rssi=-90]
I (4772476) ftm_station: [MiFibra-61AA][rssi=-91]
I (4772476) ftm_station: [TP-Link_C224][rssi=-91]
I (4772486) ftm_station: [vodafoneBA1465][rssi=-92]
I (4772486) ftm_station: [WIFI-1A][rssi=-92]
I (4772496) ftm_station: [TP-Link_6826][rssi=-93]
I (4772506) ftm_station: [WIFI-1B][rssi=-94]
I (4772506) ftm_station: sta scan done


ftm> ftm -I -s "Google Pisito"
I (4138426) ftm_station: Requesting FTM session with Frm Count - 32, Burst Period - 200mSec (0: No Preference)
I (4138446) ftm_station: FTM procedure with Peer(3c:28:6d:b2:e2:b4) failed! (Status - 2)

crackwitz
Posts: 10
Joined: Fri Oct 22, 2021 11:15 am

Re: Wifi FTM and external APs

Postby crackwitz » Thu Nov 18, 2021 11:54 am

According to https://people.csail.mit.edu/bkph/ftmrtt_aps Google WiFi only does FTM on the 5 GHz band, not the 2.4 GHz one. ESP32 currently only do 2.4 GHz WiFi.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 109 guests