Method to retrieve current wifi AP channel

rwel59
Posts: 97
Joined: Thu Oct 12, 2017 3:32 pm

Method to retrieve current wifi AP channel

Postby rwel59 » Fri Oct 08, 2021 1:20 pm

I need to get the channel of the connected AP. Is this info available without disconnecting then scanning?

rwel59
Posts: 97
Joined: Thu Oct 12, 2017 3:32 pm

Re: Method to retrieve current wifi AP channel

Postby rwel59 » Fri Oct 08, 2021 10:28 pm

found it. esp_err_t esp_wifi_get_channel(uint8_t *primary, wifi_second_chan_t *second)

Who is online

Users browsing this forum: No registered users and 329 guests