ambiot / ambd_matter

AmebaD public SDK to support Matter project
https://www.amebaiot.com/en/
10 stars 10 forks source link

How to add the FabricDelegateImpl event #125

Open cheng5230 opened 2 months ago

cheng5230 commented 2 months ago

Passing FabricDelegateImpl related events to matter_core_device_callback_internal image

thanks

xshuqun commented 2 months ago

@cheng5230 I have added the FabricDelegateImpl into the porting layer in this branch.

This should be flexible for user to include their codes when different fabric event happens. For your reference, I have added PostEvent() for CommissiongWindowOpened, you can check if the implementation has meet your needs. But when officially added into the repo, the example will be removed.

Thank you.