Friend Services

Friend Services

Friend Service “frd:u” #

Command HeaderDescription
0x00010000HasLoggedIn
0x00020000IsOnline
0x00030002Login
0x00040000Logout
0x00050000GetMyFriendKey
0x00060000GetMyPreference
0x00070000GetMyProfile
0x00080000GetMyPresence
0x00090000GetMyScreenName
0x000A0000GetMyMii
0x000B0000GetMyLocalAccountId
0x000C0000GetMyPlayingGame
0x000D0000GetMyFavoriteGame
0x000E0000GetMyNcPrincipalId
0x000F0000GetMyComment
0x00100040GetMyPassword
0x00110080GetFriendKeyList
0x00120042GetFriendPresence
0x00130142GetFriendScreenName
0x00140044GetFriendMii
0x00150042GetFriendProfile
0x00160042GetFriendRelationship
0x00170042GetFriendAttributeFlags
0x00180044GetFriendPlayingGame
0x00190042GetFriendFavoriteGame
0x001A00C4GetFriendInfo
0x001B0080IsIncludedInFriendList
0x001C0042UnscrambleLocalFriendCode
0x001D0002UpdateGameModeDescription
0x001E02C2UpdateGameMode
0x001F0042SendInvitation
0x00200002AttachToEventNotification
0x00210040SetNotificationMask
0x00220040GetEventNotification
0x00230000GetLastResponseResult
0x00240040PrincipalIdToFriendCode
0x00250080FriendCodeToPrincipalId
0x00260080IsValidFriendCode
0x00270040ResultToErrorCode
0x00280244RequestGameAuthentication
0x00290000GetGameAuthenticationData
0x002A0204RequestServiceLocator
0x002B0000GetServiceLocatorData
0x002C0002DetectNatProperties
0x002D0000GetNatProperties
0x002E0000GetServerTimeInterval
0x002F0040AllowHalfAwake
0x00300000GetServerTypes
0x00310082GetFriendComment
0x00320042SetClientSdkVersion
0x00330000GetMyApproachContext
0x00340046AddFriendWithApproach
0x00350082DecryptApproachContext
0x00360000GetExtendedNatProperties

“frd:n” #

Command HeaderDescription
0x00010000GetHandleOfNdmStatusChangedEvent
0x00020000Resume
0x00030040SuspendAsync
0x00040000QueryStatus

“frd:a” #

This contains a similar (probably the same) command handler from 0x0001…. to 0x002F…. as them in frd:u. In addition, it also contains

Command HeaderDescription
0x04010100CreateLocalAccount
0x04020040?
0x04030040SetLocalAccountId
0x04040000?
0x04050000Used in creating the user Mii. No cmdbuff parameters.
0x04060042AddFriendOnline
0x04070D80AddFriendOffline
0x040802C0?
0x04090100RemoveFriend
0x040A0100UpdatePlayingGame
0x040B00C0UpdatePreferences
0x040C0800UpdateMii
0x040D0100UpdateFavoriteGame
0x040E0040UpdateNcPrincipalId
0x040F…UpdateComment
0x04100000?

HTTPS Requests #

Trusted RootCAs #

No RootCertChain(s) are used. For the nasc site, friends-module uses HTTPC:AddDefaultCert with the following certIDs: 0x1, 0x2, and 0x3.

Server Types #

The server type is stored internally as a combination of two values, the first value represents the server type letter and the second value is the number that follows it. For example, the production server type is “L1”, so the first value is 0 and the second value is 1.

🔗 Official servers only support the letters L, C, S, D, I, T, J or U.

ValueServer Type Letter
0L
1C
2S
3D
4I
5T
6U (fallback to default value)
7J
8X
9A
10B
11C
12D
13E
14F
15G
16H
17I
18J
19K
20L
21M
22N
23O
24P
25Q
>=26U

Category:Services