![]() |
0.01.00
|
This file implements the OpenThread Commissioner API. More...
#include "openthread-core-config.h"
#include <openthread/commissioner.h>
#include "openthread-instance.h"
Functions | |
otError | otCommissionerStart (otInstance *aInstance) |
This function enables the Thread Commissioner role. More... | |
otError | otCommissionerStop (otInstance *aInstance) |
This function disables the Thread Commissioner role. More... | |
otError | otCommissionerAddJoiner (otInstance *aInstance, const otExtAddress *aEui64, const char *aPSKd, uint32_t aTimeout) |
This function adds a Joiner entry. More... | |
otError | otCommissionerRemoveJoiner (otInstance *aInstance, const otExtAddress *aEui64) |
This function removes a Joiner entry. More... | |
otError | otCommissionerSetProvisioningUrl (otInstance *aInstance, const char *aProvisioningUrl) |
This function sets the Provisioning URL. More... | |
otError | otCommissionerAnnounceBegin (otInstance *aInstance, uint32_t aChannelMask, uint8_t aCount, uint16_t aPeriod, const otIp6Address *aAddress) |
This function sends an Announce Begin message. More... | |
otError | otCommissionerEnergyScan (otInstance *aInstance, uint32_t aChannelMask, uint8_t aCount, uint16_t aPeriod, uint16_t aScanDuration, const otIp6Address *aAddress, otCommissionerEnergyReportCallback aCallback, void *aContext) |
This function sends an Energy Scan Query message. More... | |
otError | otCommissionerPanIdQuery (otInstance *aInstance, uint16_t aPanId, uint32_t aChannelMask, const otIp6Address *aAddress, otCommissionerPanIdConflictCallback aCallback, void *aContext) |
This function sends a PAN ID Query message. More... | |
otError | otCommissionerSendMgmtGet (otInstance *aInstance, const uint8_t *aTlvs, uint8_t aLength) |
This function sends MGMT_COMMISSIONER_GET. More... | |
otError | otCommissionerSendMgmtSet (otInstance *aInstance, const otCommissioningDataset *aDataset, const uint8_t *aTlvs, uint8_t aLength) |
This function sends MGMT_COMMISSIONER_SET. More... | |
uint16_t | otCommissionerGetSessionId (otInstance *aInstance) |
This function returns the Commissioner Session ID. More... | |
otCommissionerState | otCommissionerGetState (otInstance *aInstance) |
This function returns the Commissioner State. More... | |
otError | otCommissionerGeneratePSKc (otInstance *aInstance, const char *aPassPhrase, const char *aNetworkName, const uint8_t *aExtPanId, uint8_t *aPSKc) |
This method generates PSKc. More... | |
This file implements the OpenThread Commissioner API.