NIM services: Difference between revisions

SystemUpdateTask -> SystemUpdateTaskId
Line 224: Line 224:


== CreateSystemUpdateTask ==
== CreateSystemUpdateTask ==
Takes an input u32 firmware_variation, an u32 '''unk''', a [[NCM_services#ContentMetaKey|ContentMetaKey]], returns an output [[#SystemUpdateTask]].
Takes an input u32 firmware_variation, an u32 '''unk''', a [[NCM_services#ContentMetaKey|ContentMetaKey]], returns an output [[#SystemUpdateTaskId]].


Official sw sets '''unk''' to: <code>unk = inflag & 1 ? 0xC : 0x4</code>.
Official sw sets '''unk''' to: <code>unk = inflag & 1 ? 0xC : 0x4</code>.


== DestroySystemUpdateTask ==
== DestroySystemUpdateTask ==
Takes an input [[#SystemUpdateTask]], no output.
Takes an input [[#SystemUpdateTaskId]], no output.


== ListSystemUpdateTask ==
== ListSystemUpdateTask ==
Takes a type-0x6 output buffer, for an array of [[#SystemUpdateTask]]. Returns a s32 for total output entries.
Takes a type-0x6 output buffer, for an array of [[#SystemUpdateTaskId]]. Returns a s32 for total output entries.


== GetSystemUpdateTaskInfo ==
== GetSystemUpdateTaskInfo ==
Takes an input [[#SystemUpdateTask]], returns an output [[#SystemUpdateTaskInfo]].
Takes an input [[#SystemUpdateTaskId]], returns an output [[#SystemUpdateTaskInfo]].


== CommitSystemUpdateTask ==
== CommitSystemUpdateTask ==
Takes an input [[#SystemUpdateTask]], no output.
Takes an input [[#SystemUpdateTaskId]], no output.


== GetNetworkInstallTaskInfo ==
== GetNetworkInstallTaskInfo ==
Line 244: Line 244:


== GetDownloadedSystemDataPath ==
== GetDownloadedSystemDataPath ==
Takes an input u64 titleID, a [[#SystemUpdateTask]], and an type-0x16 output buffer containing the [[Filesystem_services|ContentPath]].
Takes an input u64 titleID, a [[#SystemUpdateTaskId]], and an type-0x16 output buffer containing the [[Filesystem_services|ContentPath]].


Gets the FS ContentPath for the specified task and title.
Gets the FS ContentPath for the specified task and title.


== IsExFatDriverIncluded ==
== IsExFatDriverIncluded ==
Takes an input [[#SystemUpdateTask]], returns an output u8 bool flag.
Takes an input [[#SystemUpdateTaskId]], returns an output u8 bool flag.


== GetApplyDeltaTaskInfo ==
== GetApplyDeltaTaskInfo ==
Line 382: Line 382:
This is the Send version of [[#Cmd71]].
This is the Send version of [[#Cmd71]].


== SystemUpdateTask ==
== SystemUpdateTaskId ==
This is a 0x10-byte struct.
This is an 0x10 byte struct containing an nn::util::Uuid.


== SystemUpdateTaskInfo ==
== SystemUpdateTaskInfo ==