File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020#include " AppConfig.h"
2121#include " BaseApplication.h"
2222#include < MatterConfig.h>
23+ #include < access/examples/GroupAuxiliaryAccessControlDelegate.h>
2324#include < cmsis_os2.h>
2425
2526#include < mbedtls/platform.h>
@@ -337,6 +338,10 @@ CHIP_ERROR SilabsMatterConfig::InitMatter(const char * appName)
337338 gExampleDeviceInfoProvider .SetStorageDelegate (initParams.persistentStorageDelegate );
338339 chip::DeviceLayer::SetDeviceInfoProvider (&gExampleDeviceInfoProvider );
339340
341+ // Inject group auxiliary access control delegate
342+ static chip::Access::Examples::GroupAuxiliaryAccessControlDelegate sGroupAuxAccessDelegate (initParams.groupDataProvider );
343+ initParams.groupAuxiliaryAccessControlDelegate = &sGroupAuxAccessDelegate ;
344+
340345 // Init Matter Server and Start Event Loop
341346 err = chip::Server::GetInstance ().Init (initParams);
342347
You can’t perform that action at this time.
0 commit comments