How do I obtain the unique ID of a device and control the device after adding a device using MatterSupport.framework

I am trying to manage my Matter device using MatterSupport.Framework.

Prior to this I was using the matter.Framework, and I added devices through the commissionDevice API, which has the ability to set DeviceId for Matter devices. I was then able to use deviceId to control my device (like setting switches, brightness, etc.).

But due to some other issues, I had to add my device using the MatterAddDeviceRequest API in MatterSupport.

I can't find a unique identifier for a device such as "deviceID" in the documentation. So I'm confused, how do I control my matter device after adding it via the MatterAddDeviceRequest API

same problem - you found this problem?

Same problem. Have you found a solution ?

same problem - you found this problem?

How do I obtain the unique ID of a device and control the device after adding a device using MatterSupport.framework
 
 
Q