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 emberAfReadDiagnosticAttribute(attributeMetadata, buffer); from emberAfExternalAttributeReadCallback().
API#
bool
emberAfReadDiagnosticAttribute(EmberAfAttributeMetadata *attributeMetadata, uint8_t *buffer)
Read diagnostic attributes.
API Documentation#
emberAfReadDiagnosticAttribute#
bool emberAfReadDiagnosticAttribute (EmberAfAttributeMetadata * attributeMetadata, uint8_t * buffer)
Read diagnostic attributes.
Parameters
N/A | attributeMetadata | Ver.: always |
N/A | buffer | Ver.: always |
Returns
bool true is success
Definition at line
49
of file app/framework/plugin/diagnostic-server/diagnostic-server.h