class NetworkNameManager

Defined at line 176 of file ../../third_party/openthread/src/core/meshcop/network_name.hpp

Manages the Network Name value.

Public Methods

const NetworkName & GetNetworkName ()

Returns the Network Name.

Defined at line 191 of file ../../third_party/openthread/src/core/meshcop/network_name.hpp

const DomainName & GetDomainName ()

Returns the Thread Domain Name.

Defined at line 219 of file ../../third_party/openthread/src/core/meshcop/network_name.hpp

void NetworkNameManager (Instance & aInstance)

Constructor.

Parameters

aInstance [in] A reference to the OpenThread instance.
Error SetNetworkName (const char * aNameString)

Sets the Network Name.

Parameters

aNameString [in] A pointer to a string character array. Must be null terminated.
Error SetNetworkName (const NameData & aNameData)

Sets the Network Name.

Parameters

aNameData [in] A name data (pointer to char buffer and length).
Error SetDomainName (const char * aNameString)

Sets the Thread Domain Name.

Parameters

aNameString [in] A pointer to a string character array. Must be null terminated.
Error SetDomainName (const NameData & aNameData)

Sets the Thread Domain Name.

Parameters

aNameData [in] A name data (pointer to char buffer and length).
bool IsDefaultDomainNameSet ()

Checks whether the Thread Domain Name is currently set to the default name.