This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,30 @@ | ||
# UART2TCP | ||
## 一个利用esp8266,将串口数据通过TCP发送出去的程序 | ||
## 简介 | ||
### 一个利用esp8266,将串口数据通过TCP发送出去的程序 | ||
|
||
## 下载地址 | ||
|
||
|
||
## 使用方法 | ||
- 使用固件烧录软件进行烧录 | ||
- 固件默认为TCP服务器模式,IP地址为``192.168.5.2``,端口为``8266`` | ||
- 默认SSID为``UART2TCP``,密码为``1234567890`` | ||
- 默认波特率为``9600`` | ||
- 需要修改配置,可以用串口调试软件输入``:Setting``进入配置模式。具体配置命令请参考下文(注意:当前版本的固件未能断电保存配置) | ||
|
||
|
||
## 配置命令及说明 | ||
## 所有命令对大小写敏感 | ||
- :Setting | ||
``模块上电或复位后,输入此命令即进入配置模式,串口助手光标会变为>`` | ||
### 以下命令仅在配置模式下才有效 | ||
- SSID: | ||
``设置热点名字,如将热点名字设置为UART2TCP,可输入:SSID:UART2TCP`` | ||
- PSW: | ||
``设置热点密码,如将密码设置为"1234567890",可输入:PSW:1234567890`` | ||
- PORT: | ||
``设置TCP服务器端口,如将端口设置为8266,可输入:PORT:8266`` | ||
- BAUD: | ||
``设置串口波特率,如将波特率设置为9600,可输入:BAUD:9600`` | ||
- EXIT | ||
``退出配置模式,更新配置`` |