You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a wildcard read of a Thread device implementing default ThreadDiagnostics cluster (GenericThreadStackManagerImpl_OpenThread), we get failures on reading/subscribing to several attributes in the cluster when not yet associated to a Thread mesh:
All the above are only valid when Thread is properly configured.
The code (simplified slightly for brevety) in src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp in GenericThreadStackManagerImpl_OpenThread<ImplClass>::_WriteThreadNetworkDiagnosticAttributeToTlv has, for example:
When doing a wildcard read of a Thread device implementing default ThreadDiagnostics cluster (GenericThreadStackManagerImpl_OpenThread), we get failures on reading/subscribing to several attributes in the cluster when not yet associated to a Thread mesh:
All the above are only valid when Thread is properly configured.
The code (simplified slightly for brevety) in
src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.hpp
inGenericThreadStackManagerImpl_OpenThread<ImplClass>::_WriteThreadNetworkDiagnosticAttributeToTlv
has, for example:This will simply return a CHIP_ERROR (which will lead to generic IM error ("FAILURE") instead of writing a null like the spec requires:
It appears all the problematic FAILURE are of that nature.
The text was updated successfully, but these errors were encountered: