完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好!
我有一个问题,几个月来我一直在努力解决这个问题。请参阅下面的问题,并希望听取其他专家的意见。 TCP套接字断开问题 WiFi模块:BCM4390 SPIL模块(SB—WM N03) SW版本和平台:WICDE3.1.2 SDK中的BCM94390WCD2 -TCP堆栈:NETXX-DIO 发行细节:我们的设备与WiFi模块传输1023字节数据在每220MS到控制平板电脑(基于Android的操作系统)。在传输过程中,TCP套接字发生故障,数据传输停止。当TCP套接字断开时,通过ping检查,设备和平板WiFi连接仍然存在。 当我们检查了WiFi模块的日志时,我们观察到“WICEDDUTCPPsEnthUpLoad失败!!!!-“1”信息。由于它是基于MCU的嵌入式系统,我们无法从平台上获得TCP转储,但是我们可以捕获WiFi日志,并且可以检查TCP信令。从不同的WiFi日志中,我们观察到大约3秒发生的传输停止,结果,TCP栈结束了重新连接。 -频率问题:在正常办公环境中发生的问题。当它发生时,它在一两个小时内发生一次。 -对这个问题的看法:我们怀疑WiFi模块在特定时刻奇怪地行为并丢失数据包;因此,TCP堆栈断开。当断线发生时,我们可以使SW重新连接;但是,我们不能停止在我们的应用中非常重要的数据丢失。这个不稳定的问题对我们的项目是非常严重的,希望找到解决方案,或者努力避免丢失数据包。 设备WiFi Mac:B2:38:29∶21:2D:5C(IP:192.1680.1) 平板WiFi Mac:94:76:B7:A7:15:75(IP:192.1680.2) WiFi安全:在开放模式下测试。 6MbPs提取包装 292.9 K 以上来自于百度翻译 以下为原文 Hi I have an issue which I have been struggling to resolve for a couple of months. Please see below issue and wish to hear some advices from other experts. TCP Socket disconnection Issue -WiFi Module : BCM4390 SPIL module (SB–WM-N03) -SW version and platform: BCM94390WCD2 in the WICED 3.1.2 SDK -TCP Stack: NetX_duo -Issue details: Our device with wifi module transfers 1023byte data in every 220ms to the control tablet (Android based OS). During the transmission, TCP socket failure happens and data transmission stops. When the TCP socket is disconnected, device and Tablet wifi connection is still alive by checking with ping. As we checked the log from the wifi module, we observed "wiced_tcp_send_buffer fail!!! –1" message. We could not get the tcp dump from the platform since it is MCU based embedded system but we could capture wifi log and could check the TCP signaling. From the various WiFi logs, we observed transmit stoppage happened for about more than 3 seconds and as a result, TCP stack ended up reseting the connection. -Frequency of the issue: The issue happened in normal office environment. When it happens, it happens once in one or two hours. -Opinion on the issue: We suspect that somehow the WiFi module behaves strangely on that specific moments and loses packets; as a result, the TCP stack is disconnected. We can make the SW reconnect when the disconnection happens; however, we can not stop losing the data which is very important in our application. This instability issue is very serious to our project and hope to find a solution or work around not to lose the packets. Device wifi Mac: B2:38:29:21:2d:5c (IP: 192.168.0.1) Tablet WiFi Mac: 94:76:B7:a7:15:75 (IP: 192.168.0.2) Wifi Security: Tested in open mode. |
|
相关推荐
3个回答
|
|
你在WSDRSDK 3.7.0到7中观察到这个问题吗?
以上来自于百度翻译 以下为原文 Do you observe this issue in WICED SDK 3.7.0-7? |
|
|
|
在3.7.0到7,我们不能使软AP工作,因此我们不能尝试这个。 以上来自于百度翻译 以下为原文 In 3.7.0-7, we could not make the soft AP work and therefore we could not try this. |
|
|
|
如果SoTAP被提出来,你能检查一下SNIP.APSTA吗?如果失败,检查WICEDDYNETWorkJUP的返回值(WICDEDIAAPIOFFICE,WICEDIXUSEIONALALL DHCPAL服务器,和APPIPIB设置); 以上来自于百度翻译 以下为原文 Could you check with snip.apsta if the softAP is brought up? If it fails, check the return value of wiced_network_up(WICED_AP_INTERFACE, WICED_USE_INTERNAL_DHCP_SERVER, &ap_ip_settings); |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2111 浏览 1 评论
1858 浏览 1 评论
3673 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1792 浏览 6 评论
1540 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
579浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
432浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
441浏览 2评论
391浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
965浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-28 22:54 , Processed in 1.012370 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号