2022-07-11 08:20 AM
Greetings,
Recently I tried to implement a ZigBee custom cluster by taking inspiration from the custom long string cluster.
Basically, the client is requesting data by using ZbZclClusterCommandReq and the server is answering thanks to the ZbZclClusterCommandRsp.
I noticed that when the server is the coordinator nothing goes wrong, but if it is a router, the registered client callback returns a status ZCL_STATUS_TIMEOUT.
In order to analyze the problem, I replaced the ZbZclClusterCommandRsp function with ZbZclClusterCommandRspWithCb in order to get the status after the message was enqueued. The status I received in the callback was ZB_APS_STATUS_INVALID_PARAMETER.
What can be the cause of this error? Is there a way to get more details about this error?
Thanks in advance,
E. C.