![]() |
0.01.00
|
This class implements handling Announce Begin Requests. More...
#include <src/core/meshcop/announce_begin_client.hpp>
Public Member Functions | |
AnnounceBeginClient (otInstance &aInstance) | |
This constructor initializes the object. | |
otError | SendRequest (uint32_t aChannelMask, uint8_t aCount, uint16_t mPeriod, const Ip6::Address &aAddress) |
This method sends a Announce Begin message. More... | |
![]() | |
otInstance & | GetInstance (void) const |
This method returns a reference to the parent otInstance structure. More... | |
Ip6::Ip6 & | GetIp6 (void) const |
This method returns a reference to the Ip6. More... | |
ThreadNetif & | GetNetif (void) const |
This method returns a reference to the thread network interface. More... | |
Additional Inherited Members | |
![]() | |
InstanceLocator (otInstance &aInstance) | |
This constructor initializes the object. More... | |
This class implements handling Announce Begin Requests.
otError ot::AnnounceBeginClient::SendRequest | ( | uint32_t | aChannelMask, |
uint8_t | aCount, | ||
uint16_t | mPeriod, | ||
const Ip6::Address & | aAddress | ||
) |
This method sends a Announce Begin message.
[in] | aChannelMask | The channel mask value. |
[in] | aCount | The number of energy measurements per channel. |
[in] | aPeriod | The time between energy measurements (milliseconds). |
OT_ERROR_NONE | Successfully enqueued the Announce Begin message. |
OT_ERROR_NO_BUFS | Insufficient buffers to generate a Announce Begin message. |