ETicket services: Difference between revisions
No edit summary |
|||
| (31 intermediate revisions by 3 users not shown) | |||
| Line 12: | Line 12: | ||
| 3 || DeleteTicket | | 3 || DeleteTicket | ||
|- | |- | ||
| 4 || DeletePersonalizedTicket | | 4 || [1.0.0-13.2.1] DeletePersonalizedTicket | ||
|- | |- | ||
| 5 || DeleteAllCommonTicket | | 5 || DeleteAllCommonTicket | ||
| Line 24: | Line 24: | ||
| 9 || CountCommonTicket | | 9 || CountCommonTicket | ||
|- | |- | ||
| 10 || CountPersonalizedTicket | | 10 || [[#CountPersonalizedTicket|CountPersonalizedTicket]] | ||
|- | |- | ||
| 11 || [6.0.0+] ListCommonTicketRightsIds ([2.0.0-5.1.0] ListCommonTicket) | | 11 || [6.0.0+] ListCommonTicketRightsIds ([2.0.0-5.1.0] ListCommonTicket) | ||
| Line 82: | Line 82: | ||
| 38 || [9.0.0+] OwnTicket3 | | 38 || [9.0.0+] OwnTicket3 | ||
|- | |- | ||
| 39 || [13.0.0+] | | 39 || [13.0.0+] DeleteAllInactivePersonalizedTicket | ||
|- | |- | ||
| 40 || [13.0.0+] | | 40 || [13.0.0+] DeletePrepurchaseRecordByNintendoAccountId | ||
|- | |||
| 101 || [18.0.0+] | |||
|- | |||
| 102 || [18.0.0+] | |||
|- | |||
| 103 || [18.0.0+] | |||
|- | |||
| 104 || [18.0.0+] | |||
|- | |||
| 105 || [20.0.0+] | |||
|- | |||
| 201 || [18.0.0+] | |||
|- | |||
| 202 || [18.0.0+] | |||
|- | |||
| 203 || [18.0.0+] | |||
|- | |||
| 204 || [18.0.0+] | |||
|- | |- | ||
| 501 || [6.0.0+] | | 501 || [6.0.0+] | ||
| Line 106: | Line 124: | ||
| 1002 || [6.0.0+] | | 1002 || [6.0.0+] | ||
|- | |- | ||
| 1003 || [6.0.0+] Returns an [[# | | 1003 || [6.0.0+] Returns an [[#IAsyncValue]]. | ||
|- | |- | ||
| 1004 || [6.0.0+] | | 1004 || [6.0.0+] | ||
| Line 141: | Line 159: | ||
|- | |- | ||
| 1021 || [9.0.0+] | | 1021 || [9.0.0+] | ||
|- | |||
| 1022 || [15.0.0+] | |||
|- | |||
| 1023 || [17.0.0+] | |||
|- | |||
| 1024 || [17.0.0+] | |||
|- | |||
| 1025 || [17.0.0+] | |||
|- | |||
| 1026 || [17.0.0+] | |||
|- | |||
| 1027 || [17.0.0+] | |||
|- | |||
| 1028 || [18.0.0+] | |||
|- | |||
| 1029 || [19.0.0+] | |||
|- | |||
| 1030 || [20.0.0+] | |||
|- | |||
| 1031 || [20.0.0+] | |||
|- | |||
| 1032 || [20.0.0+] | |||
|- | |||
| 1033 || [20.0.0+] | |||
|- | |||
| 1034 || [20.0.0+] | |||
|- | |||
| 1035 || [20.0.0+] | |||
|- | |||
| 1036 || [20.0.0+] | |||
|- | |||
| 1037 || [20.0.0+] | |||
|- | |||
| 1038 || [21.0.0+] | |||
|- | |- | ||
| 1501 || [6.0.0+] | | 1501 || [6.0.0+] | ||
| Line 146: | Line 198: | ||
| 1502 || [6.0.0+] | | 1502 || [6.0.0+] | ||
|- | |- | ||
| 1503 || [6.0.0+] | | 1503 || [6.0.0+] | ||
|- | |- | ||
| 1504 || [6.0.0+] | | 1504 || [6.0.0+] | ||
| Line 154: | Line 206: | ||
| 1506 || [13.0.0+] | | 1506 || [13.0.0+] | ||
|- | |- | ||
| 2000 || [6.0.0+] No input, returns an [[# | | 1601 || [20.0.0+] | ||
|- | |||
| 1602 || [20.0.0+] | |||
|- | |||
| 1603 || [20.0.0+] | |||
|- | |||
| 1604 || [20.0.0+] | |||
|- | |||
| 1605 || [20.0.0+] | |||
|- | |||
| 1606 || [20.0.0+] | |||
|- | |||
| 2000 || [6.0.0+] No input, returns an [[#IActiveRightsContext]]. | |||
|- | |- | ||
| 2001 || [9.0.0+] No input, returns an [[# | | 2001 || [9.0.0+] No input, returns an [[#IActiveRightsContext]]. | ||
|- | |- | ||
| 2002 || [13.0.0 | | 2002 || [13.0.0-16.1.0] | ||
|- | |- | ||
| 2003 || [13.0.0 | | 2003 || [13.0.0-16.1.0] | ||
|- | |- | ||
| 2100 || [7.0.0+] | | 2100 || [7.0.0+] | ||
| Line 170: | Line 234: | ||
| 2601 || [13.0.0+] | | 2601 || [13.0.0+] | ||
|- | |- | ||
| 3001 || [7.0.0 | | 3001 || [21.0.0+] ([7.0.0-15.0.1] ) | ||
|- | |- | ||
| 3002 || [7.0.0 | | 3002 || [7.0.0-15.0.1] | ||
|} | |} | ||
== CountPersonalizedTicket == | |||
[S2] This just returns Result 0x3F4A91. | |||
== ListPrepurchaseRecordInfo == | == ListPrepurchaseRecordInfo == | ||
| Line 180: | Line 247: | ||
== GetEncryptedTicketData == | == GetEncryptedTicketData == | ||
[6.0.0+] Now returns an additional 8-bytes. | [6.0.0+] Now returns an additional 8-bytes. | ||
== Cmd101 == | |||
On NX this just returns Result 0x3F4A91. | |||
== Cmd102 == | |||
On NX this just returns the same Result as [[#Cmd101]]. | |||
== Cmd103 == | |||
On NX this just returns the same Result as [[#Cmd101]]. | |||
== Cmd104 == | |||
On NX this just returns the same Result as [[#Cmd101]]. | |||
== Cmd105 == | |||
On NX this just returns the same Result as [[#Cmd101]]. | |||
== Cmd201 == | |||
On NX this just returns the same Result as [[#Cmd101]]. | |||
== Cmd202 == | |||
On NX this just returns the same Result as [[#Cmd101]]. | |||
== Cmd203 == | |||
On NX this just returns the same Result as [[#Cmd101]]. | |||
[S2] This [[Settings_services|requires]] [[Error_codes|DebugMode]]. | |||
== Cmd204 == | |||
On NX this just returns the same Result as [[#Cmd101]]. | |||
[S2] This [[Settings_services|requires]] [[Error_codes|DebugMode]]. | |||
== GetTitleKey == | == GetTitleKey == | ||
[3.0.0+] GetTitleKey now takes an additional 4-bytes of input. | [3.0.0+] GetTitleKey now takes an additional 4-bytes of input. | ||
== | == Cmd1027 == | ||
Takes 0x10-bytes of input, a type-0x6 output buffer containing an array of 0x10-byte entries, and a type-0x5 input buffer. Returns 4-bytes of output. | |||
[19.0.0+] Takes 8-bytes of input, a type-0x6 output buffer containing an array of 0x10-byte entries, a type-0x5 input buffer containing an array of 8-byte entries, and a type-0x5 input buffer. Returns 4-bytes of output. | |||
== Cmd1501 == | |||
No input, returns an output u64. | |||
Generates random data, etc. | |||
Used by [[LDN_services|ldn]] with the authentication Challenge, for AccessPoint during CreateNetwork. | |||
== Cmd1502 == | |||
Takes a type-0x16 output buffer containing a 0x100-byte struct, a type-0x15 input buffer containing a 0x300-byte struct, and a type-0x5 input buffer containing an array of a 0x300-byte struct. | |||
Used by [[LDN_services|ldn]] with the authentication Challenge. Used by the AccessPoint when handling a received authentication request. | |||
... | |||
The 0x10-bytes at input+0x50 is copied to out+0x50. | |||
... | |||
[S2] This writes the same 0x10-bytes as Cmd1503, to out+0x60. | |||
== Cmd1503 == | |||
Takes an input u64 and a type-0x16 output buffer containing a 0x300-byte struct. | |||
Creates an authentication challenge for [[LDN_services|ldn]]. Used by the Station when sending an authentication request, also used by the AccessPoint during CreateNetwork. | |||
[S2] 0x10-bytes at outbuf+0x50 is now set. This is 0x3-bytes of unknown, then the remaining 0xD-bytes match the output of S2 [[SPL_services|spl]] cmd2. | |||
== Cmd1504 == | |||
Takes a type-0x15 input buffer containing a 0x100-byte struct. | |||
Used by [[LDN_services|ldn]] as Station with the authentication Challenge response data received from the AccessPoint. | |||
== IAsyncValue == | |||
This is "nn::es::detail::IAsyncValue". | |||
This was added with [6.0.0+]. | This was added with [6.0.0+]. | ||
| Line 198: | Line 335: | ||
|} | |} | ||
== | == IActiveRightsContext == | ||
This is "nn::es::IActiveRightsContext". | |||
This was added with [6.0.0+]. | This was added with [6.0.0+]. | ||
| Line 213: | Line 352: | ||
| 4 || | | 4 || | ||
|- | |- | ||
| 5 || | | 5 || [6.0.0-14.1.2] | ||
|- | |- | ||
| 6 || | | 6 || | ||
| Line 234: | Line 373: | ||
|- | |- | ||
| 15 || [13.0.0+] | | 15 || [13.0.0+] | ||
|- | |||
| 16 || [13.1.0+] | |||
|- | |||
| 17 || [14.0.0+] | |||
|- | |||
| 18 || [16.0.0+] | |||
|- | |||
| 19 || [21.0.0+] | |||
|- | |- | ||
| 100 || | | 100 || | ||
| Line 253: | Line 400: | ||
| 211 || | | 211 || | ||
|- | |- | ||
| 212 || [13.0.0 | | 212 || [13.0.0-16.1.0] | ||
|- | |- | ||
| 213 || [13.0.0+] | | 213 || [13.0.0+] | ||
|- | |||
| 214 || [14.0.0+] | |||
|- | |||
| 215 || [14.0.0+] | |||
|- | |||
| 216 || [15.0.0+] | |||
|- | |- | ||
| 300 || [13.0.0+] | | 300 || [13.0.0+] | ||
| Line 272: | Line 425: | ||
= ndrm:lu = | = ndrm:lu = | ||
This is "nn::ndrm::low::detail::INdrmLowUserInterface". | |||
This was added with [13.0.0+]. | This was added with [13.0.0+]. | ||
| Line 290: | Line 445: | ||
= ndrm:la = | = ndrm:la = | ||
This is "nn::ndrm::low::detail::INdrmLowAdminInterface". | |||
This was added with [13.0.0+]. | This was added with [13.0.0+]. | ||
| Line 359: | Line 516: | ||
|- | |- | ||
| 32 || | | 32 || | ||
|- | |||
| 33 || [13.1.0+] | |||
|- | |||
| 34 || [13.1.0+] | |||
|- | |||
| 35 || [13.1.0+] | |||
|- | |||
| 36 || [13.1.0+] | |||
|- | |||
| 37 || [14.0.0+] | |||
|- | |||
| 38 || [14.0.0+] | |||
|- | |||
| 39 || [14.0.0+] | |||
|- | |||
| 40 || [15.0.0+] | |||
|- | |||
| 42 || [15.0.0+] | |||
|- | |||
| 43 || [15.0.0+] | |||
|- | |||
| 44 || [15.0.0+] | |||
|- | |||
| 45 || [17.0.0+] | |||
|- | |||
| 46 || [18.0.0+] | |||
|- | |||
| 47 || [20.0.0+] | |||
|- | |||
| 48 || [20.0.0+] | |||
|- | |||
| 49 || [20.0.0+] | |||
|- | |||
| 50 || [20.0.0+] | |||
|- | |||
| 51 || [21.0.0+] | |||
|- | |- | ||
| 8000 || | | 8000 || | ||
| Line 366: | Line 559: | ||
| 8002 || | | 8002 || | ||
|- | |- | ||
| 8003 || | | 8003 || [13.0.0-13.2.1] | ||
|} | |} | ||
== Cmd3 == | |||
Takes a total of 8-bytes of input and a type-0x5 input buffer, no output. | |||
[15.0.0+] Now takes a total of 0x18-bytes of input and a type-0x5 input buffer, no output. | |||