mirror of
https://github.com/espressif/openthread.git
synced 2026-08-13 14:17:47 +00:00
Add callback to indicate when joiner operation completes. (#1094)
This commit is contained in:
@@ -949,7 +949,8 @@ OTNODEAPI int32_t OTCALL otNodeJoinerStart(otNode* aNode, const char *aPSKd, con
|
||||
otLogFuncEntryMsg("[%d] %s %s", aNode->mId, aPSKd, aProvisioningUrl);
|
||||
printf("%d: joiner start %s %s\r\n", aNode->mId, aPSKd, aProvisioningUrl);
|
||||
|
||||
auto error = otJoinerStart(aNode->mInstance, aPSKd, aProvisioningUrl);
|
||||
// TODO: handle the joiner completion callback
|
||||
auto error = otJoinerStart(aNode->mInstance, aPSKd, aProvisioningUrl, NULL, NULL);
|
||||
|
||||
otLogFuncExit();
|
||||
return error;
|
||||
|
||||
Reference in New Issue
Block a user