connectedhomeip
connectedhomeip copied to clipboard
[iOS] identify is always sent to bridge root endpoint, instead of bridged device endpoint
Reproduction steps
- commission a bridge which contains one or multiple bridged devices (e.g. the
bridge-app
example) - during commissioning, Home.app UI walks though all bridged devices and offers a "identify" device button.
- pressing "identify" always sends the Identify command (0 in cluster 3) to endpoint 0 (the root node) instead of to the bridged device itself.
As the purpose of "identify" is to associate offered accessories (in the current implementation: anonymous because unnamed, see #22734) with actual hardware, this is clearly wrong. "identify" commands should be issued to the actual bridged device's endpoint so the corresponding hardware can make itself visible/audible and allow users to recognize them.
Note that sending "identify" to endpoint 0 is wrong even in the case of identifying the bridge itself, which is NOT represented by endpoint 0, but by a separate endpoint (1 in the bridge-app
example).
Platform
darwin
Platform Version(s)
16.1 release
Type
Manually tested with SDK
(Optional) If manually tested please explain why this is only manually tested
No response
Anything else?
No response