fairecasoimeme / ZiGatev2

ZiGate+ (v2) universal zigbee gateway
https://zigate.fr
21 stars 6 forks source link

Understanding MAC_ENUM_CHANNEL_ACCESS_FAILURE #45

Open tcharp38 opened 1 year ago

tcharp38 commented 1 year ago

Guys

I'm a little bit stuck with zigate v2, v3.21 network and MAC_ENUM_CHANNEL_ACCESS_FAILURE error.

There are attribute reportings from the device then MAC_ENUM_CHANNEL_ACCESS_FAILURE errors. What does it mean ? How to interpret that ? Thanks

[2022-08-14 19:34:47] Abeille1, Type=8002/Data indication, Status=00, ProfId=0104, ClustId=0006, SrcEP=01, DstEP=00, SrcAddrMode=02, SrcAddr=69A2, DstAddrMode=02, DstAddr=0000 [2022-08-14 19:34:47] FCF=08/General/Serv->Cli, SQN=CE, cmd=0A/Report attributes [2022-08-14 19:34:47] Handled by decode8100_8102 [2022-08-14 19:34:47] Abeille1, Type=8002/Data indication, Status=00, ProfId=0104, ClustId=0006, SrcEP=01, DstEP=00, SrcAddrMode=02, SrcAddr=69A2, DstAddrMode=02, DstAddr=0000 [2022-08-14 19:34:47] FCF=08/General/Serv->Cli, SQN=CE, cmd=0A/Report attributes [2022-08-14 19:34:47] Handled by decode8100_8102 [2022-08-14 19:34:47] Abeille1, Type=8002/Data indication, Status=00, ProfId=0104, ClustId=0006, SrcEP=01, DstEP=01, SrcAddrMode=02, SrcAddr=69A2, DstAddrMode=02, DstAddr=0000 [2022-08-14 19:34:47] FCF=08/General/Serv->Cli, SQN=CE, cmd=0A/Report attributes [2022-08-14 19:34:47] Handled by decode8100_8102 [2022-08-14 19:34:47] Abeille1, Type=8102/Attribute report, SQN=CE, Addr=69A2, EP=01, ClustId=0006, AttrId=0000, AttrStatus=00, AttrDataType=10, AttrSize=0001 [2022-08-14 19:34:47] OnOff, hexValue=00 => 0 [2022-08-14 19:34:49] Abeille1, Type=8702/APS data confirm fail, Status=E1/MAC_ENUM_CHANNEL_ACCESS_FAILURE, SrcEP=00, DstEP=01, AddrMode=02, Addr=69A2, SQNAPS=02, NPDU=00, APDU=00 [2022-08-14 19:34:49] Abeille1, Type=8702/APS data confirm fail, Status=E1/MAC_ENUM_CHANNEL_ACCESS_FAILURE, SrcEP=00, DstEP=01, AddrMode=02, Addr=69A2, SQNAPS=03, NPDU=01, APDU=00 [2022-08-14 19:34:49] Abeille1, Type=8702/APS data confirm fail, Status=E1/MAC_ENUM_CHANNEL_ACCESS_FAILURE, SrcEP=01, DstEP=01, AddrMode=02, Addr=69A2, SQNAPS=04, NPDU=00, APDU=00 [2022-08-14 19:34:49] Abeille1, Type=8702/APS data confirm fail, Status=E1/MAC_ENUM_CHANNEL_ACCESS_FAILURE, SrcEP=01, DstEP=01, AddrMode=02, Addr=69A2, SQNAPS=05, NPDU=00, APDU=00 [2022-08-14 19:34:53] Abeille1, Type=8011/APS data ACK, Status=A7/NO_ACK, Addr=69A2, EP=00, ClustId=0006, SQNAPS=02 [2022-08-14 19:34:53] Abeille1, Type=8011/APS data ACK, Status=A7/NO_ACK, Addr=69A2, EP=00, ClustId=0006, SQNAPS=03 [2022-08-14 19:34:53] Abeille1, Type=8011/APS data ACK, Status=A7/NO_ACK, Addr=69A2, EP=01, ClustId=0006, SQNAPS=04 [2022-08-14 19:34:53] Abeille1, Type=8011/APS data ACK, Status=A7/NO_ACK, Addr=69A2, EP=01, ClustId=0006, SQNAPS=05

fairecasoimeme commented 1 year ago

Hi, MAC_ENUM_CHANNEL_ACCESS_FAILURE is referenced as CSMA/CA channel access failure What I understand is that CSMA/CA is a system that checks if the used channel is clear or not. Therefore, I think there is an access flood to the channel or perhaps to the cpu.