Tino Wifi Uart V0.03 wireless serial transparent transmissio

delong_z
Posts: 11
Joined: Fri Jan 23, 2015 4:11 pm

Tino Wifi Uart V0.03 wireless serial transparent transmissio

Postby delong_z » Mon Mar 09, 2015 11:50 am

If you want to use ESP8266 as a serial of transparent transmission application, but not to an external microcontroller to use the AT command to configure, then this firmware is very suitable for you!


/***************************************************
Tino Wifi Uart V0.03 wireless serial transparent transmission
//==================================================
IP access mode
AP (access from the TinoXXXXXX 192.168.4.1 AP)
STA (access from the LAN 192.168.x.xxx)
//==================================================
Transmission parameters:
Protocol port
UDP 1000
TCP 2000
Note: Work in TCP server mode, the user software using the TCP client to connection.
In UDP mode, at the first, you have to send a packet to port 1000 to establish the bidirectional communication.
How to use:
1, Use TCP protocol connect to port 2000 for serial data transmission.
2, Use UDP protocol send to port 1000 for serial data transmission.
//==================================================
The configuration parameters:
Protocol port
UDP 5000
TCP 80
SSID TinoXXXXXX
Password: 0123456789
Webserver user name:admin password:Tino
Provide three kinds of configuration methods:
1, Webserver web configuration (recommended): 192.168.4.1 (browser login access from TinoXXXXXX AP) or 192.168.x.xxx (access from LAN) configuration page.
2, Use TCP protocol send AT commands to port 80 to configuration.
3, Use UDP protocol send AT commands to port 5000 to configuration.
//--------------------------------------------------
Add serial configuration command

AT+CUUART? // query the current serial port configuration.
Return
+CUUART:115200,8,N,1
OK

AT+CUUART=9600,8,N,1,1 // set the serial port configuration.
Return
OK // the serial port configuration is set to Baudrate:9600 Databits:8 Parity:None Stopbits:1 SaveFlag:1

Explanation of parameters:
Baudrate 110~6000000 bps
Databits 5~8
Parity N None
E Even
O Odd
Stopbits 1~2
SaveFlag 0 Does not save. after the power off, restore previously saved configuration.
1 Saved configuration parameters. It will automatically load saved configuration when power on.
//==================================================
***************************************************/

V0.03 version description:
1, Fix UDP configuration AT+CIFSR and AT+CWLAP command returned message incomplete BUG.
2, Optimization of TCP/UDP transparent transmission performance, greatly reduce the packet loss rate. Allow send data to Serial port continuous.
3, Adjust the Webserver configuration interface, connected routing and connection status display increased.

V0.02 version description:
1, Add transmission status display, transparent transmission port traffic statistics.
2, Add login authentication. The user name:admin password:Tino
3, increase the command execution status display.

Known issues:
1, In the AP mode, some mobile phone connection is difficult, show "Is getting IP address......".
However, I tried to use the official original AT firmware, also so the same, I don't know why?
AT+GMR
AT version:0.22.b1.0
SDK version:0.9.6 (b1)
OK
2, Cloud upgrade function is not stable, there are often update failed. There may be a need to brush firmware to recover.

Please verify the existence of the problem.
If you find other BUG please timely feedback, in order to improve it.

The following is the advertising time:
Http://tlzd.taobao.com

QQ:357641612
delong_z@163.com

TinoElectronics
2015-3-7


====================================================


