ESP-IDF
ot::MeshCoP::DatasetManager::SendSetRequest()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::MeshCoP::DatasetManager::SendSetRequest()
ot::MeshCoP::DatasetManager::SendSetRequest() method
Sends a MGMT_SET request to the Leader.
Syntax
Show:
Summary
Declaration
Definition
from
dataset_manager.hpp:195
Error
SendSetRequest
(
const
Dataset
::
Info
&
aDatasetInfo
,
const
uint8_t
*
aTlvs
,
uint8_t
aLength
,
MgmtSetCallback
aCallback
,
void
*
aContext
)
;
Implemented in
dataset_manager.cpp:614
Arguments
Argument
Description
aDatasetInfo
The Operational Dataset.
aTlvs
Any additional raw TLVs to include.
aLength
Number of bytes in @p aTlvs.
aCallback
A pointer to a function that is called on response reception or timeout.
aContext
A pointer to application-specific context for @p aCallback.
Return value
kErrorNone Successfully send the meshcop dataset command. kErrorNoBufs Insufficient buffer space to send. kErrorBusy A previous request is ongoing.
Related Functions
Found 2 other functions taking a
Info
argument:
Function
Description
ot::MeshCoP::Dataset::ConvertTo() const
Converts the TLV representation to structure representation.
ot::MeshCoP::ActiveDatasetManager::CreateNewNetwork()
Creates a new Operational Dataset to use when forming a new network.
Examples
References
from
examples
Code
Location
Scope
Referrer
Error
DatasetManager
::
SendSetRequest
(
const
Dataset
&
aDataset
)
dataset_manager.cpp:474
Error
DatasetManager
::
SendSetRequest
(
const
Dataset
::
Info
&
aDatasetInfo
,
dataset_manager.cpp:614
Error
SendSetRequest
(
const
Dataset
::
Info
&
aDatasetInfo
,
dataset_manager.hpp:195
Error
SendSetRequest
(
const
Dataset
&
aDataset
)
;
dataset_manager.hpp:286
error
=
SendSetRequest
(
aDataset
)
;
dataset_manager.cpp:460
ot::MeshCoP::DatasetManager
ot::MeshCoP::DatasetManager::SyncLocalWithLeader()
SuccessOrExit
(
error
=
SendSetRequest
(
dataset
)
)
;
dataset_manager.cpp:633
ot::MeshCoP::DatasetManager
ot::MeshCoP::DatasetManager::SendSetRequest()
Call Tree
from
examples
ot::MeshCoP::DatasetManager::SendSetRequest()
is called by 2 functions and calls 8 functions:
ot::MeshCoP::DatasetManager::SyncLocalWithLeader()
ot::MeshCoP::DatasetManager::SendSetRequest()
All items filtered out
ot::MeshCoP::DatasetManager::SendSetRequest()
ot::MeshCoP::Dataset::Dataset()
ot::MeshCoP::Dataset::AppendTlvsFrom()
ot::MeshCoP::Dataset::SetFrom()
ot::MeshCoP::DatasetManager::SendSetRequest()
ot::MeshCoP::Dataset::GetBytes() const
ot::MeshCoP::Dataset::GetLength() const
ot::MeshCoP::DatasetManager::IsActiveDataset() const
ot::Tmf::MessageInfo::SetSockAddrToRlocPeerAddrToLeaderAloc()
All items filtered out
Data Use
from
examples
ot::MeshCoP::DatasetManager::SendSetRequest()
reads 11 variables and writes 1 variable:
ot::kErrorNone
ot::LogLevel::kLogLevelInfo
ot::kErrorNoBufs
ot::kErrorAlready
ot::MeshCoP::DatasetManager::mMgmtPending
ot::Uri::kUriActiveSet
ot::Uri::kUriPendingSet
ot::InstanceLocator::GetInstance() const
ot::Message::Free()
ot::Message::AppendBytes()
ot::MeshCoP::kLogModuleName
All items filtered out
ot::MeshCoP::DatasetManager::SendSetRequest()
ot::MeshCoP::DatasetManager::mMgmtPending
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out