完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
目前使用两块esp32s3 模组 ,使用的是ESP IDF
父节点 一直报错: 非法子节点 (493102) mesh: 1316[recv]invalid child 68:b6:b3:3c:64:68 I (493102) mesh: 1316[recv]invalid child 68:b6:b3:3c:64:68 [0;32mI (493532) mesh_mqtt: MQTT_EVENT_PUBLISHED, msg_id=62348[0m [0;32mI (493812) mesh_main: Tried to publish layer:1 IP:192.168.137.154[0m [0;32mI (493812) mesh_mqtt: sent publish returned msg_id=1258[0m [0;32mI (493812) mesh_main: Sending routing table to [0] f4:12:fa26:60: sent with err code: 0[0m [0;32mI (493812) mesh_main: Received Routing table [0] f4:12:fa26:60[0m 子节点 上电log如下: I (7036) wifi:mode : sta (68:b6:b3:3c:64:68) + softAP (68:b6:b3:3c:64:69) W (7056) wifi:adjust channel:1, secondary channel offset:1(40U) I (7066) wifi:Total power save buffer number: 16 [0;32mI (7066) mesh_main: new channel:6, router BSSID:00:00:00:00:00:00[0m W (7096) wifi:adjust channel:6, secondary channel offset:1(40U) I (7096) wifi:Total power save buffer number: 16 [22:29:38.022]收←◆I (7406) mesh: [SCAN][ch:6]AP:6, other(ID:0, RD:0), MAP:1, idle:0, candidate:1, root:1, topMAP:0[c:0,i:0][0e:9a:3c:87:53:52]router found<> I (7406) mesh: 7369[selection]try rssi_threshold:-78, backoff times:0, max:5<-78,-82,-85> I (7416) mesh: [DONE]connect to parent:ESPM_CD2660, channel:6, rssi:-5, f4:12:fa26:61[layer:1, assoc:0], my_vote_num:0/voter_num:0, rc[00:00:00:00:00:00/-120/0] I (7426) mesh: set router bssid:0e:9a:3c:87:53:52 [22:29:38.284]收←◆I (7666) wifi<6,1>, old:<6,1>, ap:<6,1>, sta:<6,1>, prof:6 [22:29:39.279]收←◆I (8656) wifi:state: init -> auth (b0) I (8676) wifi:state: auth -> assoc (0) E (8686) wifi:Association refused temporarily, comeback time 1536 mSec [22:29:40.837]收←◆I (10216) wifi:state: assoc -> assoc (0) I (10236) wifi:state: assoc -> run (10) I (10236) mesh: <><><><><><> I (10236) mesh: from assoc, layer:2, root_addr:f4:12:fa26:61, root_cap:1 I (10236) mesh: idle, layer:2, root_addr:f4:12:fa26:61, conflict_roots.num:0<> I (10246) wifi:connected with ESPM_CD2660, aid = 1, channel 6, 40U, bssid = f4:12:fa26:61 I (10256) wifi:security: WPA2-PSK, phy: bgn, rssi: -5 [0;32mI (10266) mesh_main: root address:f4:12:fa26:61[0m [22:29:40.930]收←◆I (10316) wifi:pm start, type: 0 I (10316) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 0, mt_pti: 25000, mt_time: 10000 I (10316) mesh: [scan]new scanning time:600ms, beacon interval:300ms I (10326) mesh: 2004parent monitor, my layer:2(cap:6)(node), interval:11599ms, retries:1 I (10326) wifi:BcnInt:102400, DTIM:1 [0;32mI (10336) mesh_main: layer:0-->2, parent:f4:12:fa26:61, ID:77:77:77:77:77:76[0m [0;32mI (10346) mesh_netif: It was a wifi station removing stuff[0m [0;32mI (10356) mesh_main: state:0[0m [22:29:52.825]收←◆I (22206) mesh: 5156parent layer:1(node), channel:6, rssi:-5, assoc:0(cnx rssi threshold:-120)my_assoc:0 [22:29:54.330]收←◆I (23716) mesh: 5947parent layer:1, rssi:-6, assoc:0(cnx rssi threshold:-120) I (23716) mesh: [SCAN][ch:6]AP:1, other(ID:0, RD:0), MAP:1, idle:0, candidate:1, root:1, topMAP:0[c:2,i:2][0e:9a:3c:87:53:52] I (23716) mesh: 7369[weak]try rssi_threshold:-120, backoff times:0, max:5<-78,-82,-85> I (23726) mesh: 716[monitor]no change, parent:f4:12:fa26:61, rssi:-6 I (23736) mesh: 2004parent monitor, my layer:2(cap:6)(node), interval:11860ms, retries:2<> [22:30:06.507]收←◆I (35886) mesh: 5156parent layer:1(node), channel:6, rssi:-5, assoc:0(cnx rssi threshold:-120)my_assoc:0 [22:30:08.010]收←◆I (37396) mesh: 5947parent layer:1, rssi:-6, assoc:0(cnx rssi threshold:-120) I (37396) mesh: [SCAN][ch:6]AP:1, other(ID:0, RD:0), MAP:1, idle:0, candidate:1, root:1, topMAP:0[c:2,i:2][0e:9a:3c:87:53:52] I (37396) mesh: 7369[weak]try rssi_threshold:-120, backoff times:0, max:5<-78,-82,-85> I (37406) mesh: 716[monitor]no change, parent:f4:12:fa26:61, rssi:-6 I (37416) mesh: 2004parent monitor, my layer:2(cap:6)(node), interval:4639ms, retries:3<> [22:30:12.792]收←◆I (42176) mesh: 5156parent layer:1(node), channel:6, rssi:-5, assoc:0(cnx rssi threshold:-120)my_assoc:0 [22:30:14.297]收←◆I (43676) mesh: 5947parent layer:1, rssi:-5, assoc:0(cnx rssi threshold:-120) I (43676) mesh: [SCAN][ch:6]AP:1, other(ID:0, RD:0), MAP:1, idle:0, candidate:1, root:1, topMAP:0[c:2,i:2][0e:9a:3c:87:53:52] I (43686) mesh: 7369[weak]try rssi_threshold:-120, backoff times:0, max:5<-78,-82,-85> I (43696) mesh: 716[monitor]no change, parent:f4:12:fa26:61, rssi:-5 I (43706) mesh: 2004parent monitor, my layer:2(cap:6)(node), interval:301531ms, retries:3<> 求大佬们帮忙看一下 |
|
相关推荐
1个回答
|
|
以下是一些建议来解决这个问题:
1. 确保您的ESP-IDF版本与您的设备兼容。请检查您的ESP-IDF版本是否支持ESP32-S3,并确保您使用的是最新版本。 2. 检查您的Mesh网络配置。确保父节点和子节点都使用相同的Mesh网络名称和密码。此外,检查子节点是否已正确添加到父节点的子节点列表中。 3. 检查您的网络设置。确保您的设备连接到正确的WiFi网络,并确保网络配置正确。检查您的路由器是否支持IPv4和IPv6,以及是否允许设备之间进行通信。 4. 检查您的代码。确保您的代码正确实现了Mesh网络的功能,包括父节点和子节点之间的通信。检查您的代码中是否有任何错误或遗漏。 5. 使用ESP-IDF的调试功能。您可以使用ESP-IDF的调试功能来查看设备之间的通信和错误信息。这将帮助您找到问题所在并进行修复。 6. 尝试使用其他设备作为子节点。如果可能的话,尝试使用其他ESP32-S3设备或其他支持Mesh网络的设备作为子节点,以排除设备兼容性问题。 7. 检查您的电源供应。确保您的设备获得足够的电源,因为电源不足可能会导致设备无法正常工作。 |
|
|
|
只有小组成员才能发言,加入小组>>
545浏览 6评论
457浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
437浏览 5评论
441浏览 4评论
411浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 01:41 , Processed in 0.898634 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号