/***************************************************
Tino Wifi Uart V0.03 天龙无线串口透传
//==================================================
接入方式 IP
AP (从 TinoXXXXXX AP 接入) 192.168.4.1
STA(从 局域网 接入) 192.168.x.xxx
//==================================================
透传参数:
协议 端口
UDP 1000
TCP 2000
注: TCP 为服务器模式,用户软件使用 TCP 客户端方式连接。
UDP 模式下,你必须先向 1000 端口发送一个任意数据包建立双向通讯。
使用方法:
1、使用 TCP 协议连接 2000 端口进行串口数据透传。
2、使用 UDP 协议向 1000 端口进行串口数据透传。
//==================================================
配置参数:
协议 端口
UDP 5000
TCP 80
SSID: TinoXXXXXX
密码: 0123456789
Webserver 用户名 admin 密码 Tino
提供三种配置方法:
1、Webserver 网页配置(推荐): 浏览器登录 192.168.4.1(从 TinoXXXXXX AP 接入) 或 192.168.x.xxx(从 局域网 接入)的配置页面进行配置。
2、使用 TCP 协议向 80 端口发送 AT 命令进行配置。
3、使用 UDP 协议向 5000 端口发送 AT 命令进行配置。
//--------------------------------------------------
新增串口配置命令

AT+CUUART? //查询当前串口配置。
返回
+CUUART:115200,8,N,1
OK

AT+CUUART=9600,8,N,1,1 //设置串口配置。
返回
OK //将串口配置设置成 Baudrate:9600 Databits:8 Parity:None Stopbits:1 SaveFlag:1

参数说明:
Baudrate 110~6000000 bps
Databits 5~8 位
Parity N None
E Even
O Odd
Stopbits 1~2 位
SaveFlag 0:不保存,断电后失效,恢复上次保存的配置。
1:保存, 下次上电自动载入保存的配置参数。
//==================================================
***************************************************/

V0.03 版本说明:
1、修复 UDP 配置时,AT+CIFSR AT+CWLAP 命令返回的消息不完整的 BUG。
2、优化 TCP/UDP 透传性能,大大降低丢包率。串口允许连续不断发送数据。
3、调整 Webserver 配置界面,增加显示已连接的路由及连接状态。

V0.02 新增功能:
1、新增透传状态显示,透传端口流量统计。
2、新增登录验证。用户名 admin 密码 Tino
3、增加命令执行状态显示。

已知问题:
1、AP模式下,手机连接很困难,显示“正在获取IP地址……”。
不过,我试了使用官方的原版 AT 固件,也是如此,不知是何原因?
AT+GMR

AT version:0.22.b1.0
SDK version:0.9.6(b1)

OK

2、云升级功能还不是很稳定,有经常升级失败。有可能需要重刷固件才能恢复。
请各位验证是否存在上述问题。
如果发现其它 BUG 请及时反馈,以便改进。


可以合作开发 ESP8266 应用方案。


以下是广告时间:
Http://tlzd.taobao.com
QQ:357641612
delong_z@163.com

天龙电子
2015-3-7
Attachments
天龙串口透传(WEB配置 云升级 串口可配置 UDP_TCP透传)WifiUartV0.03 20150307.rar
Tino Wifi Uart V0.03 wireless serial transparent transmission fireware
(637.92 KiB) Downloaded 617 times
下载设置.png
download config
下载设置.png (38.86 KiB) Viewed 5965 times
透传性能测试.png
transparent transmission test
透传性能测试.png (15.96 KiB) Viewed 5965 times
透传性能测试 256000 下可达200Kbps.jpg
transparent transmission performance test, send data to Serial port continuous
透传性能测试 256000 下可达200Kbps.jpg (458.7 KiB) Viewed 5965 times
WEB配置界面.png
webserver config page
WEB配置界面.png (44.4 KiB) Viewed 5965 times

jayc75
Posts: 23
Joined: Sun Feb 15, 2015 6:44 pm

Re: Tino Wifi Uart V0.03 wireless serial transparent transmi

Postby jayc75 » Fri Mar 13, 2015 1:01 am

Hi there,
the following AT command doesn't update the AP Name and Config any ideas?
AT+CWSAP="TestingAP","0123456789",5,0

also i'm not receiving any traffic on TCP port 80 even after I set the AT+CIPSERVER=1,80

isn't that traffic suppose to go to my microcontroller and if I don't reply then the internal web server should kick in?

how do I listen to Multicast packets on UDP IP 239.255.255.250 Port 1900?

I appreciate your help :)

thank you.

PicoPi
Posts: 3
Joined: Tue Feb 16, 2016 12:31 am

Re: Tino Wifi Uart V0.03 wireless serial transparent transmissio

Postby PicoPi » Thu Feb 18, 2016 12:41 am

no speaky Chinglish.

Who is online

Users browsing this forum: No registered users and 3 guests