Why it got an error category = 0, error status = 11 in zdo_simple_descriptor_response?

I modified the simple_gw example code, when the end device(application/light_sample/dimmable_light/bulb, I did not modify this example code) joined the ZigBee gateway network, the gateway will send a simple_desc_req to that end device, but it got an error category = 0, error status = 11 in zdo_simple_descriptor_response, I make sure the end device address 0x3499 is correct. Why it returned this error? please help to find out the reason, thanks a lot.

[ZDO1] send_simple_desc_req nwk_addr 0x3499, endpoint 1

high_level/host/adapters/ncp_host_hl_adapter_zdo.c:954     [ERROR] Unexpected type of error, error category = 0, error status = 11

I attached the log file in here.
simple_gw.zip



void ncp_host_handle_zdo_simple_descriptor_response(zb_ret_t status, zb_uint8_t ncp_tsn,
zb_uint16_t nwk_addr, zb_af_simple_desc_1_1_t *simple_desc, zb_uint16_t *app_cluster_list_ptr)
{
.............

if (status != RET_OK)
{
/* Pass only ZDO errors to the application layer */
if (ERROR_GET_CATEGORY(status) == ERROR_CATEGORY_ZDO)
{
resp->hdr.status = ERROR_GET_CODE(status);
}
else
{
TRACE_MSG(TRACE_ERROR, "Unexpected type of error, error category = %hd, error status = %hd ",
(FMT__H_H, ERROR_GET_CATEGORY(status), ERROR_GET_CODE(status)));
ZB_ASSERT(0);
}
}

  • Hi,

    Can you please provide a sniffer trace from the network when this error occurs?

    Best regards,
    Jørgen

  • I'm not able to read the sniffer trace due to "Bad FCS". Can you provide the network key used? I tried the ones from your attached logs, but these does not seem to work.

  • Please check these 2 key files.

    5A:69:67:42:65:65:41:6C:6C:69:61:6E:63:65:30:39
    62:A5:5C:9B:F0:5E:37:99:70:26:67:66:8D:4D:8B:F8
    C5:28:1E:F6:8E:61:91:1C:97:2A:77:D1:EF:FE:6D:C1
    CD:50:FD:CB:B7:B7:82:C0:E7:00:9D:23:14:56:72:1C
    
    AB:CD:EF:01:23:45:67:89:00:00:00:00:00:00:00:00
    

  • Unfortunately, I'm not able to read it correctly using those keys. Did you capture the sniffer trace using the Nordic 802.15.4 sniffer, or did you use the sniffer tool from your screenshot? I may be missing some component in Wireshark if it is captured using another tool than the one I have installed.

Related