Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize CHIPDevice members #4671

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/controller/CHIPDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,25 +280,25 @@ class DLL_EXPORT Device
Inet::IPAddress mDeviceAddr;

/* Port on which the CHIP device is receiving messages. Typically it is CHIP_PORT */
uint16_t mDevicePort;
uint16_t mDevicePort = CHIP_PORT;

/* Local network interface that should be used to communicate with the device */
Inet::InterfaceId mInterface;
Inet::InterfaceId mInterface = INET_NULL_INTERFACEID;

Inet::InetLayer * mInetLayer;
Inet::InetLayer * mInetLayer = nullptr;

bool mActive;
ConnectionState mState;
bool mActive = false;
ConnectionState mState = ConnectionState::NotConnected;

PASESessionSerializable mPairing;

DeviceStatusDelegate * mStatusDelegate;
DeviceStatusDelegate * mStatusDelegate = nullptr;

SecureSessionMgr * mSessionManager;
SecureSessionMgr * mSessionManager = nullptr;

DeviceTransportMgr * mTransportMgr;
DeviceTransportMgr * mTransportMgr = nullptr;

app::CommandSender * mCommandSender;
app::CommandSender * mCommandSender = nullptr;

SecureSessionHandle mSecureSession = {};

Expand Down