This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ZIGBEE association problem

HI,

I'm using the zigbee CLI example as coordinator and have another CLI device for reference as router. With my sniffer I can log the association sequence with the cli router and everything works fine. But with my device under development (not using the nRF-IEEE- 802.15.4-radio-driver but another 3rd party radio driver) everything works until the coordinator sends the association response, which I send an ACK within 1ms but the coordinator keeps sending the association response. The ACK I send is shown in the sniffer, and has the right sequence number. Could there be any reason why the coordinator doesn't receive the ACK? I'm using DEBUG_TRACE in the coordinator and since the dump tools are no longer there, I manual looked to the dump data and I can see the ACK from the association request, the association response, but not the ACK from the association response. The attached pictures show the sniffer log from the failing association and the good one from the reference device.

Do you have any idea why the ACK might not be received?

BR, Hardy

Parents
  • Hi Edvin!

    Yes, the device is a nRF52840. We're using a 3rd party mesh OS, which is using the softdevice for BLE in a multi-stack configuration. We're trying to run ZigBee together with this stack. The stack deliverer has supported us with a timeslot API, which makes sure we can use the radio the same way we would use the softdevice. Everything works great actually. Just the coordinator doesn't get the ACK even it is shown in the sniffer. The pcapng files are attached.zigbee_20210310_ join_procedure_fail.pcapngzigbee_20210310_ join_procedure_ok.pcapng

    BR, Hardy

  • Hi Edvin,

    since I was testing the original driver with another CLI device, I'm sure it would work. And even I'm using my own driver, I send the ACK in right time with right sequence number.

    My question is why would the coordinator not receive the ACK? Is there a certain time window for the ACK being received? Not too fast, not after timeout? So I'm sending the ACK right after receiving the association response, but the coordinator doesn't get it. This is the actually problem. The screen shots in the first post shows clearly the different behavior for my custom unit and the reference unit. I might delay the transmission of the ACK and see what's happen.

    I don't use special keys, just the keys from the instruction on the sniffer documentation pages.

    • Key: 5A:69:67:42:65:65:41:6C:6C:69:61:6E:63:65:30:39, Byte Order: Normal, Label: ZigbeeAlliance09
    • Key: ab:cd:ef:01:23:45:67:89:00:00:00:00:00:00:00:00, Byte Order: Normal, Label: Nordic Examples

    BR, Hardy

  • Hello Hardy,

    What does the sniffer trace look like in your case? Is it like mine? Can you please try to open it on another computer than it was captured?

    Either way, what packet number (since I am not able to display it properly) is the ACK that you are curious about? What ACK is not received properly?

    What device is the coordinator? Is it an nRF? What IEEE stack is that one using?

    Please understand that this is not the typical questions we get, since the 802.15.4 driver is usually handling these kind of things, which is why I am not certain of what delay that is expected. 

    Hardy Bismark said:
    The original stack responds with an ACK in 544 µs but my stack can only respond with 1045 µs. Now this shouldn't be a problem anymore.

    Does that mean that you figured out, and solved the issue? Was it only because the ACK was "too slow"?  

    Best regards,

    Edvin

Reply
  • Hello Hardy,

    What does the sniffer trace look like in your case? Is it like mine? Can you please try to open it on another computer than it was captured?

    Either way, what packet number (since I am not able to display it properly) is the ACK that you are curious about? What ACK is not received properly?

    What device is the coordinator? Is it an nRF? What IEEE stack is that one using?

    Please understand that this is not the typical questions we get, since the 802.15.4 driver is usually handling these kind of things, which is why I am not certain of what delay that is expected. 

    Hardy Bismark said:
    The original stack responds with an ACK in 544 µs but my stack can only respond with 1045 µs. Now this shouldn't be a problem anymore.

    Does that mean that you figured out, and solved the issue? Was it only because the ACK was "too slow"?  

    Best regards,

    Edvin

Children
No Data
Related