Configure PSKd as part of starting the commissioner/joiner role. (#547)

This commit is contained in:
Jonathan Hui
2016-09-08 20:33:26 -07:00
committed by GitHub
parent f45a63dd46
commit a78f91ebdf
10 changed files with 72 additions and 15 deletions
+6 -1
View File
@@ -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.
+6 -1
View File
@@ -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.