Esp-idf: [TW#16434] [feature request]: Get the current connected WiFi protocol (b/g/n)

Created on 10 Nov 2017  路  11Comments  路  Source: espressif/esp-idf

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

Regards,
Dion

All 11 comments

@FayeY , just out of my curiosity. You added the TW hashtag in the title. What does the TW# stands for?

Hi, it is an issue ID in our internal issue tracking system.

@farizadp We will add this feature as soon as possible.

@zhangyanjiaoesp Thanks !! Do you know an ETA for this?

may be 1~2 months

Hello,

Is there anyone who can give any update on this feature request?

Thanks
Dion

@farizadp I'm sorry we have so many things to do, so this feature was delayed. We will finish this in one week.

Hello.

Any update regarding this ?

Thanks,
Dion

@farizadp the code has been finished, but we have something else to be merged together, so it still need some time.

Has merged. Please have a try with the latest IDF.

Do you have the commit hash? or commit description?

Was this page helpful?
0 / 5 - 0 ratings