nn::dlp::CTR::FakeClient::GetPassphrase Member Function

Syntax

static nn::Result GetPassphrase(
     char * pPassphrase
);

Arguments

Name Description
out pPassphrase Returns the passphrase. Set the size of the buffer to store the passphrase to MAX_CHILD_UDS_PASSPHRASE_LENGTH or more.

Return Values

The following Result values are returned as the result of the operation.

Value Description
ResultSuccess The passphrase has been obtained successfully.
ResultInvalidState The state is invalid. Can only be used with CLIENT_STATE_REBOOTING status.

Description

Gets the UDS passphrase to be used when an opponent child device reconnects to a parent.


CONFIDENTIAL