W801, Receive command updates using Bluetooth wifi Failed to reconnect the account and password

Publish in 2022-04-13 16: 29: 08

[1] I'm in the main program Usermain A new task is created to perform other operations, Figure I, At the same time, enable Bluetooth and configure the Bluetooth network.
Comment out the task, Capable of normal switching wifi, But when the task exists, Will lead to wifi Link failure. Not sure how to solve it.
3. png
1. png
2. png

[2] Follow me in the original sdk Test in, Directly on usermain inwardly wifi Link switching test, Require in demo_connect_net the wifi_disconnect Add a delay later to complete the normal switching. And the original pass t-connect Commands to switch between different networks are normal.
4. png
5. png

See more

follower
0
Be viewed
2. 1k
abcd
abcd 2022-04-14
I'm just an old man passing by~

Because of you this while (1) {}Enough to kill all the missions

3 Multiple replies
isme
isme Certified specialist 2022-04-13
Chilled big watermelon

1. Active networking handover WIFI Can be called first tls_wifi_disconnect () ; Interface disconnect network.
2. I don't think your current process is very reasonable, Under normal circumstances, It is best for the module to enter the distribution network mode through a trigger mechanism similar to the key, The automatic reconnection function is enabled after the network is successfully configured, If the module is disconnected or powered on, it can be automatically reconnected WIFI, And when you want to switch WIFI Network time, You can enter the distribution network mode again by pressing keys or other trigger mechanisms.

SK2024
SK2024 2022-04-13
This guy is lazy, Nothing written!

Just a follow-up question, discover sdk interior wifi Link function, The link will fail after the task starts, Success can be linked both before and during the task
6. png
7. png

Write an answer

Please login to post your answer, Click to log in

publish
problem

Share
Friend

Cell phone
browse

Scan code mobile browsing