nn::uds::CTR::GetConnectionStatus Function

Syntax

nn::Result GetConnectionStatus(
     ConnectionStatus * pStatus
);

Arguments

Name Description
out pStatus The current connection state.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Process was successful.
ResultNotInitialized The library is not initialized. Execute the Initialize function.
A value other than the above Failed for reasons other than those given above.

Description

Returns the current connection status.

It is all right to only call this function when a status-change notification event obtained by the Initialize function is signaled.

Revision History

2011/04/08
Added text about the frequency of calls to the function in the Description.
2011/03/08
Added a link to Initialize in Return Values.
2010/10/15
Expanded the information on the return values. Revised the Description to make it easier to understand.
2010/06/14
Initial version.

CONFIDENTIAL