Changes

Jump to navigation Jump to search
99 bytes added ,  20:04, 28 October 2019
no edit summary
== CreateSystemUpdateTask ==
Takes an input u32 firmware_variation, an u32 '''unk''', an input 0x10-byte structa [[NCM_services#ContentMetaKey|ContentMetaKey]], returns an output [[#SystemUpdateTask]].
Official sw sets '''unk''' to: <code>unk = inflag & 1 ? 0xC : 0x4</code>.
 
Structure of the input struct:
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x8 || Unknown
|-
| 0x8 || 0x4 || Unknown
|-
| 0xC || 0x1 || Unknown
|-
| 0xD || 0x1 || Unknown
|-
| 0xE || 0x2 || Padding?
|}
== DestroySystemUpdateTask ==
== Cmd69 ==
Takes an input u16 port, an u32 Ipv4Address, an u32 firmware_variation, an u32 '''unk''', a total of 0x20-byte of input[[NCM_services#ContentMetaKey|ContentMetaKey]], returns an output [[#ReceiveSystemUpdateTask]]. Official sw sets '''unk''' to: <code>unk = stateflag==0 ? 0x4 : 0xC</code>. The port/Ipv4Address params originate from the [[NS_Services#RequestReceiveSystemUpdate|RequestReceiveSystemUpdate]] params.
This is the Receive version of [[#CreateSystemUpdateTask]].

Navigation menu