当前位置:网站首页>RT thread learning
RT thread learning
2022-07-27 01:44:00 【Study happily】
drive wifi Link outside wifi
1. Download the package 
rw 007
2. Then configure , This place opens up 
3. And then configuration


This configuration 
Then you can see less than 23M
You can see that this place has taken effect 
4. Then compile and run
5. Then load 
Here are the possible problems :


Drive loading error
reason :
TF Card SPI With this SPI It's at an address 
Open this SPI

Note that different devices use the same SPI Configure the frequency
The above is the drive wifi Methods

For example, this is when different SD You need to configure different frequencies when you card , Otherwise go to SD card 
Configure the frequency here
Build a small network environment
utilize STA function 
link wifi, get IP Address 
Look at the host wifi Address , Check whether it can Ping Through own host .
without Ping through , You need to turn off some configurations of the firewall .

without ifconfig Of , explain AT The command is not open 
Then set the configuration tool 
Then configure the software package
Access onenet platform
https://open.lot.10086.cn/
Choose multi protocol access 
Then add products , Whatever you choose
Add equipment to the product :
It's OK whether it's public or private 
add to APIKey Just enter any character
give the result as follows :

That's all onenet A lot of devices have been added on , The next operation is to link the device to the platform

Search for onenet software package And add

The selected dependency is automatically selected
And then according to onenet Edit the information on to the configuration in the software package 

So enter the configuration item

Enter here to see the information master-APIkey
Copy this to the appropriate location 
Configuration complete
onenet The location of the package

link 
Device online
First wifi Command to connect to wifi get IP Address , Reuse onenet Command to connect 
Use this command to upload data 
Upload code 
Modify the code , Close after a certain number of uploads
You can also modify the contents , Upload different values
Refer to the finish command 
Component selection 

Some characters can be seen during data distribution
onenet Agreement is mqtt agreement 
Link successfully see this
边栏推荐
猜你喜欢
随机推荐
31正则表达式
System safety and Application
Paddleocr usage example
Mqtt protocol ----- above
Network foundation of software test interview questions
[SQL injection] error injection
五、Shell之条件语句
Shell (9) function
SSH and NFS services
Regular expression gadget series
Suggestions for beginners of MySQL (strongly recommended ~ don't regret ~ ~)
正则表达式
[SQL injection] extended injection method
25PXE高效批量网络装机
23NFS共享存储服务
DNS
Iptables firewall (II)
39安装 LNMP
Producer consumer model of concurrent programming
1101: numbers in reverse order (function topic)









