Skip to content

Commit

Permalink
Pass network ID to device layer.
Browse files Browse the repository at this point in the history
We have this info now, we should pass it along. Device layer doesn't
do anything with it currently.
  • Loading branch information
cecille committed Mar 31, 2022
1 parent 5ec5bb1 commit ab26203
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,8 @@ void Instance::OnResult(Status commissioningError, CharSpan errorText, int32_t i

if (commissioningError == Status::kSuccess)
{
// TODO: Pass the actual network id to device control server.
DeviceLayer::DeviceControlServer::DeviceControlSvr().ConnectNetworkForOperational(ByteSpan());
DeviceLayer::DeviceControlServer::DeviceControlSvr().ConnectNetworkForOperational(
ByteSpan(mLastNetworkID, mLastNetworkIDLen));
}
}

Expand Down

0 comments on commit ab26203

Please sign in to comment.