-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from whj4674672/master
【升级】sdk 版本到 V1.0.0
- Loading branch information
Showing
6 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# ART-PI-WIFI 设计思想 | ||
|
||
在开发板上使用 WIFI 的时候,每次板子重新上电都要输入 `wifi join` 命令来实现连接到无线路由器,作为一名程序员来说,能让机器自动做的事情,绝对不会让自己来,所以该例程主要在实现 WIFI 的基本功能之上,增加了断电之后自动重连的功能。 | ||
|
||
## 设计与实现 | ||
|
||
### 思路 | ||
|
||
 | ||
|
||
### 实现 | ||
实现依赖: | ||
- drv_wlan 框架 | ||
- easyflash | ||
|
||
实现流程: | ||
|
||
WLAN 框架底层已经实现保存 WIFI 信息自动重连机制,用户只需完成以下接口即可: | ||
|
||
1. `easyflash_init();` 初始化easyflash | ||
2. `rt_wlan_cfg_set_ops(&ops);` 对接保存数据接口 | ||
3. `rt_wlan_cfg_cache_refresh();` 更新保存数据 | ||
4. `rt_wlan_config_autoreconnect(RT_TRUE);`启动自动连接 | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.