rt-thread / w601_iot_board Goto Github PK
View Code? Open in Web Editor NEWIoT Board SDK with WinnerMicro W601
License: Apache License 2.0
IoT Board SDK with WinnerMicro W601
License: Apache License 2.0
rtt的ds18b20/dht11等基于单总线协议的package, 均使用rt_hw_us_delay进行us级延时
当前没有w60x官方实现的rt_hw_us_delay, 所以会回落到RT_WEAK默认实现, 也就是基于stm32的实现, 编译时必然报错.
希望能提供rt_hw_us_delay的官方实现
原因: 由于例程包比较大, github速度不太稳定, 建议提供基于 gitee 的镜像远端
使用的是星通智联的TW-03模组,运行16_iot_wifi_manager例程时不停重启,已经更改过rtconfig.h里面的宏为#define SOC_W600_A8xx
先使用自带的AT固件,可以扫描到ap信息并连接,AT 固件log如下所示:
AT+CWLAP
+CWLAP:(4,"浜旀ゼ鏃犵嚎缃戠粶",-89,"24:69:68:ed:43:38",1)
+CWLAP:(4,"www.ghtech.cn",-51,"c8:3a:35:74:51:20",2)
+CWLAP:(4,"CMCC-QeZM",-59,"f8:48:fd:b1:c8:a8",2)
+CWLAP:(3,"PDCN",-52,"74:7d:24:ea:45:be",6)
+CWLAP:(0,"TP-LINK_F55C",-85,"50:bd:5f:73:f5:5c",6)
+CWLAP:(4,"yitai123",-93,"c8:3a:35:6d:6b:28",10)
OK
AT+CWJAP="www.ghtech.cn","123wu123"
WIFI CONNECTED
WIFI GOT IP
OK
然后下载此sdk的16_iot_wifi_manager例程,rtconfig.h中的宏已更改为w600 使用wifi scan命令 只扫描到一个ap, log如下:
CCCCCCC[SFUD]Warning: Read SFDP parameter header information failed. The norflash is not support JEDEC SFDP.
[SFUD]Warning: This flash device is not found or not support.
[SFUD]Warning: Read SFDP parameter header information failed. The norflash is not support JEDEC SFDP.
[SFUD]Warning: This flash device is not found or not support.
[SFUD]Error: norflash flash device is initialize fail.
[I/FAL] RT-Thread Flash Abstraction Layer (V0.4.0) initialize success.
[E/OTA] (ota_main:41) download partition is not exist, please check your configuration!
[D/OTA] (ota_main:105) jump to APP!
redirect_addr:8010100, stk_addr:20002468, len:851968
\ | /
sysfwl d8:32:14:b4:ee:a0 WPA2_MIXED_PSK -91 1 300
[D/main] start to connect ap ...
[E/WLAN.mgnt] F:rt_wlan_scan_with_info L:1802 scan wait timeout!
[E/WLAN.mgnt] F:rt_wlan_scan_with_info L:1802 scan wait timeout!
[W/WLAN.mgnt] F:rt_wlan_connect L:1091 not find ap! ssid:www.ghtech.cn
[E/main] The AP(www.ghtech.cn) is connect failed!
[D/main] ready to disconect from ap ...
[E/WLAN.mgnt] F:rt_wlan_disconnect L:1250 disconnect failed!
[D/main] start to autoconnect ...
msh />
msh />
msh />wifi scan
SSID MAC security rssi chn Mbps
sysfwl d8:32:14:b4:ee:a0 WPA2_MIXED_PSK -91 1 300
五楼无线网络 24:69:68:ed:43:38 WPA2_MIXED_PSK -93 1 450
msh />
msh />
msh />wifi scan
[E/WLAN.mgnt] F:rt_wlan_scan_with_info L:1802 scan wait timeout!
SSID MAC security rssi chn Mbps
msh />wifi scan
[E/WLAN.mgnt] F:rt_wlan_scan_with_info L:1802 scan wait timeout!
SSID MAC security rssi chn Mbps
msh />wifi scan
SSID MAC security rssi chn Mbps
sysfwl d8:32:14:b4:ee:a0 WPA2_MIXED_PSK -93 1 300
msh />
msh />
msh />
扫描到的这两个ap 信道都是1 而且有时候能扫到 有时候又没有
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.