Open andy-danieal opened 1 month ago
@andy-danieal Please check the mac address of the station interface and softAP interface according to the mac address doc
I'm aware of that, but I'm interested in a better solution without changing serial mac IDs.
@zhangyanjiaoesp, Also curious as to why this impacts the SoftAP MAC ID, since ESP-MESH works with Station MAC ID.
@andy-danieal Each mesh node (except the leaf node) opens the station and softAP interface. If the station mac is 60:55:f9:e7:5e:56, the the softap mac is 60:55:f9:e7:5e:57 for D1, when gateway send data to 60:55:f9:e7:5e:57 , D1 will receive it.
I have update only STA MAC ID as custom MAC. but at time esp_mesh not working with D2 device.
esp_iface_mac_addr_set(customMacAddr, ESP_MAC_WIFI_STA);
Mesh logs
I (730257) mesh: 1307[recv]cidx[0]60:55:f9:e7:5e:57 xseqno loss, current/new:99/20, in:99, out:99, pending:0
W (730257) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[20], len:168, seqno:20[rx-wnd:10]<>
E (730274) mesh: [mesh_schedule.c,1715] pandora
I (730278) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:20, ttl:28, opt:-1>, pending:0, err:0x4014
W (730846) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[21], len:168, seqno:21[rx-wnd:9]<>
E (730853) mesh: [mesh_schedule.c,1715] pandora
I (730858) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:21, ttl:28, opt:-1>, pending:0, err:0x4014
W (00:12:10.389) [APP]: [SYSTEM INFO]: HEAP: 27 MESH-DEVICES - 5
W (738299) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[22], len:168, seqno:22[rx-wnd:8]<>
E (738307) mesh: [mesh_schedule.c,1715] pandora
I (738311) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:22, ttl:28, opt:-1>, pending:0, err:0x4014
W (738789) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[23], len:168, seqno:23[rx-wnd:7]<>
E (738797) mesh: [mesh_schedule.c,1715] pandora
I (738801) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:23, ttl:28, opt:-1>, pending:0, err:0x4014
W (739169) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[24], len:168, seqno:24[rx-wnd:6]<>
E (739177) mesh: [mesh_schedule.c,1715] pandora
I (739181) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:24, ttl:28, opt:-1>, pending:0, err:0x4014
W (739609) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[25], len:168, seqno:25[rx-wnd:5]<>
E (739617) mesh: [mesh_schedule.c,1715] pandora
I (739621) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:25, ttl:28, opt:-1>, pending:0, err:0x4014
W (740039) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[26], len:168, seqno:26[rx-wnd:4]<>
E (740046) mesh: [mesh_schedule.c,1715] pandora
I (740051) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:26, ttl:28, opt:-1>, pending:0, err:0x4014
W (740449) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[27], len:168, seqno:27[rx-wnd:3]<>
E (740456) mesh: [mesh_schedule.c,1715] pandora
I (740461) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:27, ttl:28, opt:-1>, pending:0, err:0x4014
W (740879) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[28], len:168, seqno:28[rx-wnd:2]<>
E (740887) mesh: [mesh_schedule.c,1715] pandora
I (740891) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:28, ttl:28, opt:-1>, pending:0, err:0x4014
W (741299) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:99, xonseq.in[99] >= the asked xseqno[29], len:168, seqno:29[rx-wnd:1]<>
E (741307) mesh: [mesh_schedule.c,1715] pandora
I (741311) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:29, ttl:28, opt:-1>, pending:0, err:0x4014
I (741679) mesh: 1093[xrsp]wnd:15, the asked:30 <= xseqno_in:99, child 60:55:f9:e7:5e:57, xrsp_seqno:5
I (741680) mesh: 1145[xrsp:1]the asked:30, max window:15, force to increase/decrease(up) xseqno:1 for child 60:55:f9:e7:5e:57, xrsp_seqno:5, heap:19636
-------
W (00:12:48.489) [MESH-EVENT]: Send Device: 6055f9e75e57 Data: 9 Bytes Status:- 0x0
I (769124) mesh: 1307[recv]cidx[0]60:55:f9:e7:5e:57 xseqno loss, current/new:104/38, in:104, out:104, pending:0
W (769125) mesh: [mesh_schedule.c,1702] esp_mesh_push_to_myself_queue,1943 up increase[cidx:0, 60:55:f9:e7:5e:57]pending:0, xonseq.out:104, xonseq.in[104] >= the asked xseqno[38], len:168, seqno:38[rx-wnd:6]<>
E (769141) mesh: [mesh_schedule.c,1715] pandora
I (769146) mesh: 1184[self]push to self q fail, ifx: AP, child:60:55:f9:e7:5e:57, len:168<hlen:28, xseqno:38, ttl:28, opt:-1>, pending:0, err:0x4014
@andy-danieal
esp_read_mac()
to show the mac address of the station and softap interfacesUpdate only STA mac. esp_iface_mac_addr_set(customMacAddr, ESP_MAC_WIFI_STA);
D1 device STA mac is 60:55:f9:e7:5e:56 AP mac is a0:76:4e:8c:eb:24
D2 device STA mac is 60:55:f9:e7:5e:57 AP mac is a0:76:4e:8c:eb:48
Answers checklist.
General issue report
When I added two series of custom MAC devices to Mesh network. For example, D1 -> 60:55:f9:e7:5e:56 and D2 -> 60:55:f9:e7:5e:57 was connected to Gateway with ESP-WIFI-MESH. And D1 is the parent of D2, the issue occurs. During that time, Gateway sent data to D2, but D1 received it.
ESP IDF Version:- ESP-IDF v5.2.1-533-g9f4f8e24f
Gateway Logs
D1 Device Logs
D2 Device Logs