Contents

MTRResponseCommandNameForID(_:_:)

Resolve Matter response (server to client) command IDs into a descriptive string.

Declaration

func MTRResponseCommandNameForID(_ clusterID: MTRClusterIDType, _ commandID: MTRCommandIDType) -> String!

Discussion

For unknown IDs, a string ‘<Unknown clusterID %d>’ (if the cluster ID is not known) or ‘<Unknown commandID %d>’ (if the cluster ID is known but the command ID is not known) will be returned.