Problem with connecting to Cisco AIR-AP1852l-E-K9 (NONOS SDK 3.0.4)

pzygmunt
Posts: 1
Joined: Tue Jan 26, 2021 8:46 pm

Problem with connecting to Cisco AIR-AP1852l-E-K9 (NONOS SDK 3.0.4)

Postby pzygmunt » Tue Jan 26, 2021 9:03 pm

Hi. So far I have used the NONOS SDK version 1.5.4. I am currently switching to NONOS SDK 3.0.4. Initially, everything was going well, but now I am facing some problems. I have a case where the previous version had no problem with the Cisco AIR-AP1852l-E-K9 AP. Using SDK 3.0.4 refuses to connect.

In the logs, I can see the following difference:
NONOS 1.5.4:

scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)

NONOS 3.0.4

scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 0 (12)
reconnect

In the case of 3.0.4, wifi_station_get_connect_status () still returns STATION_CONNECTING.

Does any of you know what "state: 3 -> 0 (12)" means?

Her Mary
Posts: 494
Joined: Mon Oct 27, 2014 11:09 am

Re: Problem with connecting to Cisco AIR-AP1852l-E-K9 (NONOS SDK 3.0.4)

Postby Her Mary » Thu Jan 28, 2021 5:19 pm

You can try to call esp_wifi_set_protocal(0, 7) in the Wi-Fi start event.
But if you are work on a new project, maybe the best way is to use RTOS SDK..

Who is online

Users browsing this forum: No registered users and 1 guest