完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
MQTT发送/接收过程中,出现I (1637618) wifi: bcn_timout,ap_probe_send_start错误,之后wifi重新连接一直失败!
I (1631728) BED_MQTT: {"data":"01010F0011"}I (1632138) BED_MQTT: mqtt_event (6)I (1632138) BED_MQTT: {"data":"010108000A"}I (1635268) BED_MQTT: tape data: 21 01 03 16 3BI (1635268) BED_MQTT: esp mqtt client public msg_id=0I (1635308) BED_MQTT: mqtt_event (6)I (1635308) BED_MQTT: {"data":"010109000B"}I (1635318) BED_MQTT: mqtt_event (6)I (1635318) BED_MQTT: {"data":"01010A000C"}I (1635428) BED_MQTT: mqtt_event (6)I (1635428) BED_MQTT: {"data":"01010B000D"}I (1635428) BED_MQTT: mqtt_event (6)I (1635428) BED_MQTT: {"data":"01010C000E"}I (1635438) BED_MQTT: mqtt_event (6)I (1635438) BED_MQTT: {"data":"01010D000F"}I (1635448) BED_MQTT: mqtt_event (6)I (1635448) BED_MQTT: {"data":"01010E0010"}I (1636718) BED_MQTT: tape data: 21 03 00 6E 92I (1637618) wifi: bcn_timout,ap_probe_send_startI (1637668) BED_MQTT: mqtt_event (6)I (1637668) BED_MQTT: {"data":"01010F0011"}I (1637668) BED_MQTT: mqtt_event (6)I (1637668) BED_MQTT: {"data":"010108000A"}I (1637788) BED_MQTT: mqtt_event (6)I (1637788) BED_MQTT: {"data":"010109000B"}I (1637798) BED_MQTT: mqtt_event (6)I (1637798) BED_MQTT: {"data":"01010A000C"}I (1637798) BED_MQTT: mqtt_event (6)I (1637798) BED_MQTT: {"data":"01010B000D"}I (1637998) BED_MQTT: mqtt_event (6)I (1637998) BED_MQTT: {"data":"01010C000E"}I (1638688) BED_MQTT: mqtt_event (6)I (1638688) BED_MQTT: {"data":"01010D000F"}I (1638818) BED_MQTT: mqtt_event (6)I (1638818) BED_MQTT: {"data":"01010E0010"}I (1639628) BED_MQTT: mqtt_event (6)I (1639638) BED_MQTT: {"data":"01010F0011"}I (1639848) BED_MQTT: mqtt_event (6)I (1639848) BED_MQTT: {"data":"010108000A"}I (1640118) wifi: ap_probe_send over, resett wifi status to disassocI (1640118) wifi: state: run -> init (c800)I (1640118) wifi: pm stop, total sleep time: 920060983 us / 1473310175 usI (1640128) wifi: new:<1,0>, old:<1,1>, ap:<255,255>, sta:<1,1>, prof:1I (1640138) WIFI_STATION: wifi_event_handler:[5]E (1640138) MQTT_CLIENT: mqtt_message_receive: transport_read() error: errno=113W (1640138) WIFI_STATION: retry to connect to the AP 1E (1640148) MQTT_CLIENT: mqtt_process_receive: mqtt_message_receive() returned -1I (1640158) BED_MQTT: mqtt_event (2)I (1640308) BED_MQTT: tape data: 21 01 02 F8 1CI (1641758) BED_MQTT: tape data: 21 03 00 6E 92I (1642198) WIFI_STATION: wifi_event_handler:[5]W (1642198) WIFI_STATION: retry to connect to the AP 2I (1644248) WIFI_STATION: wifi_event_handler:[5]W (1644248) WIFI_STATION: retry to connect to the AP 3I (1645238) BED_MQTT: tape data: 21 01 03 0C 31I (1646308) WIFI_STATION: wifi_event_handler:[5]W (1646308) WIFI_STATION: retry to connect to the AP 4I (1646668) BED_MQTT: tape data: 21 03 00 6E 92I (1648358) WIFI_STATION: wifi_event_handler:[5]W (1648368) WIFI_STATION: retry to connect to the AP 5I (1650168) BED_MQTT: mqtt_event (7)I (1650268) BED_MQTT: tape data: 21 01 03 02 27I (1650418) WIFI_STATION: wifi_event_handler:[5]W (1650418) WIFI_STATION: retry to connect to the AP 6I (1651718) BED_MQTT: tape data: 21 03 00 6E 92I (1652478) WIFI_STATION: wifi_event_handler:[5]W (1652478) WIFI_STATION: retry to connect to the AP 7I (1654528) WIFI_STATION: wifi_event_handler:[5]W (1654528) WIFI_STATION: retry to connect to the AP 8I (1655198) BED_MQTT: tape data: 21 01 03 02 27I (1656588) WIFI_STATION: wifi_event_handler:[5]W (1656588) WIFI_STATION: retry to connect to the AP 9I (1656638) BED_MQTT: tape data: 21 03 00 6E 92I (1658648) WIFI_STATION: wifi_event_handler:[5]W (1658648) WIFI_STATION: retry to connect to the AP 10I (1660238) BED_MQTT: tape data: 21 01 03 0C 31I (1660698) WIFI_STATION: wifi_event_handler:[5]W (1660698) WIFI_STATION: retry to connect to the AP 11I (1661668) BED_MQTT: tape data: 21 03 00 6E 92I (1662758) WIFI_STATION: wifi_event_handler:[5]W (1662758) WIFI_STATION: retry to connect to the AP 12E (1663308) MQTT_CLIENT: Error transport connectI (1663308) BED_MQTT: mqtt_event (0)I (1663308) BED_MQTT: mqtt_event (2)I (1664808) WIFI_STATION: wifi_event_handler:[5]W (1664818) WIFI_STATION: retry to connect to the AP 13I (1665268) BED_MQTT: tape data: 21 01 03 2A 4FI (1666718) BED_MQTT: tape data: 21 03 00 6E 92I (1666868) WIFI_STATION: wifi_event_handler:[5]W (1666868) WIFI_STATION: retry to connect to the AP 14I (1668928) WIFI_STATION: wifi_event_handler:[5]W (1668928) WIFI_STATION: retry to connect to the AP 15I (1670198) BED_MQTT: tape data: 21 01 03 2A 4FI (1670978) WIFI_STATION: wifi_event_handler:[5]W (1670988) WIFI_STATION: retry to connect to the AP 16I (1671638) BED_MQTT: tape data: 21 03 00 6E 92I (1673038) WIFI_STATION: wifi_event_handler:[5]W (1673038) WIFI_STATION: retry to connect to the AP 17I (1675098) WIFI_STATION: wifi_event_handler:[5]W (1675098) WIFI_STATION: retry to connect to the AP 18I (1675238) BED_MQTT: tape data: 21 01 03 0C 31I (1676668) BED_MQTT: tape data: 21 03 00 6E 92I (1677148) WIFI_STATION: wifi_event_handler:[5]W (1677148) WIFI_STATION: retry to connect to the AP 19I (1678308) BED_MQTT: mqtt_event (7)I (1679208) WIFI_STATION: wifi_event_handler:[5]W (1679208) WIFI_STATION: retry to connect to the AP 20I (1680158) BED_MQTT: tape data: 21 01 03 02 27I (1681268) WIFI_STATION: wifi_event_handler:[5]W (1681268) WIFI_STATION: retry to connect to the AP 21I (1681598) BED_MQTT: tape data: 21 03 00 6E 92I (1683318) WIFI_STATION: wifi_event_handler:[5]W (1683318) WIFI_STATION: retry to connect to the AP 22I (1685198) BED_MQTT: tape data: 21 01 03 02 27I (1685378) WIFI_STATION: wifi_event_handler:[5]W (1685378) WIFI_STATION: retry to connect to the AP 23I (1686638) BED_MQTT: tape data: 21 03 00 6E 92I (1687428) WIFI_STATION: wifi_event_handler:[5]W (1687438) WIFI_STATION: retry to connect to the AP 24I (1689488) WIFI_STATION: wifi_event_handler:[5]W (1689488) WIFI_STATION: retry to connect to the AP 25I (1690238) BED_MQTT: tape data: 21 01 03 2A 4FI (1691548) WIFI_STATION: wifi_event_handler:[5]W (1691548) WIFI_STATION: retry to connect to the AP 26I (1691668) BED_MQTT: tape data: 21 03 00 6E 92E (1692308) MQTT_CLIENT: Error transport connectI (1692308) BED_MQTT: mqtt_event (0)I (1692308) BED_MQTT: mqtt_event (2)I (1693598) WIFI_STATION: wifi_event_handler:[5]W (1693598) WIFI_STATION: retry to connect to the AP 27I (1695158) BED_MQTT: tape data: 21 01 03 16 3BI (1695658) WIFI_STATION: wifi_event_handler:[5]W (1695658) WIFI_STATION: retry to connect to the AP 28I (1696598) BED_MQTT: tape data: 21 03 00 64 88I (1697718) WIFI_STATION: wifi_event_handler:[5]W (1697718) WIFI_STATION: retry to connect to the AP 29I (1699768) WIFI_STATION: wifi_event_handler:[5]W (1699768) WIFI_STATION: retry to connect to the AP 30I (1700198) BED_MQTT: tape data: 21 01 03 0C 31I (1701638) BED_MQTT: tape data: 21 03 00 64 88I (1701828) WIFI_STATION: wifi_event_handler:[5]W (1701828) WIFI_STATION: retry to connect to the AP 31I (1703878) WIFI_STATION: wifi_event_handler:[5]W (1703888) WIFI_STATION: retry to connect to the AP 32I (1705118) BED_MQTT: tape data: 21 01 03 20 45I (1705938) WIFI_STATION: wifi_event_handler:[5]W (1705938) WIFI_STATION: retry to connect to the AP 33I (1706558) BED_MQTT: tape data: 21 03 00 5A 7EI (1707308) BED_MQTT: mqtt_event (7)I (1707998) WIFI_STATION: wifi_event_handler:[5]W (1707998) WIFI_STATION: retry to connect to the AP 34 |
|
相关推荐
1个回答
|
|
根据您提供的错误信息,我们可以分析出以下几个可能的原因:
1. **bcn_timeout**: 这个错误表示WiFi模块在等待AP(Access Point,即路由器)的信标帧(beacon frame)时超时。信标帧是AP定期发送的,用于通知周围的设备它的存在和一些基本参数。如果WiFi模块长时间没有收到信标帧,就可能触发这个错误。 2. **ap_probe_send_start**: 这个错误表示在尝试连接到AP时,发送探测帧(probe frame)失败。探测帧用于向AP请求连接,如果发送失败,可能导致连接失败。 3. **MQTT事件**: 您提供的日志中包含了MQTT事件,这些事件可能与您的设备尝试连接到MQTT服务器有关。如果WiFi连接出现问题,可能会影响到MQTT连接。 为了解决这个问题,您可以尝试以下步骤: 1. **检查WiFi信号**: 确保您的设备与路由器之间的信号强度足够。如果信号太弱,可能导致信标帧接收失败。 2. **检查路由器设置**: 确保路由器的信道设置与您的设备兼容。如果信道设置不正确,可能导致设备无法正常接收信标帧。 3. **重启设备**: 有时候,重启设备可以解决一些暂时性的问题。尝试重启您的设备,看看问题是否得到解决。 4. **检查MQTT服务器设置**: 确保您的MQTT服务器设置正确,并且设备可以正常连接到服务器。如果MQTT服务器设置有问题,可能导致设备无法正常发送和接收MQTT消息。 5. **更新固件**: 如果您的设备使用的是较旧的固件版本,可能存在一些已知的问题。尝试更新到最新的固件版本,看看问题是否得到解决。 6. **检查设备硬件**: 如果以上方法都无法解决问题,可能是设备硬件存在问题。您可以尝试更换设备,或者联系设备制造商寻求技术支持。 通过以上步骤,您应该能够找到问题的原因,并采取相应的措施解决它。 |
|
|
|
只有小组成员才能发言,加入小组>>
321 浏览 0 评论
1178 浏览 1 评论
586浏览 6评论
483浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
468浏览 5评论
467浏览 4评论
442浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-27 03:06 , Processed in 1.497018 second(s), Total 79, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号