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
ResultSuccess Process was successful.
ResultNotInitialized The library is not initialized. Execute the nn::uds::Initialize function.
A value other than the above. Failed for reasons other than those given above.

Description

Returns the current connection status.

You only need to call this when a state-change notification event obtained by the Initialize function is signaled.

Revision History

2011/04/08
Added a description about the frequency at which the function is called.
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