project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.44k stars 1.99k forks source link

[BUG] Binding of light and switch within chiptool ios app not working. #27569

Open UserRahul12381 opened 1 year ago

UserRahul12381 commented 1 year ago

Reproduction steps

In the iOS chip tool sample app binding of two devices [like light and switch] is not working, can anyone help with the sample code for binding two devices, which parameters, functions, and classes need to use for this operation?

please provide an example of code for this operation like a sample code app.

I'm using code Xcode 14.3, iOS 16.4 with swift programming.

@bzbarsky-apple @jtung-apple

Bug prevalence

https://github.com/project-chip/connectedhomeip

GitHub hash of the SDK that was being used

https://github.com/project-chip/connectedhomeip

Platform

darwin

Platform Version(s)

No response

Anything else?

No response

bzbarsky-apple commented 1 year ago

In the iOS chip tool sample app binding of two devices [like light and switch] is not working

Correct; it has comments about how it's not implemented in this example.

You should be able to write the "Bindings" and "ACL" attributes to bind things, though.