RM08K Ap模式下tcp延迟过高

发布于 2024-05-08 16:58:34

配置如下:
[16:49:58.873] at+Netmode=3
[16:49:58.973] at+Dhcpc=1
[16:49:59.073] at+DhcpdIpStart=192.168.18.100
[16:49:59.173] at+DhcpdIpStop=192.168.18.250
[16:49:59.273] at+DhcpdMask=255.255.255.0
[16:49:59.373] at+DhcpdTime=86400
[16:49:59.473] at+APSsid=HLK
[16:49:59.573] at+APEncType=6
[16:49:59.673] at+APPasswd=12345678
[16:49:59.773] at+LANIp=192.168.18.254
[16:49:59.873] at+LANIpMask=255.255.255.0
[16:49:59.973] at+NProType0=1
[16:50:00.073] at+NLPort0=80
[16:50:00.173] at+uartpacklen=2048
[16:50:00.273] at+NPackITime=1
[16:50:00.374] at+NPackTime=2
[16:50:00.473] at+uartpacktimeout=1
[16:50:00.573] at+NPackLen=512
[16:50:00.673] at+Save=1
[16:50:00.673]
[16:50:00.673] at+Apply=1
[16:50:00.673]
[16:50:00.673] at+Reboot=1

这是串口接收和发送,6ms后发送回复"OK"
无标题.png
这是tcp客户端,100ms后才收到
12914FF7-5C27-4698-9FD1-4698154D872E.png

如何改善延迟?20-30ms的收发

查看更多

关注者
0
被浏览
191
1 个回答
hlktech
hlktech 认证专家 2024-05-09
This guy hasn't written anything yet

可以从几个方面做下调整试一下:
1 调整串口组帧长度和组帧时间。
at+uartpacktimeout
t+NPackLen
2 换一个WIFI信道不繁忙不拥挤的信道

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览