Add vendor information to JOIN_FIN.req message. (#1140)

This commit is contained in:
Jonathan Hui
2017-01-13 09:10:17 -08:00
committed by GitHub
parent 33177fe937
commit c943da9b4b
13 changed files with 599 additions and 76 deletions
+3 -1
View File
@@ -2439,7 +2439,9 @@ void Interpreter::ProcessJoiner(int argc, char *argv[])
const char *provisioningUrl;
VerifyOrExit(argc > 1, error = kThreadError_Parse);
provisioningUrl = (argc > 2) ? argv[2] : NULL;
otJoinerStart(mInstance, argv[1], provisioningUrl, &Interpreter::s_HandleJoinerCallback, this);
otJoinerStart(mInstance, argv[1], provisioningUrl,
PACKAGE_NAME, PLATFORM_INFO, PACKAGE_VERSION, NULL,
&Interpreter::s_HandleJoinerCallback, this);
}
else if (strcmp(argv[0], "stop") == 0)
{