Difference between revisions of "OLSC services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 156: Line 156:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name || Notes
+
! Cmd || Name
 
|-
 
|-
| 0 || GetNativeHandle ||
+
| 0 || GetNativeHandle
 
|}
 
|}
  
Line 212: Line 212:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name || Notes
+
! Cmd || Name
 
|-
 
|-
| 0 || GetResult ||
+
| 0 || GetResult
 
|-
 
|-
| 1 || Cancel ||
+
| 1 || Cancel
 
|-
 
|-
| 2 || IsAvailable ||
+
| 2 || IsAvailable
 
|-
 
|-
| 3 || GetSystemEvent ||
+
| 3 || GetSystemEvent
 
|}
 
|}
  
Line 256: Line 256:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name || Notes
+
! Cmd || Name
 
|-
 
|-
| 0 || Update ||
+
| 0 || Update
 
|}
 
|}
  
Line 268: Line 268:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name || Notes
+
! Cmd || Name
 
|-
 
|-
| 0 || ||
+
| 0 || Initialize
 
|-
 
|-
| 10 || || Takes a total of 0x10-bytes of input, returns an output [[#IAsyncResult]].
+
| 10 || [[#VerifySaveDataBackupLicenseAsync]]
 
|-
 
|-
| 13 || ||
+
| 13 || GetSaveDataBackupSetting
 
|-
 
|-
| 14 || ||
+
| 14 || SetSaveDataBackupSettingEnabled
 
|-
 
|-
| 15 || ||
+
| 15 || SetCustomData
 
|-
 
|-
| 16 || ||
+
| 16 || DeleteSaveDataBackupSetting
 
|-
 
|-
| 18 || ||
+
| 18 || GetSaveDataBackupInfoCache
 
|-
 
|-
| 19 || || Takes a total of 0x10-bytes of input, returns an output [[#IAsyncResult]].
+
| 19 || [[#UpdateSaveDataBackupInfoCacheAsync]]
 
|-
 
|-
| 22 || || Takes a total of 0x18-bytes of input, returns an output [[#IAsyncResult]].
+
| 22 || [[#DeleteSaveDataBackupAsync]]
 
|-
 
|-
| 25 || || Takes a total of 0x18-bytes of input, a handle, returns an output [[#IAsyncListData]].
+
| 25 || [[#ListDownloadableSaveDataBackupInfoAsync]]
 
|-
 
|-
| 26 || || Takes a total of 0x18-bytes of input, returns an output [[#IAsyncTransferRequest]].
+
| 26 || [[#DownloadSaveDataBackupAsync]]
 
|-
 
|-
| 9010 || || Takes a total of 0x10-bytes of input, returns an output [[#IAsyncResult]].
+
| 9010 || [[#VerifySaveDataBackupLicenseAsyncForDebug]]
 
|-
 
|-
| 9013 || ||
+
| 9013 || GetSaveDataBackupSettingForDebug
 
|-
 
|-
| 9014 || ||
+
| 9014 || SetSaveDataBackupSettingEnabledForDebug
 
|-
 
|-
| 9015 || ||
+
| 9015 || SetCustomDataForDebug
 
|-
 
|-
| 9016 || ||
+
| 9016 || DeleteSaveDataBackupSettingForDebug
 
|-
 
|-
| 9018 || ||
+
| 9018 || GetSaveDataBackupInfoCacheForDebug
 
|-
 
|-
| 9019 || || Takes a total of 0x10-bytes of input, returns an output [[#IAsyncResult]].
+
| 9019 || [[#UpdateSaveDataBackupInfoCacheAsyncForDebug]]
 
|-
 
|-
| 9022 || || Takes a total of 0x18-bytes of input, returns an output [[#IAsyncResult]].
+
| 9022 || [[#DeleteSaveDataBackupAsyncForDebug]]
 
|-
 
|-
| 9025 || || Takes a total of 0x18-bytes of input, a handle, returns an output [[#IAsyncListData]].
+
| 9025 || [[#ListDownloadableSaveDataBackupInfoAsyncForDebug]]
 
|-
 
|-
| 9026 || || Takes a total of 0x18-bytes of input, returns an output [[#IAsyncTransferRequest]].
+
| 9026 || [[#DownloadSaveDataBackupAsyncForDebug]]
 
|}
 
|}
 +
 +
== VerifySaveDataBackupLicenseAsync ==
 +
Takes a total of 0x10-bytes of input, returns an output [[#IAsyncResult]].
 +
 +
== UpdateSaveDataBackupInfoCacheAsync ==
 +
Takes a total of 0x10-bytes of input, returns an output [[#IAsyncResult]].
 +
 +
== DeleteSaveDataBackupAsync ==
 +
Takes a total of 0x18-bytes of input, returns an output [[#IAsyncResult]].
 +
 +
== ListDownloadableSaveDataBackupInfoAsync ==
 +
Takes a total of 0x18-bytes of input, a handle, returns an output [[#IAsyncListData]].
 +
 +
== DownloadSaveDataBackupAsync ==
 +
Takes a total of 0x18-bytes of input, returns an output [[#IAsyncTransferRequest]].
 +
 +
== VerifySaveDataBackupLicenseAsyncForDebug ==
 +
Same as [[#VerifySaveDataBackupLicenseAsync]].
 +
 +
== UpdateSaveDataBackupInfoCacheAsyncForDebug ==
 +
Same as [[#UpdateSaveDataBackupInfoCacheAsync]].
 +
 +
== DeleteSaveDataBackupAsyncForDebug ==
 +
Same as [[#DeleteSaveDataBackupAsync]].
 +
 +
== ListDownloadableSaveDataBackupInfoAsyncForDebug ==
 +
Same as [[#ListDownloadableSaveDataBackupInfoAsync]].
 +
 +
== DownloadSaveDataBackupAsyncForDebug ==
 +
Same as [[#DownloadSaveDataBackupAsync]].
  
 
== IAsyncListData ==
 
== IAsyncListData ==
Line 320: Line 350:
 
! Cmd || Name || Notes
 
! Cmd || Name || Notes
 
|-
 
|-
| 0 || ||
+
| 0 || GetResult
 
|-
 
|-
| 1 || ||
+
| 1 || Cancel
 
|-
 
|-
| 2 || ||
+
| 2 || IsAvailable
 
|-
 
|-
| 3 || ||
+
| 3 || GetSystemEvent
 
|-
 
|-
| 100 || ||
+
| 100 || GetDataCount
 
|-
 
|-
| 101 || ||
+
| 101 || GetData
 
|}
 
|}
  
Line 338: Line 368:
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name || Notes
+
! Cmd || Name
 
|-
 
|-
| 0 || ||
+
| 0 || GetResult
 
|-
 
|-
| 1 || ||
+
| 1 || Cancel
 
|-
 
|-
| 2 || ||
+
| 2 || IsAvailable
 
|-
 
|-
| 3 || ||
+
| 3 || GetSystemEvent
 
|-
 
|-
| 100 || ||
+
| 100 || GetOperationProgressInfo
 
|}
 
|}
  
 
[[Category:Services]]
 
[[Category:Services]]

Revision as of 19:06, 7 June 2020

OLSC (OnLine Savedata Cloud?) is a sysmodule designed for handling the new online savedata cloud backup system.

olsc:s

This is "nn::olsc::srv::IOlscServiceForSystemService".

Cmd Name Notes
0 Returns an #ITransferTaskListController
1 Returns an #IRemoteStorageController
2 Returns an #IDaemonController
10
11
12
100
101
102
103
104 [7.0.0+] Returns an #INativeHandleHolder
105 [8.0.0+]
200
201
202 [6.0.0-7.0.1] Returns an #IAsyncResult
203 [7.0.0+] Returns an #IAsyncResult
204 [7.0.0+]
300 [8.0.0+]
301 [8.0.0+]
900
902
903
904
905
906
907
908
909
910 [8.0.0+]
1000 [7.0.0-8.1.0] Returns an #IAsyncResult
1010 [7.0.0-8.1.0]
1011 [7.0.0-8.1.0]
1012 [7.0.0-8.1.0]
1013 [7.0.0-8.1.0]
1014 [7.0.0-8.1.0]
1020 [7.0.0-8.1.0] Returns an #IAsyncResult
1021 [7.0.0-8.1.0] Returns an #IAsyncResult
1022 [7.0.0-8.1.0] Returns an #IAsyncResult
1023 [7.0.0-8.1.0] Returns an #IAsyncResult
1024 [7.0.0-8.1.0]
1100 [9.0.0+] Returns an #IAsyncResult
1110 [9.0.0+]
1111 [9.0.0+]
1112 [9.0.0+]
1113 [9.0.0+]
1114 [9.0.0+]
1120 [9.0.0+] Returns an #IAsyncResult
1121 [9.0.0+] Returns an #IAsyncResult
1122 [9.0.0+] Returns an #IAsyncResult
1123 [9.0.0+] Returns an #IAsyncResult
1124 [9.0.0+]

ITransferTaskListController

This is "nn::olsc::srv::ITransferTaskListController".

Cmd Name Notes
0
1
2
3
4
5 Returns an #INativeHandleHolder
6
7
8 Returns an #IStopperObject
9 Returns an #INativeHandleHolder
10
11
12
13 [9.0.0+]
14 [9.0.0+]
15 [9.0.0+]

INativeHandleHolder

This is "nn::olsc::srv::INativeHandleHolder".

Cmd Name
0 GetNativeHandle

IRemoteStorageController

This is "nn::olsc::srv::IRemoteStorageController".

Cmd Name Notes
0
1
2 [6.0.0-7.0.1]
3
4 [6.0.0-7.0.1]
6
7
8 Returns an #IAsyncResult
9 Returns an #IAsyncResult
10
11 Returns an #IAsyncResult
12
13 Returns an #IAsyncResult
14
15
16 Returns an #IAsyncResult
17 [7.0.0+]
18 [7.0.0+]
19 [7.0.0+] Returns an #INativeHandleHolder.

IAsyncResult

This is "nn::olsc::srv::IAsyncResult".

Cmd Name
0 GetResult
1 Cancel
2 IsAvailable
3 GetSystemEvent

IDaemonController

This is "nn::olsc::srv::IDaemonController".

Cmd Name Notes
0
1
2
3
4
8
9
10 Returns an #IForbiddenSaveDataIndication
11 Returns an #IStopperObject
12

IForbiddenSaveDataIndication

This is "nn::olsc::srv::IForbiddenSaveDataIndication".

Cmd Name
0 Update

olsc:u

This is "nn::olsc::srv::IOlscServiceForApplication".

This was added with [10.0.0+].

Cmd Name
0 Initialize
10 #VerifySaveDataBackupLicenseAsync
13 GetSaveDataBackupSetting
14 SetSaveDataBackupSettingEnabled
15 SetCustomData
16 DeleteSaveDataBackupSetting
18 GetSaveDataBackupInfoCache
19 #UpdateSaveDataBackupInfoCacheAsync
22 #DeleteSaveDataBackupAsync
25 #ListDownloadableSaveDataBackupInfoAsync
26 #DownloadSaveDataBackupAsync
9010 #VerifySaveDataBackupLicenseAsyncForDebug
9013 GetSaveDataBackupSettingForDebug
9014 SetSaveDataBackupSettingEnabledForDebug
9015 SetCustomDataForDebug
9016 DeleteSaveDataBackupSettingForDebug
9018 GetSaveDataBackupInfoCacheForDebug
9019 #UpdateSaveDataBackupInfoCacheAsyncForDebug
9022 #DeleteSaveDataBackupAsyncForDebug
9025 #ListDownloadableSaveDataBackupInfoAsyncForDebug
9026 #DownloadSaveDataBackupAsyncForDebug

VerifySaveDataBackupLicenseAsync

Takes a total of 0x10-bytes of input, returns an output #IAsyncResult.

UpdateSaveDataBackupInfoCacheAsync

Takes a total of 0x10-bytes of input, returns an output #IAsyncResult.

DeleteSaveDataBackupAsync

Takes a total of 0x18-bytes of input, returns an output #IAsyncResult.

ListDownloadableSaveDataBackupInfoAsync

Takes a total of 0x18-bytes of input, a handle, returns an output #IAsyncListData.

DownloadSaveDataBackupAsync

Takes a total of 0x18-bytes of input, returns an output #IAsyncTransferRequest.

VerifySaveDataBackupLicenseAsyncForDebug

Same as #VerifySaveDataBackupLicenseAsync.

UpdateSaveDataBackupInfoCacheAsyncForDebug

Same as #UpdateSaveDataBackupInfoCacheAsync.

DeleteSaveDataBackupAsyncForDebug

Same as #DeleteSaveDataBackupAsync.

ListDownloadableSaveDataBackupInfoAsyncForDebug

Same as #ListDownloadableSaveDataBackupInfoAsync.

DownloadSaveDataBackupAsyncForDebug

Same as #DownloadSaveDataBackupAsync.

IAsyncListData

This is "nn::olsc::srv::IAsyncListData".

Cmd Name Notes
0 GetResult
1 Cancel
2 IsAvailable
3 GetSystemEvent
100 GetDataCount
101 GetData

IAsyncTransferRequest

This is "nn::olsc::srv::IAsyncTransferRequest".

Cmd Name
0 GetResult
1 Cancel
2 IsAvailable
3 GetSystemEvent
100 GetOperationProgressInfo