Diagnostic Server#
API and Callbacks for the Diagnostic Cluster Server Component.
This component handles the retrieval of diagnostic information from the stack through the diagnostic cluster. Implement the component as follows:
- 1. Mark all diagnostic attributes you wish to track as external. 
- 2. Add a call to sl_zigbee_af_read_diagnostic_attribute(attributeMetadata, buffer); from sl_zigbee_af_external_attribute_read_cb(). 
API#
bool
sl_zigbee_af_read_diagnostic_attribute(sl_zigbee_af_attribute_metadata_t *attributeMetadata, uint8_t *buffer)
Read diagnostic attributes.
API Documentation#
sl_zigbee_af_read_diagnostic_attribute#
bool sl_zigbee_af_read_diagnostic_attribute (sl_zigbee_af_attribute_metadata_t * attributeMetadata, uint8_t * buffer)
Read diagnostic attributes.
Parameters
| Type | Direction | Argument Name | Description | 
|---|---|---|---|
| sl_zigbee_af_attribute_metadata_t * | N/A | attributeMetadata | Ver.: always | 
| uint8_t * | N/A | buffer | Ver.: always | 
Returns
- bool true is success