0.01.00
ot::PanIdQueryClient Class Reference

This class implements handling PANID Query Requests. More...

#include <src/core/meshcop/panid_query_client.hpp>

Inheritance diagram for ot::PanIdQueryClient:
ot::InstanceLocator

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
otInstanceGetInstance (void) const
 This method returns a reference to the parent otInstance structure. More...
 
Ip6::Ip6GetIp6 (void) const
 This method returns a reference to the Ip6. More...
 
ThreadNetifGetNetif (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...
 

Detailed Description

This class implements handling PANID Query Requests.

Member Function Documentation

§ SendQuery()

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.

Parameters
[in]aPanIdThe PAN ID to query.
[in]aChannelMaskThe channel mask value.
[in]aAddressA pointer to the IPv6 destination.
[in]aCallbackA pointer to a function called on receiving an Energy Report message.
[in]aContextA pointer to application-specific context.
Return values
OT_ERROR_NONESuccessfully enqueued the PAN ID Query message.
OT_ERROR_NO_BUFSInsufficient buffers to generate a PAN ID Query message.

The documentation for this class was generated from the following file: