Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
添加使用说明
Browse files Browse the repository at this point in the history
  • Loading branch information
while0l1 committed Apr 18, 2019
1 parent 7d4ec60 commit 48c9bb0
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion readme.md
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
``退出配置模式,更新配置``

0 comments on commit 48c9bb0

Please sign in to comment.