nn::uds::CTR::CreateEndpoint Function

Syntax

nn::Result CreateEndpoint(
     EndpointDescriptor * pEndpointDesc
);

Arguments

Name Description
out pEndpointDesc Descriptor indicating the endpoint to create.

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.
ResultOutOfResource Already more than the stipulated number of enpoints have been generated. Destroy an existing endpoint.
ResultWirelessOff Transitioned to wireless-disabled mode. Re-initialization is required.
A value other than the above Failed for reasons other than those given above.

Description

Creates a network endpoint and returns the corresponding descriptor.

[Provisional spec] Currently, up to 16 endpoints can be created.

Revision History

2011/03/08
Added a link to Initialize in Return Values.
2010/10/15
Expanded the information on the return values.
2010/06/14
Initial version.

CONFIDENTIAL