ETicket services: Difference between revisions
| (20 intermediate revisions by 3 users not shown) | |||
| 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 85: | Line 85: | ||
|- | |- | ||
| 40 || [13.0.0+] DeletePrepurchaseRecordByNintendoAccountId | | 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 143: | Line 161: | ||
|- | |- | ||
| 1022 || [15.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 148: | 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 155: | Line 205: | ||
|- | |- | ||
| 1506 || [13.0.0+] | | 1506 || [13.0.0+] | ||
|- | |||
| 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]]. | | 2000 || [6.0.0+] No input, returns an [[#IActiveRightsContext]]. | ||
| Line 160: | Line 222: | ||
| 2001 || [9.0.0+] No input, returns an [[#IActiveRightsContext]]. | | 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 172: | 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 182: | 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 == | == IAsyncValue == | ||
| Line 244: | Line 377: | ||
|- | |- | ||
| 17 || [14.0.0+] | | 17 || [14.0.0+] | ||
|- | |||
| 18 || [16.0.0+] | |||
|- | |||
| 19 || [21.0.0+] | |||
|- | |- | ||
| 100 || | | 100 || | ||
| Line 263: | Line 400: | ||
| 211 || | | 211 || | ||
|- | |- | ||
| 212 || [13.0.0 | | 212 || [13.0.0-16.1.0] | ||
|- | |- | ||
| 213 || [13.0.0+] | | 213 || [13.0.0+] | ||
| Line 401: | Line 538: | ||
|- | |- | ||
| 44 || [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 || | ||