Read TSF from an ISR in a SoftAP?

geedotk
Posts: 8
Joined: Sat Feb 04, 2023 9:39 pm

Read TSF from an ISR in a SoftAP?

Postby geedotk » Thu Sep 14, 2023 10:48 pm

Is there any safe way to read the SoftAP TSF value from within an ISR? If I'm running STA code, I have been able to call esp_mesh_get_tsf_time from within an ISR and I haven't seen any problems. However, if I'm running SoftAP code, I can't call esp_wifi_get_tsf_time(WIFI_IF_AP) from within an ISR or it causes problems maintaining a connection. Is there any other way of reading the SoftAP TSF?

Who is online

Users browsing this forum: VinayDand and 465 guests