This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530: mtZdoSimpleDescRspCb_t not called when Simple Descriptor Response Status is Not Active

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

Dear, I'm implementing ZNP based application using CC2530 in ZNP_ALT mode and STM32H747 mcu.

I'm performing a lot of call, and all calls go well except zdoSimpleDescReq.

Callback (mtZdoSimpleDescRspCb_t pfnZdoSimpleDescRsp; // MT_ZDO_SIMPLE_DESC_RSP 0x84) is called only when SimpleDesc response has status 0x00. I need to know when SimpleDesc status is not_active also.

I compiled ZStack with IAR 8051.

Best regards.

  • Hello Antonio,

    Which version of Z-Stack are you evaluating?  MT_ZdoHandleExceptions filters out Simple_Desc_rsp with an incorrect cmd.DataLength (less than five) such that MT_ZdoDirectCB doesn't call MT_BuildAndSendZToolResponse.  You will need to modify your ZNP project accordingly if you want to receive a failed Simple Desc Response on your host.

    Regards,
    Ryan