I have registered a callback by APSDE_SetPreProcessFnp, and enable the AF_PREPROCESS when call AF_DataRequest. But the callback is not working. Base on SDK 6.30
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.
I have registered a callback by APSDE_SetPreProcessFnp, and enable the AF_PREPROCESS when call AF_DataRequest. But the callback is not working. Base on SDK 6.30
Hi Aries,
AF_PREPROCESS is not included in convertTxOptions (zcl_port.c) and convertMsgTransOptions (zstacktask.c) and should be modified accordingly, as such a boolean flag should also be added to the zstack_transoptions_t struct inside zstack.h accordingly. I've verified that this works with SDK v6.40 after making the necessary changes.
Regards,
Ryan