mirror of
https://github.com/espressif/openthread.git
synced 2026-08-18 00:19:52 +00:00
Configure PSKd as part of starting the commissioner/joiner role. (#547)
This commit is contained in:
@@ -49,8 +49,13 @@ extern "C" {
|
||||
/**
|
||||
* This function enables the Thread Commissioner role.
|
||||
*
|
||||
* @param[in] aPSKd A pointer to the PSKd.
|
||||
*
|
||||
* @retval kThreadError_None Successfully started the Commissioner role.
|
||||
* @retval kThreadError_InvalidArgs @p aPSKd is invalid.
|
||||
*
|
||||
*/
|
||||
ThreadError otCommissionerStart(void);
|
||||
ThreadError otCommissionerStart(const char *aPSKd);
|
||||
|
||||
/**
|
||||
* This function disables the Thread Commissioner role.
|
||||
|
||||
@@ -49,8 +49,13 @@ extern "C" {
|
||||
/**
|
||||
* This function enables the Thread Joiner role.
|
||||
*
|
||||
* @param[in] aPSKd A pointer to the PSKd.
|
||||
*
|
||||
* @retval kThreadError_None Successfully started the Commissioner role.
|
||||
* @retval kThreadError_InvalidArgs @p aPSKd is invalid.
|
||||
*
|
||||
*/
|
||||
ThreadError otJoinerStart(void);
|
||||
ThreadError otJoinerStart(const char *aPSKd);
|
||||
|
||||
/**
|
||||
* This function disables the Thread Joiner role.
|
||||
|
||||
Reference in New Issue
Block a user