File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -545,6 +545,7 @@ struct ChipDeviceEvent final
545
545
uint8_t FabricIndex;
546
546
uint8_t SecureSessionType;
547
547
uint8_t TransportType;
548
+ uint16_t LocalSessionId;
548
549
} SecureSessionEstablished;
549
550
};
550
551
Original file line number Diff line number Diff line change @@ -86,8 +86,9 @@ void PairingSession::Finish()
86
86
event.SecureSessionEstablished .TransportType = to_underlying (address.GetTransportType ());
87
87
event.SecureSessionEstablished .SecureSessionType =
88
88
to_underlying (mSecureSessionHolder ->AsSecureSession ()->GetSecureSessionType ());
89
- event.SecureSessionEstablished .PeerNodeId = mSecureSessionHolder ->GetPeer ().GetNodeId ();
90
- event.SecureSessionEstablished .FabricIndex = mSecureSessionHolder ->GetPeer ().GetFabricIndex ();
89
+ event.SecureSessionEstablished .LocalSessionId = mSecureSessionHolder ->AsSecureSession ()->GetLocalSessionId ();
90
+ event.SecureSessionEstablished .PeerNodeId = mSecureSessionHolder ->GetPeer ().GetNodeId ();
91
+ event.SecureSessionEstablished .FabricIndex = mSecureSessionHolder ->GetPeer ().GetFabricIndex ();
91
92
if (DeviceLayer::PlatformMgr ().PostEvent (&event) != CHIP_NO_ERROR)
92
93
{
93
94
ChipLogError (SecureChannel, " Failed to post Secure Session established event" );
You can’t perform that action at this time.
0 commit comments