Is there any API to get the AP's beacon interval ?

mhctom
Posts: 2
Joined: Tue Jul 14, 2020 2:56 am

Is there any API to get the AP's beacon interval ?

Postby mhctom » Thu Jul 23, 2020 6:12 am

Hi,

We can see that there are debug message on the ESP32 console to show the wifi connection status and information.
It has information like below:

I (1039) wifi:mode : sta (24:0a:c4:1d:1e:60)
I (1279) wifi: new:<2,0>, old:<1,0>, ap:<255,255>, sta:<2,0>, prof:1
I (2049) wifi:state: init -> auth (b0)
I (2059) wifi:state: auth -> assoc (0)
I (2069) wifi:state: assoc -> run (10)
I (2099) wifi:connected with TP-Link_9A90, aid = 2, channel 2, BW20, bssid = 0c:80:63:df:9a:8f
I (2099) wifi:security type: 3, phy: bgn, rssi: -43
I (2099) wifi:pm start, type: 2
I (2189) wifi:AP's beacon interval = 102400 us, DTIM period = 1


Is there any API to get the beacon interval ?
Thanks.
Tom

Who is online

Users browsing this forum: JessPinkman, Pschibly and 30 guests