nn::uds::CTR::CreateLocalCommunicationId Function

Syntax

bit32 CreateLocalCommunicationId(
     bit32 uniqueId,
     bool isDemo = false
);

Parameters

Name Description
in uniqueId A unique ID. To communicate between multiple titles, specify either of their unique IDs.
in isDemo Flag for handling cases where the same unique ID is shared by both the final product and download application trial versions. Specify a value of true for download application trial versions if you do not want the final product and download application trial versions to communicate with each other. Note that this value is always specified as false for product versions.

Return Values

The local communication ID.

Description

A local communication ID is generated from a unique ID.

This uses a 20-bit unique ID assigned by Nintendo to generate a 32-bit value (a local communication ID) to use for UDS communication. If Nintendo has not assigned a unique ID to you, use one of the unique IDs for game prototypes (0xFF000 to 0xFF3FF). However, you must get a unique ID from Nintendo for your retail product.

This function is thread-safe.

Revision History

2011/08/03
Changed "trial version" to "download application trial version."
2010/10/15
Changed the text to make Description easier to understand.
2010/09/18
Initial version.

CONFIDENTIAL