Hi ,
I am currently working on a CC2652 project derived from zed_sampleapp project available in SDK (simplelink_cc13x2_26x2_sdk_4_30_00_54) , I need to send out diagnostic information (RSSI, LQI,APSTxUcastSuccess,APSTxUcastfail,APSTxUcastRetry,PacketvalidateCount) through zigbee radio to the master node up on query/periodic intervals (yet to decide).
I found zcl_diagnostic.c , zcl_diagnostic.h, zdiags.c, zdiags.h readily available in the Common->zcl folder of the SDK, But i could not see any examples how to use the diagnostic modules readily provided.
Do i need to register (ZCL_CLUSTER_ID_HA_DIAGNOSTIC) cluster ? if yes what function do i need to use?
Where do i need to call ZDiagsUpdateStats function in my rtos application to get the above mentioned diagnostic attributes ?
and how to use zclDiagnostic_ReadWriteAttrCB() ..any example would help.
and lastly what function call do i need to use to send out these attributes to the master node?
Hoping for a clear response, or pointer to the examples where i can get the above needed information.
Thanks
anand