diff --git a/src/controller/CHIPDeviceControllerSystemState.h b/src/controller/CHIPDeviceControllerSystemState.h index 6c2a3e0cfb726c..ad82a29b71bdbc 100644 --- a/src/controller/CHIPDeviceControllerSystemState.h +++ b/src/controller/CHIPDeviceControllerSystemState.h @@ -31,6 +31,7 @@ #include #include +#include #include #include #if CONFIG_DEVICE_LAYER @@ -130,6 +131,7 @@ class DeviceControllerSystemState #if CONFIG_NETWORK_LAYER_BLE Ble::BleLayer * BleLayer() { return mBleLayer; }; #endif + SessionIDAllocator * GetSessionIDAllocator() { return &mIDAllocator; } private: DeviceControllerSystemState(){}; @@ -145,6 +147,7 @@ class DeviceControllerSystemState Messaging::ExchangeManager * mExchangeMgr = nullptr; secure_channel::MessageCounterManager * mMessageCounterManager = nullptr; FabricTable * mFabrics = nullptr; + SessionIDAllocator mIDAllocator; std::atomic mRefCount{ 1 };