nn::uds::CTR::GetNodeInformation Function

Syntax

nn::Result GetNodeInformation(
     NodeInformation * pNodeInfo,
     u16 nodeId
);

Arguments

Name Description
out pNodeInfo Node information. In a future implementation, this will be a structure corresponding to the stored data.
in nodeId Node ID for the targeted node.

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.
ResultInvalidNode The target node does not exist on the network. It is possible you are disconnected.
ResultWirelessOff Entered wireless-disabled mode. Re-initialization is required.
A value other than the above Failed for reasons other than those given above.

Description

Gets information about the specified node.

This function is thread-safe.

Revision History

2011/09/07
Standardized notation for wireless-disabled mode.
2011/03/08
Added a link to Initialize in Return Values.
2010/10/15
Expanded the information on the return values. Changed the members of the NodeInformation structure. For details, see the reference for NodeInformation.
2010/06/14
Initial version.

CONFIDENTIAL