nn::uds::CTR::ScrambledLocalFriendCode Structure

Syntax

struct ScrambledLocalFriendCode
{
   bit16 value[SCRAMBLED_LOCAL_FRINED_CODE_SIZE/sizeof(bit16)];
};

Description

This structure stores information that can be converted to a local friend code using the Friends library.

To simplify the use of friend features in local communications and at the same time protect user privacy and prevent individual tracking, you can query the friends library and get the local friend code as represented by a data array of nn::uds::SCRAMBLED_LOCAL_FRINED_CODE_SIZE bytes. This way you do not use the local friend code from the UDS library.

Even on the same device, this data will have a different value every time the application starts, so it cannot be used to identify devices after the application has started. If there is any change to the node ID in UDS communication and DLP communication, the scrambledLocalFriendCode changes even on the same device. However, the first 8 bytes does not change, so you can match this to identify devices.

Member Variables

value bit16 Data array that can be converted into the local friend code.

Revision History

2012/02/16
Changed the description of how to identify devices between UDS and DLP.
2012/01/10
Added a description of how to identify a device between UDS and Download Play.
2011/03/08
Revised Syntax.
2010/10/15
Initial version.

CONFIDENTIAL