![]() |
0.01.00
|
This class implements handling PANID Query Requests. More...
#include <src/core/meshcop/panid_query_client.hpp>
Public Member Functions | |
| PanIdQueryClient (otInstance &aInstance) | |
| This constructor initializes the object. | |
| otError | SendQuery (uint16_t aPanId, uint32_t aChannelMask, const Ip6::Address &aAddress, otCommissionerPanIdConflictCallback aCallback, void *aContext) |
| This method sends a PAN ID Query message. More... | |
Public Member Functions inherited from ot::InstanceLocator | |
| 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 | |
Protected Member Functions inherited from ot::InstanceLocator | |
| InstanceLocator (otInstance &aInstance) | |
| This constructor initializes the object. More... | |
This class implements handling PANID Query Requests.
| otError ot::PanIdQueryClient::SendQuery | ( | uint16_t | aPanId, |
| uint32_t | aChannelMask, | ||
| const Ip6::Address & | aAddress, | ||
| otCommissionerPanIdConflictCallback | aCallback, | ||
| void * | aContext | ||
| ) |
This method sends a PAN ID Query message.
| [in] | aPanId | The PAN ID to query. |
| [in] | aChannelMask | The channel mask value. |
| [in] | aAddress | A pointer to the IPv6 destination. |
| [in] | aCallback | A pointer to a function called on receiving an Energy Report message. |
| [in] | aContext | A pointer to application-specific context. |
| OT_ERROR_NONE | Successfully enqueued the PAN ID Query message. |
| OT_ERROR_NO_BUFS | Insufficient buffers to generate a PAN ID Query message. |