Skip to content

Error when ProvisioningUrl passed to otJoinerStart() is null #7891

Closed Answered by abtink
OlivierGre asked this question in Q&A
Discussion options

You must be logged in to vote

@OlivierGre this line here does allow it to be nullptr. It verifies it to be either nullptr or a valid UTF8 (and exits if it is not).

VerifyOrExit(aProvisioningUrl == nullptr || IsValidUtf8String(aProvisioningUrl), error = kErrorInvalidArgs);

The PrepareJoinerFinalizeMessage() also seem to allow it to be nullptr.

May be the error is caused by something else.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jwhui
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7890 on July 11, 2022 17:49.