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.
Hi TI team,
Now, I used the function of zcl_SendReportCmd to send data from End-Device to Coordinator.
I wonder whether my End-Device will receive any response packets from my Coordinator. Because if my data(packets) missed over-the-air, I may need to resend it again.
Could you teach me where or which functions that I can receive response packets in the example code of Zed_Switch if my End-Device can receive response packets from Coordinator?
Thanks
Hi Toby,
I just found the DAPSC_MAX_FRAME_RETRIES=3 in the file of f8wconfig.cfg. And I think it is for APS acks.
Which value do I check for number of retries of MAC acks in the file of f8wconfig.cfg? Or Do you know how many times of retries for MAC acks in the example code of zed_switch?
And What the max value of retries for MAC acks?
Thanks
Hi YK,
Could I ask you one more question?
According to Toby, we need to use the function of zcl_registerClusterOptionList to register AF_ACK_REQUEST for APS acks.
But I found AF_ACK_REQUEST seems be registered in the example code of zed_switch. Whether it means it already enable the APS acks. Am I right or I miss something?
And you also mention check the transID for responses. Could you explain more for this part because I still have no idea how to use the transID to check it?
Here is code for registering it:
static zclOptionRec_t zcl_Groups_Options[] =
{
{
ZCL_CLUSTER_ID_GEN_GROUPS,
( AF_ACK_REQUEST ),
},
};
Thanks
Hi YK,
OK. I already send a question of MAC acks to Toby.
If I want to create a own zclOptionRec_t . Could I know where I can write my code? Because I found the Group cluster was registered in the function of bdb_checkMatchingEndpoints via function of zcl_registerClusterOptionList.
Could I create a new zclOptionRec_t and also register in the function of bdb_checkMatchingEndpoints?
Thanks
For the MAC retries, YK is correct. You can see description here: dev.ti.com/.../network_configuration.html
For the zclOptionRec_t, you can find the definition in zcl.h.
As an example, for multiple entries, you could declare as follows:
zclOptionsRec_t optionsRec[] = { { oneClusterID, AF_ACK_REQUEST }, { anotherClusterID, AF_ACK_REQUEST } }
Hi Toby,
Noted.
Could I know what the max value of MAC retries because I could not find it in the link of dev.ti.com/.../network_configuration.html ?
Thanks