Closed VOVAiS closed 2 years ago
Reporting doesn't work properly. Zigate filters messages.
the problem is in the code:
if (sZllState.u8RawMode == RAW_MODE_ON){
ZPS_tsAfEvent* psStackEvent = psEvent->pZPSevent; if (tmpSqn!=(psEvent->u8TransactionSequenceNumber+psEvent->pZPSevent->uEvent.sApsDataIndEvent.uSrcAddress.u16Addr)) { tmpSqn=(psEvent->u8TransactionSequenceNumber+psEvent->pZPSevent->uEvent.sApsDataIndEvent.uSrcAddress.u16Addr); if (psEvent->eEventType != E_ZCL_CBET_CLUSTER_UPDATE && psEvent->eEventType != E_ZCL_CBET_UNHANDLED_EVENT && psEvent->eEventType != E_ZCL_CBET_REPORT_ATTRIBUTES && psEvent->eEventType != E_ZCL_CBET_READ_ATTRIBUTES_RESPONSE ) { Znc_vSendDataIndicationToHost(psStackEvent, au8LinkTxBuffer); return; } }else{ return; } }
if you replace the code with
if (sZllState.u8RawMode == RAW_MODE_ON){ ZPS_tsAfEvent* psStackEvent = psEvent->pZPSevent; if (tmpSqn!=(psEvent->u8TransactionSequenceNumber+psEvent->pZPSevent->uEvent.sApsDataIndEvent.uSrcAddress.u16Addr) && psEvent->eEventType != E_ZCL_CBET_CLUSTER_UPDATE && psEvent->eEventType != E_ZCL_CBET_UNHANDLED_EVENT) { tmpSqn=(psEvent->u8TransactionSequenceNumber+psEvent->pZPSevent->uEvent.sApsDataIndEvent.uSrcAddress.u16Addr); Znc_vSendDataIndicationToHost(psStackEvent, au8LinkTxBuffer); return; } }
Reporting works fine but some of the messages from aqara s2 are lost https://github.com/Koenkk/zigbee2mqtt/issues/12138#issuecomment-1124567070
Problem fix
Reporting doesn't work properly. Zigate filters messages.
the problem is in the code:
if you replace the code with
Reporting works fine but some of the messages from aqara s2 are lost https://github.com/Koenkk/zigbee2mqtt/issues/12138#issuecomment-1124567070