[feature request]: Get the current connected WiFi protocol

farizadp
Posts: 2
Joined: Wed Nov 15, 2017 1:58 pm

[feature request]: Get the current connected WiFi protocol

Postby farizadp » Wed Nov 15, 2017 2:03 pm

Hello,

Is it possible to add functions to get the current associated WiFi protocol (b/g/n)? for both AP and ST mode?
I looked at the wifi stack debug messages that it prints out the WiFi protocol, but could not find this in the source code.

I (25462) wifi: n:1 0, o:1 0, ap:1 1, sta:0 0, prof:1
I (25462) wifi: station: 84:3a:4b:08:2c:d8 join, AID=1, n, 20
I (50202) wifi: station: 84:3a:4b:08:2c:d8 leave, AID = 1
I (50202) wifi: n:1 0, o:1 0, ap:1 1, sta:0 0, prof:1
I (116442) wifi: n:1 0, o:1 0, ap:1 1, sta:0 0, prof:1
I (116442) wifi: station: 84:3a:4b:08:2c:d8 join, AID=1, b, 20
I (138902) wifi: station: 84:3a:4b:08:2c:d8 leave, AID = 1
I (138902) wifi: n:1 0, o:1 0, ap:1 1, sta:0 0, prof:1

FYI: I also posted this question in the esp-idf github under [TW#16434].

Regards,
Dion

Who is online

Users browsing this forum: Baidu [Spider], Phillip and 91 guests