ot::NetworkData::Leader::SetCommissioningData() method
Updates Commissioning Data in Network Data.
Arguments
aData
A pointer to the Commissioning Data.
aDataLength
The length of @p aData.
Return value
kErrorNone Successfully updated the Commissioning Data. kErrorNoBufs Insufficient space to add the Commissioning Data.